Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Storing a build number in Git repository

Have you looked into tags or 'git notes' (see http://jk.gs/git-notes.html)?

Le Mon Aug 04 2014 at 4:38:44 PM, Jason van Zyl <jason@xxxxxxxxx> a écrit :
Hi,

Is there be a safe, atomic, way to store a build number in a Git repository using JGit? Let's assume the Git repository in question is canonical and there is a corresponding canonical build server. I would like to remove any reliance on an external systems, would prefer not to store the build number in a file that users can see, and prefer not to pollute the repository with log entries corresponding to modifying the build number. If a build succeeded I would like to do something akin to amend the commit that built where I stuff the build number somewhere I can retrieve, except I don't want to actually amend the commit message.

Maybe this is simply inappropriate to do, but wanted to see if anyone has any thoughts.

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/takari_io
---------------------------------------------------------

Simplex sigillum veri. (Simplicity is the seal of truth.)









_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jgit-dev

Back to the top