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

Add check to (Posix)Datastore that prevents silent overwrite

    XMLWordPrintable

    Details

      Description

      A Datastore.put should raise when the file already exists (perhaps adding an option to force it).

        Attachments

          Activity

          No builds found.
          pschella Pim Schellart [X] (Inactive) created issue -
          pschella Pim Schellart [X] (Inactive) made changes -
          Field Original Value New Value
          Risk Score 0
          swinbank John Swinbank made changes -
          Team Data Release Production [ 10301 ]
          tjenness Tim Jenness made changes -
          Team Data Release Production [ 10301 ] Architecture [ 10304 ]
          Hide
          tjenness Tim Jenness added a comment -

          I now complain if the output file exists. Also added a test for that and some flake8 cleanups.

          Show
          tjenness Tim Jenness added a comment - I now complain if the output file exists. Also added a test for that and some flake8 cleanups.
          tjenness Tim Jenness made changes -
          Reviewers Jim Bosch [ jbosch ]
          Status To Do [ 10001 ] In Review [ 10004 ]
          tjenness Tim Jenness made changes -
          Epic Link DM-16576 [ 234914 ]
          tjenness Tim Jenness made changes -
          Sprint Arch 2019-02-11 [ 862 ]
          Story Points 1
          Watchers Jim Bosch, Pim Schellart [X], Tim Jenness [ Jim Bosch, Pim Schellart [X], Tim Jenness ] Jim Bosch, Tim Jenness [ Jim Bosch, Tim Jenness ]
          Hide
          jbosch Jim Bosch added a comment -

          Looks good.  One small follow-up from that Slack conversation about the bad docs.

          Show
          jbosch Jim Bosch added a comment - Looks good.  One small follow-up from that Slack conversation about the bad docs.
          jbosch Jim Bosch made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          tjenness Tim Jenness made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]
          tjenness Tim Jenness made changes -
          Component/s daf_butler [ 11300 ]

            People

            Assignee:
            tjenness Tim Jenness
            Reporter:
            pschella Pim Schellart [X] (Inactive)
            Reviewers:
            Jim Bosch
            Watchers:
            Jim Bosch, Tim Jenness
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                CI Builds

                No builds found.