Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Reproducible Version Qualifiers with only using the git info



On Wed, Apr 21, 2021 at 9:29 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
"Version qualifier is calculated based on timestamp of the most recent
commit that touches any file under project base directory"

so project basedir = "bundle" and not "git-tree"?

 > But it would still be possible to build such a strategy

would I need a new one or could the jgit be configured to behave that
way?

You should already be able to use the jgit timastamp provider without using baseline.
 
So do I can assume that this might be uncommon but working use-case or
will it break something?

Yes, it's a working use-case.

... I think that would be a really cool feature to have such
"incremental-build" support in tycho :-)

I don't think it fits the Maven/Tycho layer and their related build model, it's more operating a build strategy, a bit higher-level than just a build tool.

one problem I have stumpled in the past was that the features don't get
rebuild (as there is no change from maven POV). I don't know if this is
just unsupprted or I just configured something wrong.

It's a bit tricky: feature qualifier do depend on the change in the feature folder and on content of the feature. Features sometimes require to be "touched" manually for version changes to cascade into them.
For your case, since building features is usually very cheap, you may want to try first filtering out only untouched bundles but keep building all features anyway.

Back to the top