Skip to contentSkip to conversation

ETA for release of gjit 0.4?

DISCUSSION Farrukh Najmi 4 participants 12 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Dear colleagues,

I am using jgit in my maven project. Since current version is a SNAPSHOT (0.4-SNAPSHOT) I cannot release my project with a SNAPSHOT dependency (maven does not allow it). WHat is the time line for releasing version 0.4 of jgit so I can plan accordingly. Thanks for any info.

Signature · 4 lines
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com
#1 lore raw

fredag 05 december 2008 15:34:36 skrev Farrukh Najmi:

Quoted 8 lines

Dear colleagues,

I am using jgit in my maven project. Since current version is a SNAPSHOT (0.4-SNAPSHOT) I cannot release my project with a SNAPSHOT dependency (maven does not allow it). WHat is the time line for releasing version 0.4 of jgit so I can plan accordingly.
Thanks for any info.

What? Plan? :)

You could name the version something else like 0.3.1.42b27c

It was a long time since we labeled anything. Shawn, how about merging my recent close-file-patches, reverting 3ffa47d9294086fbd1cdeb9b1564f922a23e3c6f and e7307f14c531d52cf231c39d844841c4adaf5e5a and then just call i 0.4 ?

-- robin

# from my pu branch, the latest Tentative build in the update site. Works quite well for
me. Refactoring and 
$ git log --pretty=oneline origin/master..pu
2aafc054446f9b3aecdc01687a6949e4c54be6eb Revert "Rewrite GitMoveDeleteHook to use DirCacheBuilder"
439277860e1e315b7f0cd339b2435cc8311956c1 Revert "Teach GitMoveDeleteHook how to move a folder recursively"
abc44bc6efa47c4c6e3c23f85fe9de9cd8460224 Improve closing of files in error situations.
22e2808ac2915446ed81115b663c684341ce6bdd Close a forgotten reference to the HEAD ref.
#2 lore raw
Quoted 3 lines · Robin Rosenberg

It was a long time since we labeled anything. Shawn, how about merging my recent close-file-patches, reverting 3ffa47d9294086fbd1cdeb9b1564f922a23e3c6f and e7307f14c531d52cf231c39d844841c4adaf5e5a and then just call i 0.4 ?

OK. I'm not a big fan of reverting code, but I see more value in doing it and getting a "more stable" 0.4 out. So I'll do these reverts and make the 0.4 tag this morning.

Signature · 1 line
Shawn.
#3 lore raw
Quoted 8 lines · Shawn O. Pearce
Quoted 3 lines · Robin Rosenberg

It was a long time since we labeled anything. Shawn, how about merging my recent close-file-patches, reverting 3ffa47d9294086fbd1cdeb9b1564f922a23e3c6f and e7307f14c531d52cf231c39d844841c4adaf5e5a and then just call i 0.4 ?

OK. I'm not a big fan of reverting code, but I see more value in doing it and getting a "more stable" 0.4 out. So I'll do these reverts and make the 0.4 tag this morning.

Err, uhm. I don't have access to my signing key from work. I'll sign it tonight.

Signature · 1 line
Shawn.
#4 lore raw
In reply to Robin Rosenberg
Quoted 10 lines · Robin Rosenberg

fredag 05 december 2008 15:34:36 skrev Farrukh Najmi:

Quoted 5 lines

Dear colleagues,

I am using jgit in my maven project. Since current version is a SNAPSHOT (0.4-SNAPSHOT) I cannot release my project with a SNAPSHOT dependency (maven does not allow it). WHat is the time line for releasing version 0.4 of jgit so I can plan accordingly. Thanks for any info.

What? Plan? :)

:-)

Quoted 3 lines

You could name the version something else like 0.3.1.42b27c

I could but maven (and good project release) practices are that a project's release version should be managed by the project and not consumers of the project.

BTW, If there is interest in maveninzing the project I can offer to contribute that change to the project. Just let me know if that is something the project wishes to do.

Maven offers many benefits to projects as described in links below. It takes a little getting used to for project dev team but its not bad. It does not impact consumers of projects negatively in any way.

Background blog:
<http://farrukhnajmi.blogspot.com/2008/02/why-maven-rocks-in-beginning-there-was.html>

More useful link:
<http://ebxmlrr.wiki.sourceforge.net/whymaven>

Thanks for a great project.

Quoted 14 lines

It was a long time since we labeled anything. Shawn, how about merging my recent close-file-patches, reverting 3ffa47d9294086fbd1cdeb9b1564f922a23e3c6f and e7307f14c531d52cf231c39d844841c4adaf5e5a and then just call i 0.4 ?

-- robin

# from my pu branch, the latest Tentative build in the update site. Works quite well for
me. Refactoring and $ git log --pretty=oneline origin/master..pu
2aafc054446f9b3aecdc01687a6949e4c54be6eb Revert "Rewrite GitMoveDeleteHook to use DirCacheBuilder"
439277860e1e315b7f0cd339b2435cc8311956c1 Revert "Teach GitMoveDeleteHook how to move a folder recursively"
abc44bc6efa47c4c6e3c23f85fe9de9cd8460224 Improve closing of files in error situations.
22e2808ac2915446ed81115b663c684341ce6bdd Close a forgotten reference to the HEAD ref.
Signature · 4 lines
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com
#5 lore raw
Quoted 8 lines · Farrukh Najmi

I could but maven (and good project release) practices are that a project's release version should be managed by the project and not consumers of the project.

BTW, If there is interest in maveninzing the project I can offer to contribute that change to the project. Just let me know if that is something the project wishes to do.

Have you seen the jgit-maven subdirectory? It has a jgit/pom.xml contributed by Imran M Yousuf for exactly this reason. I think we also have a Maven distribution site:

http://code.google.com/p/egit/wiki/ConfiguringMaven

The issue is getting one of the developers to tag and upload a build. Myself, I don't actually use Maven, so I don't build with it.

Signature · 1 line
Shawn.
#6 lore raw
Quoted 4 lines · Shawn O. Pearce
Quoted 2 lines · Farrukh Najmi

I could but maven (and good project release) practices are that a project's release version should be managed by the project and not consumers of the project.

Quoted 9 lines
Quoted 2 lines

BTW, If there is interest in maveninzing the project I can offer to contribute that change to the project. Just let me know if that is something the project wishes to do.

Have you seen the jgit-maven subdirectory? It has a jgit/pom.xml contributed by Imran M Yousuf for exactly this reason. I think we also have a Maven distribution site:

http://code.google.com/p/egit/wiki/ConfiguringMaven

That work is commendable but it a workaround to adding maven packaging to a build and release process that is essentially not maven. This provides an important value that maven users such as myself get access to jgit via a maven repo. However, it does not help improve how the project manages its build and release processes.

Quoted 3 lines

The issue is getting one of the developers to tag and upload a build. Myself, I don't actually use Maven, so I don't build with it.

A completely maven based project would make above really simple and easy to manage using the maven-release-plugin and various other maven facilities. Changing version labels throughout code base, committing modified code, tagging, packaging, uploading etc. would all become automatic with a completely maven based code base. Maven seems like it is too complex and not worth the trouble in first glance (I felt that way at one point). However, a more careful examination reveals that it brings a lot of automated discipline, convenience and simplicity to numerous project tasks. Perhaps Imran and others could chime in on this issue to help make the case for mavenizing the project more completely.

Again, I have made my case for maven previously in the following links:

Background blog:
<http://farrukhnajmi.blogspot.com/2008/02/why-maven-rocks-in-beginning-there-was.html>

More useful link:
<http://ebxmlrr.wiki.sourceforge.net/whymaven>

Thanks for your consideration of the suggestion.

Signature · 4 lines
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com
#7 lore raw

Hi Shawn,

I was wondering if there are any updates on my question on whether we can have a 0.4 release of jgit (no SNAPSHOT). I am ready to release my software but maven wont let me release it because its dependency jgit is a SNAPSHOT release.

As I recall you had planned to release 0.4 and make it available on the maven repo at:

<http://egit.googlecode.com/svn/maven/snapshot-repository/org/spearce/jgit>

I do not see it there yet. Any chance of getting that today? Thanks.

Signature · 4 lines
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com
#8 lore raw

måndag 15 december 2008 23:52:43 skrev Farrukh Najmi:

Quoted 8 lines

Hi Shawn,

I was wondering if there are any updates on my question on whether we can have a 0.4 release of jgit (no SNAPSHOT).
I am ready to release my software but maven wont let me release it because its dependency jgit is a SNAPSHOT release.

Quoted 6 lines

As I recall you had planned to release 0.4 and make it available on the maven repo at:

<http://egit.googlecode.com/svn/maven/snapshot-repository/org/spearce/jgit>

I do not see it there yet. Any chance of getting that today? Thanks.

I cannot deploy it seems (I get a 401 or dav not supported), but since we have a tagged v0.4.0 commit you have a handle to make your own local deployment. It is at least defined what commit the v0.4.0 is. You'll need to modify the pom.xml to make it name the jars properly,

jgit-maven/jgit/pom.xml +1 -1
index c370783..467e620 100644
@@ -39,7 +39,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     <groupId>org.spearce</groupId>
     <artifactId>jgit</artifactId>
     <packaging>jar</packaging>
-    <version>0.4-SNAPSHOT</version>
+    <version>0.4.0</version>
     <name>jgit</name>
     <url>http://repo.or.cz/w/egit.git</url>
     <mailingLists>

-- robin

#9 lore raw
In reply to Farrukh Najmi

Jonas, could you help us on this:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://egit.googlecode.com/svn/maven/snapshot-repository//org/spearce/jgit/0.4.0/jgit-0.4.0.jar. Return code is: 401

I added this (nah, naming it release-repository didn't work either)

<repository>
<id>jgit-maven-release-repository</id>
<name>JGit Maven Release Repository</name> <url>https://egit.googlecode.com/svn/maven/snapshot-repository/</url> <uniqueVersion>true</uniqueVersion>
</repository>

(tried all combinations of dav/not-dav, http/https). Seems I don't have a dav provider, but https should work, right?

and to ~/.m2/settings.xml

<servers>
<server>
<id>jgit-maven-snapshot-repository</id> <username>tried both my project email and gmail email</username> <password>nah, won't show you</password>
</server>
</servers>

-- robin

måndag 15 december 2008 23:52:43 skrev Farrukh Najmi:

Quoted 15 lines

Hi Shawn,

I was wondering if there are any updates on my question on whether we can have a 0.4 release of jgit (no SNAPSHOT).
I am ready to release my software but maven wont let me release it because its dependency jgit is a SNAPSHOT release.

As I recall you had planned to release 0.4 and make it available on the maven repo at:

<http://egit.googlecode.com/svn/maven/snapshot-repository/org/spearce/jgit>

I do not see it there yet. Any chance of getting that today? Thanks.

#10 lore raw

tisdag 16 december 2008 05:17:33 skrev Robin Rosenberg:

Quoted 5 lines

and to ~/.m2/settings.xml

<servers>
<server>
<id>jgit-maven-snapshot-repository</id>

tried <id>jgit-maven-release-repository</id> too ;/

-- robin

#11 lore raw
In reply to Robin Rosenberg

Robin Rosenberg <[email protected]> wrote Tue, Dec 16, 2008:

Quoted 1 line

Jonas, could you help us on this:

Sorry for the long delay. I completely overlooked this. In case it is still relevant ...

Quoted 5 lines

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file: http://egit.googlecode.com/svn/maven/snapshot-repository//org/spearce/jgit/0.4.0/jgit-0.4.0.jar. Return code is: 401

Quoted 8 lines

I added this (nah, naming it release-repository didn't work either)

<repository>
<id>jgit-maven-release-repository</id>
<name>JGit Maven Release Repository</name> <url>https://egit.googlecode.com/svn/maven/snapshot-repository/</url> <uniqueVersion>true</uniqueVersion>
</repository>

This will end up mixing snapshots and releases ...

Quoted 2 lines

(tried all combinations of dav/not-dav, http/https). Seems I don't have a dav provider, but https should work, right?

Well, I don't know, but I would expect the "dav:" to be required. I used the Google Maven Repository pom.xml[0] as a template, which should give something like:

<repository>
<id>jgit-maven-repository</id>
<name>JGit Maven Repository</name> <url>dav:https://egit.googlecode.com/svn/maven/repository/</url>
</repository>

[0] http://google-maven-repository.googlecode.com/svn/snapshot-repository/com/google/google/1-SNAPSHOT/google-1-20080826.150842-5.pom

Quoted 9 lines

and to ~/.m2/settings.xml

<servers>
<server>
<id>jgit-maven-snapshot-repository</id> <username>tried both my project email and gmail email</username> <password>nah, won't show you</password>
</server>
</servers>

Try:

<servers>
<server>
<id>jgit-maven-repository</id> <username>robin.rosenberg</username>
<password>Password from http://code.google.com/hosting/settings</password>
</server>
</servers>

Hope this helps.

Signature · 1 line
Jonas Fonseca