[jbosstools-issues] [JBoss JIRA] (JBIDE-13671) Replace build timestamp in qualifier by last-mod-timestamp from git

Nick Boldt (JIRA) issues at jboss.org
Wed Jun 29 12:26:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-13671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258757#comment-13258757 ] 

Nick Boldt edited comment on JBIDE-13671 at 6/29/16 12:25 PM:
--------------------------------------------------------------

More screenshots showing what happens after we move to jgit:

* 3 different plugin timestamps, which match up with when those plugins were last edited in github:
!server-before-after-jgit-3-different-timestamps.png|thumbnail!

* 4 different feature timestamps, which match up with when those features or their contained plugins were last edited in github:
!server-before-after-jgit-4-different-timestamps-features.png|thumbnail!

* showing a local dirty change to as.core plugin:
!server-before-after-jgit-dirty-workspace-upversioned-plugin-with-change.png|thumbnail!

* showing the features that contain the local dirty workspace change to as.core:
!server-before-after-jgit-dirty-workspace-upversioned-features.png|thumbnail!



was (Author: nickboldt):
More screenshots showing what happens after we move to jgit:

!server-before-after-jgit-3-different-timestamps.png|thumbnail!

!server-before-after-jgit-4-different-timestamps-features.png|thumbnail!

!server-before-after-jgit-dirty-workspace-upversioned-features.png|thumbnail!

!server-before-after-jgit-dirty-workspace-upversioned-plugin-with-change.png|thumbnail!



> Replace build timestamp in qualifier by last-mod-timestamp from git
> -------------------------------------------------------------------
>
>                 Key: JBIDE-13671
>                 URL: https://issues.jboss.org/browse/JBIDE-13671
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: build
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Optional
>             Fix For: 4.4.1.AM1
>
>         Attachments: arq-dirty-workspace-compare1.png, arq-dirty-workspace-compare2.png, arq-dirty-workspace-compare3-bigger-change.png, arq-dirty-workspace-compare4-bigger-change.png, base-before-after-jgit.png, jbide13671-before-and-after.png, server-before-after-jgit-3-different-timestamps.png, server-before-after-jgit-4-different-timestamps-features.png, server-before-after-jgit-dirty-workspace-upversioned-features.png, server-before-after-jgit-dirty-workspace-upversioned-plugin-with-change.png
>
>
> This needs to be added to master parent pom:
> {code}
>        <plugin>
>           <groupId>org.eclipse.tycho</groupId>
>           <artifactId>tycho-packaging-plugin</artifactId>
>           <version>${tycho.version}</version>
>           <dependencies>
>             <dependency>
>               <groupId>org.eclipse.tycho.extras</groupId>
>               <artifactId>tycho-buildtimestamp-jgit</artifactId>
>               <version>${tycho-extras.version}</version>
>             </dependency>
>           </dependencies>
>           <configuration>
>             <strictBinIncludes>false</strictBinIncludes>
>             <format>'v'yyyyMMdd-HHmm</format>
>             <timestampProvider>jgit</timestampProvider>
>             <jgit.ignore>
>             </jgit.ignore>
>           </configuration>
>         </plugin>
> {code}
> Ref: http://pweclipse.blogspot.ch/2012_09_01_archive.html



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list