Page 1 of 2

Are Git & cardforge ready for a beta?

PostPosted: 28 Jul 2011, 11:04
by Chris H.
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?

PostPosted: 29 Jul 2011, 03:55
by jendave
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?
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 29 Jul 2011, 10:29
by Chris H.
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. :D

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 16:47
by jendave
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>
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 :-)

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 16:58
by Chris H.
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:
Code: Select all
    <servers>
...
        <server>
            <id>forge-ftp-repository</id>
            <username>releases@cardforge.org</username>
            <password>your-password</password>
        </server>
...
    </servers>
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 :-)
`
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?

PostPosted: 01 Aug 2011, 17:21
by jendave
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:
Code: Select all
    <servers>
...
        <server>
            <id>forge-ftp-repository</id>
            <username>releases@cardforge.org</username>
            <password>your-password</password>
        </server>
...
    </servers>
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 :-)
`
Thank you Dave.

I found the settings file. Is the password the same password that I use for Gitorious?
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 17:31
by Chris H.
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 18:10
by Rob Cashwalker
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?

PostPosted: 01 Aug 2011, 18:50
by jendave
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.
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 18:59
by jendave
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 19:04
by Chris H.
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:

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?

Re: Are Git & cardforge ready for a beta?

PostPosted: 01 Aug 2011, 23:37
by Rob Cashwalker
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 02 Aug 2011, 00:18
by Chris H.
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.

Re: Are Git & cardforge ready for a beta?

PostPosted: 02 Aug 2011, 01:18
by Braids
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.
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.

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.

Pushed fix for Mantis 88.

PostPosted: 02 Aug 2011, 02:07
by Braids
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.