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
  • From: "Keppler Michael (ETAS/ESW-CI)" <Michael.Keppler@xxxxxxxx>
  • Date: Wed, 21 Apr 2021 16:02:55 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) smtp.rcpttodomain=willink.me.uk smtp.mailfrom=etas.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=etas.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mGFwKcy0yLVspcNXM0orts0qAimI86aPK36Fomb6388=; b=XA/DxoP97EZNFaExEkFQZFXB7oGfnsvog4BcaesvqRHYLeaM+/aPEtXYhQRdKRYHdI+fEoXxrBPXVKY004Q+OdqZZIYoEZfpjxVEh0v7kTJPTSd6pbxwSWg7NoTPV1FeCGZ0X5YBWbXcd6RujvLStjeERYtWCzEnJ2EYUfr3+ItLuFYsD1w3g+VUSig4nVJ3uM4drZxfnE3OQAgK9pkMcxFNCOVJqUnVo+OHlWPoPXQEyIv7/WoBY6ByHpCwE8GneXTDVP/G/NzhEWkTdC0EoFe5xyzEXyA1RenI1RBqGzyMos1rKal0Y212fxZf9qjEIk3AsToq0GTMYShRQdVaiQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bedAOYhrXWVPp8B2lw2hLlyL9qo8cAP049hR1GAHqwFbbbpOimDK1mbVNZiEiwwnwPYt2Ukpz2YwX0Vk6DJOOuJKFz6x4ufdt/aS7a482Pu4QetezH5QBOhromyibzta02mlzWDlalsAxy9enG+RxSGTuX4FZwWShzrxLAuxE48ykXra6DtQy5YXPgZiau+78q/2DTxixvHqqD6ql5WNdWCtsbiybtQ8RqClgrfauqJSvyYj7J/lVj0Uuo3bsx6fjwB/BNWWtQ64u5AQJyU04wMYN30gqjb2IU+gXTfdMYFHq47dH5c4zu5LrQZ7Nc+Npc8eYdGS64C8ICjU5D3IEg==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user/>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXNnmqEeSRngC35U6ICrcAPAVyLKq+a1cAgAAFzwCAAAc8gIAAU2iAgAAGYwCAAAqtgIAAQy/w
  • Thread-topic: [tycho-user] Reproducible Version Qualifiers with only using the git info

To me that bug is indeed wrong: The git timestamp is perfectly fine under the condition that you version control _everything needed_ for the build. In the projects I maintain every target platform is fully version controlled (that is, each used artifact and version is listed). There can't be such a thing as an xtext update without my .target file changing and therefore the git timestamp updating (unless Xtext would re-publish changed artifacts with the same qualifier, which is another no-go). I can only imagine your problem to come from a target definition that simply relies on p2 repo URLs without containing specific IUs and versions.

On 21/04/2021 14:14, Christoph Läubrich wrote:
> Hi Ed,
>
> even though I don't understand the whole story/problem in deep I'm in 
> the comfortable situation that I control the whole build/deploy cycle 
> and so some things are might be more relaxed for my case.
>
> Anyways if you feel something is missing for jgit-timestamp or not 
> working as exspected, it would be good to open an issue here
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2Feclipse%2Ftycho%2Fissues&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038595106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=57D9T5033QNPko9RBj2pmLW1Qoobuh6eUXbXOx3neFo%3D&amp;reserved=0 so people can get aware of it an maybe enhance.
>
> As I'll give git-timestmaps a try I even will improve things here 
> myself if I get aware of them.
>
> Am 21.04.21 um 14:52 schrieb Ed Willink:
>> Hi
>>
>> The jgit timestamp provider is an attractive replacement for the 
>> Buckminster reference repo and I adopted it for the OCL builds and 
>> encouraged UML2 to adopt it too.
>>
>> However if you read through
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbug
>> s.eclipse.org%2Fbugs%2Fshow_bug.cgi%3Fid%3D529933&amp;data=04%7C01%7C
>> michael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51
>> e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038595106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=bUGK%2FhlW1Hxt9gvbmQFjHJF3clHRr4ovrqg5yL9CJ9k%3D&amp;reserved=0 you will see my initial enthusiasm for the jgit timestamp provider turn into a realisation that it is unsound in general. But if you have special constraints it may nonetheless be ok for you.
>>
>> My builds now always churn qualifiers.
>>
>>      Regards
>>
>>          Ed Willink
>>
>> On 21/04/2021 08:53, Mickael Istria wrote:
>>>
>>>
>>> On Wed, Apr 21, 2021 at 9:29 AM Christoph Läubrich 
>>> <laeubi@xxxxxxxxxxxxxx <mailto: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.
>>>
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> To unsubscribe from this list,
>>> visithttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F
>>> %2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C0
>>> 1%7Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C
>>> 0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038595106%7CUnkn
>>> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
>>> wiLCJXVCI6Mn0%3D%7C1000&amp;sdata=x8BB0yRfqMGAL4eOdI6E%2FuXlVpAktqHZ
>>> O3SdHCZptoM%3D&amp;reserved=0
>>
>> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fww
>> w.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26ut
>> m_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7
>> Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae5
>> 1e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038595106%7CUnknown%7
>> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX
>> VCI6Mn0%3D%7C1000&amp;sdata=%2BgmB5bOuJ0liz2AesGITMK2Tw%2F4SCqeDmEYZc
>> S9mJ%2Fw%3D&amp;reserved=0>
>>     Virus-free. 
>> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
>> avast.com%2F&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C31758b29
>> ff974260bb2008d904ccd3f9%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7
>> C637546100038605061%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
>> joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=bh9xHgbIsR
>> u%2BgYoawgoCwB9i8XOZPlnERIzDCewf9F8%3D&amp;reserved=0
>> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fww
>> w.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26ut
>> m_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7
>> Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae5
>> 1e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038605061%7CUnknown%7
>> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX
>> VCI6Mn0%3D%7C1000&amp;sdata=Pi4Vs%2BByk1fjhJdUmFiSrzfZJA5BeSPU70rFQxN
>> zdVY%3D&amp;reserved=0>
>>
>>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> To unsubscribe from this list, visit
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
>> .eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmic
>> hael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51e19
>> 07c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038605061%7CUnknown%7CTWF
>> pbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6
>> Mn0%3D%7C1000&amp;sdata=DBVM%2Fis6Gql3Vxx%2Bm3mUGZFhmPEYOTTUC2egvjRmc
>> 5Y%3D&amp;reserved=0
>>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmicha
> el.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51e1907c
> 84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038605061%7CUnknown%7CTWFpbGZ
> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> D%7C1000&amp;sdata=DBVM%2Fis6Gql3Vxx%2Bm3mUGZFhmPEYOTTUC2egvjRmc5Y%3D&
> amp;reserved=0

--
This email has been checked for viruses by Avast antivirus software.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avast.com%2Fantivirus&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038605061%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=iX1ofDcSpPEByBs6ZtaXhlr%2Fw72O2m8bBPg3V9oPXDs%3D&amp;reserved=0

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&amp;data=04%7C01%7Cmichael.keppler%40etas.com%7C31758b29ff974260bb2008d904ccd3f9%7C0ae51e1907c84e4bbb6d648ee58410f4%7C0%7C0%7C637546100038605061%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DBVM%2Fis6Gql3Vxx%2Bm3mUGZFhmPEYOTTUC2egvjRmc5Y%3D&amp;reserved=0

Back to the top