Are Git & cardforge ready for a beta?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
25 posts
• Page 1 of 2 • 1, 2
Are Git & cardforge ready for a beta?
by Chris H. » 28 Jul 2011, 11:04
It looks like some of the devs have made the transition to Git. I know that we have been really busy with this part of the project.
If I do a Maven build... with the goal:
will this upload the two archives to cardforge? And if it does, what is the URL for the page with the file listings so that I can get the exact URL for the two archive files?
If I do a Maven build... with the goal:
- Code: Select all
-U -B clean -P osx,windows-linux install release:clean release:prepare release:perform
will this upload the two archives to cardforge? And if it does, what is the URL for the page with the file listings so that I can get the exact URL for the two archive files?
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by jendave » 29 Jul 2011, 03:55
Ack. it's not ready yet. I have not been able to work much on Forge in the lat couple of weeks. I hope to update the Maven pom.xml file and test it over the next few days.Chris H. wrote:It looks like some of the devs have made the transition to Git. I know that we have been really busy with this part of the project.
If I do a Maven build... with the goal:`
- Code: Select all
-U -B clean -P osx,windows-linux install release:clean release:prepare release:perform
will this upload the two archives to cardforge? And if it does, what is the URL for the page with the file listings so that I can get the exact URL for the two archive files?
Re: Are Git & cardforge ready for a beta?
by Chris H. » 29 Jul 2011, 10:29
`jendave wrote:Ack. it's not ready yet. I have not been able to work much on Forge in the lat couple of weeks. I hope to update the Maven pom.xml file and test it over the next few days.
I understand. I will use the goal -U -B clean -P osx,windows-linux install. I can then upload a new beta this weekend to MediaFire. We can do a beta or two this way while the rest of us wait on you and Rob to get the pom file and cardforge ready.
Real life matters come up at times. I think that most of the team has been successful in making the change over to Git.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by jendave » 01 Aug 2011, 16:47
Hi Chris - I finished up the Maven file changes. The normal "mvn -U -B clean -P osx,windows-linux install release:clean release:prepare release:perform" should now upload the packages to the cardforge.org ftp site. You will have to modify your ~/.m2/settings.xml file and put in:

- Code: Select all
<servers>
...
<server>
<id>forge-ftp-repository</id>
<username>releases@cardforge.org</username>
<password>your-password</password>
</server>
...
</servers>

Re: Are Git & cardforge ready for a beta?
by Chris H. » 01 Aug 2011, 16:58
`jendave wrote:Hi Chris - I finished up the Maven file changes. The normal "mvn -U -B clean -P osx,windows-linux install release:clean release:prepare release:perform" should now upload the packages to the cardforge.org ftp site. You will have to modify your ~/.m2/settings.xml file and put in:I have tried it with my own local ftp repo, but I have not tried it with the cardforge.org ftp yet. It should work though
- Code: Select all
<servers>
...
<server>
<id>forge-ftp-repository</id>
<username>releases@cardforge.org</username>
<password>your-password</password>
</server>
...
</servers>
Thank you Dave.
I found the settings file. Is the password the same password that I use for Gitorious?
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by jendave » 01 Aug 2011, 17:21
No, the user and password are specific to the cardforge.org ftp site. Ask Rob for access. He gave me the password for "releases@cardforge.org". I'd be more than happy to give it to you if he gives the go ahead.Chris H. wrote:`jendave wrote:Hi Chris - I finished up the Maven file changes. The normal "mvn -U -B clean -P osx,windows-linux install release:clean release:prepare release:perform" should now upload the packages to the cardforge.org ftp site. You will have to modify your ~/.m2/settings.xml file and put in:I have tried it with my own local ftp repo, but I have not tried it with the cardforge.org ftp yet. It should work though
- Code: Select all
<servers>
...
<server>
<id>forge-ftp-repository</id>
<username>releases@cardforge.org</username>
<password>your-password</password>
</server>
...
</servers>
Thank you Dave.
I found the settings file. Is the password the same password that I use for Gitorious?
Re: Are Git & cardforge ready for a beta?
by Chris H. » 01 Aug 2011, 17:31
`jendave wrote:No, the user and password are specific to the cardforge.org ftp site. Ask Rob for access. He gave me the password for "releases@cardforge.org". I'd be more than happy to give it to you if he gives the go ahead.
I thought about it over lunch and it dawned on me that this would be a password for cardforge.org instead. I can wait for a pm containing this info from Rob.
We released a new beta a couple of days ago so there is no rush.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by Rob Cashwalker » 01 Aug 2011, 18:10
Dave,
The username is locked to the releases folder, the only reason not to include it directly in the maven file is to prevent some random person from logging in and deleting/renaming the releases. Is there any way to prompt the user for that info? Otherwise, only you and chris would have it, unless someone else needs it in the future.
The username is locked to the releases folder, the only reason not to include it directly in the maven file is to prevent some random person from logging in and deleting/renaming the releases. Is there any way to prompt the user for that info? Otherwise, only you and chris would have it, unless someone else needs it in the future.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Are Git & cardforge ready for a beta?
by jendave » 01 Aug 2011, 18:50
Yes, Chris can enter it in on the command line. Note that the xml I posted is not meant for the Maven pom.xml file, it was meant for the private settings.xml file. Maven uses that file to store passwords and other private info. Chris can add the credentials to the settings.xml file and the Maven pom.xml will pick them up during the build.Rob Cashwalker wrote:Dave,
The username is locked to the releases folder, the only reason not to include it directly in the maven file is to prevent some random person from logging in and deleting/renaming the releases. Is there any way to prompt the user for that info? Otherwise, only you and chris would have it, unless someone else needs it in the future.
Re: Are Git & cardforge ready for a beta?
by jendave » 01 Aug 2011, 18:59
Regarding the Maven "site" that is genereated during a Maven build (the one with all the pmd, checkstyle, test coverage reports)- is there any preference/ideas on where to host that? I had it uploaded to the googleCode SVN before.
Last edited by jendave on 01 Aug 2011, 19:23, edited 1 time in total.
Re: Are Git & cardforge ready for a beta?
by Chris H. » 01 Aug 2011, 19:04
Using the Run -> Run As -> Maven build... menu command will allow anyone to enter a goal into the goal textbox. In this case the goal would be:
As Dave states, the username and password can be entered into the hidden settings.xml file. This shortens the goal somewhat.
I agree that it is nice to have a couple of people set up to release a beta as no-one can promise tomorrow to the project. Touchy subject, I know... so we will leave it at that.
Rob, where do I go at cardforge.org to find and copy the URLs for the beta archives?
- Code: Select all
mvn -U -B clean -P osx,windows-linux install release:clean release:prepare release:perform -Dusername=releases@cardforge.org -Dpassword=cardforge.orgPassword
As Dave states, the username and password can be entered into the hidden settings.xml file. This shortens the goal somewhat.
I agree that it is nice to have a couple of people set up to release a beta as no-one can promise tomorrow to the project. Touchy subject, I know... so we will leave it at that.

Rob, where do I go at cardforge.org to find and copy the URLs for the beta archives?
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by Rob Cashwalker » 01 Aug 2011, 23:37
Chris,
http://cardforge.org/releases/{filename}
The directory is not indexed for the public, you just have to take it on faith that the URL will match what was uploaded.
Dave,
Make a site folder under releases.
http://cardforge.org/releases/{filename}
The directory is not indexed for the public, you just have to take it on faith that the URL will match what was uploaded.
Dave,
Make a site folder under releases.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Are Git & cardforge ready for a beta?
by Chris H. » 02 Aug 2011, 00:18
`Rob Cashwalker wrote:Chris,
http://cardforge.org/releases/{filename}
The directory is not indexed for the public, you just have to take it on faith that the URL will match what was uploaded.
Dave,
Make a site folder under releases.
I might try a build and release in a few days just to get some practice and to make sure that it is working for me.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Are Git & cardforge ready for a beta?
by Braids » 02 Aug 2011, 01:18
i'd like to push Mantis 88 http://www.cardforge.org/bugz/view.php?id=88 first, although it may go out with an odd or hilarious German version. i thought about babelfishing the whole text, but i got some extra help from a non-native speaker. i asked for someone fluent in the main Forge forum.Chris H. wrote:I might try a build and release in a few days just to get some practice and to make sure that it is working for me.
do any of the developers speak fluent German?
also, could we use two digits for the third version number? e.g., 1.1.02 instead of 1.1.2.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Pushed fix for Mantis 88.
by Braids » 02 Aug 2011, 02:07
i pushed a fix for Mantis 88. the german text update can wait; i wrote a child issue for that.
i'd say we're clear for another beta.
i'd say we're clear for another beta.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
25 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 22 guests