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

--clobber-versions fails when files are not checked into git

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: base
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      There's code to ensure that consistent versions of pipelines are used, but it fails when you have code that isn't fixed into git.

      The problem is that in packages.py the non-git code is fingerprinted using e.g.

      git --no-pager --git-dir=/Users/rhl/LSST/display/matplotlib/.git --work-tree=/Users/rhl/LSST/display/matplotlib diff --patch

      and that includes lines like

      < — /var/folders/l9/yttb8nyx1kq23llj2hny2yhw0000gq/T//VY36bc_display_matplotlib.ipynb  2018-05-04 17:04:31.472292

      with a date stamp.  We need to trim them out before calculating their SHA1

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhl Robert Lupton
                Watchers:
                Robert Lupton
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel