[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] offtopic: integrating jgit into tycho build timestamp generation logic
- From: Igor Fedorenko <ifedorenko@xxxxxxxxxxxx>
- Date: Fri, 01 Jun 2012 06:37:13 -0400
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
Yes, it is for committed files only, at least for now.
I need timestamp of the most recent that touches files under project
basedir and skip commits that touch files in other projects only. I also
need to be able to ignore certain files even if they are committed. Is
there a way to do this without walking everything?
I plan to warn or fail the build if there uncommitted or unstaged
changes, but I want to get basic functionality working first.
On 12-06-01 3:06 AM, Alex Blewitt wrote:
Is this for committed files only? If you don't need to track
uncommitted files then simply look at the time stamp of the commit at
the head of the tree instead of walking everything.
Sent from my iPhone 4S >
On 1 Jun 2012, at 04:08, Igor Fedorenko<ifedorenko@xxxxxxxxxxxx> wrote:
I apoligise for an offtopic post, but I wonder if somebody with jgit
experience can review/comment on my (most likely clumsy and broken) take
on integrating jgit into tycho build timestamp generation logic .
There is rather lengthy discussion of what this code is expected to do
in CBI bugzilla , but in short, the goal is to retrieve timestampt of
the most recent commit that leads to the current HEAD and touches one or
more files under project basedir. Thank you in advance.
jgit-dev mailing list