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

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

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: base
    • Labels:
      None
    • 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

          Activity

          Hide
          rhl Robert Lupton added a comment -

          This ticket is wrong.  The timestamps are a problem, but they are being generated by jupyter, so there's nothing we can do about this except be cleverer about the way that we diff notebooks, and I think that's a different ticket.

           

          Show
          rhl Robert Lupton added a comment - This ticket is wrong.  The timestamps are a problem, but they are being generated by jupyter, so there's nothing we can do about this except be cleverer about the way that we diff notebooks, and I think that's a different ticket.  

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.