Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-14779

make last Git commit ID available in Firefly build

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Firefly
    • Labels:
    • Story Points:
      2
    • Epic Link:
    • Sprint:
      SUIT Sprint 2018-06, SUIT Sprint 2018-07
    • Team:
      Science User Interface

      Description

      As we have more projects using Firefly at different stages of its development, it is necessary for project to know which version of Firefly it is using.  Git commit ID uniquely identifies the point of the build. 

      • provide an API call to get the commit ID string
      • display the commit ID as part of the build information
        • dev currently: "v1.0.0_Development-0 Built On:Sat Jun 09 18:05:11 PDT 2018"
        • IRSA ops: v3.0.0_Final-2629 Built On:Tue May 15 16:07:17 PDT 2018

      We may want more discussion on how/where to display this in operations. 

      Implemented as the following:

      Show a detail view of the version info when the shorten version is clicked.

      • click on the version info on the lower-right corner to see the details

      Exposes the same information via the JS API as well as from Java server-side environment.

      • In JS, open a demo page, open console. In console, enter > window.firefly.util.getVersion()

        Attachments

          Activity

          Hide
          ejoliet Emmanuel Joliet added a comment -

          Can i suggest to have a gradle task to output the version? Also it would be great to have it from java/js so from CLI i can do firefly.version() in any environment.

          Show
          ejoliet Emmanuel Joliet added a comment - Can i suggest to have a gradle task to output the version? Also it would be great to have it from java/js so from CLI i can do firefly.version() in any environment.

            People

            Assignee:
            loi Loi Ly
            Reporter:
            xiuqin Xiuqin Wu [X] (Inactive)
            Reviewers:
            Emmanuel Joliet
            Watchers:
            Emmanuel Joliet, Gregory Dubois-Felsmann, Trey Roby, Vandana Desai, Xiuqin Wu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.