Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] EGit PDE - help with EGit/JGit

re: http://dev.eclipse.org/mhonarc/lists/egit-dev/msg01597.html

As part of bug 328745 [1] I have a skeletal version of the Map file
release tool.  I'd like to provide the minimum functionality that we
need to update the tag in the map files only for projects that have
changed since the last map tag.  If anyone with JGit or EGit
experience could provide snippets to implement the following
functionality, it would be appreciated.  From the bug:

1) find the git repo for an IProject

2) git tag $BUILD_TAG :tag the repo with the tag

3) git rev-list HEAD -- <project> :to get the last commit that effected that
project

4) git tag --contains $LAST_COMMIT :to get the list of tags that contain the
commit

5) git log  ${LATEST_SUBMISSION}..${BUILD_TAG} :so I can scan for bug numbers
for the build notes.


[1]  Bug 328745 -  Need an equivalent releng tool for git
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328745

Thanx,
PW

-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR


Back to the top