Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Replace #3220

Closed
raprasad opened this issue Jul 26, 2016 · 4 comments
Closed

File Replace #3220

raprasad opened this issue Jul 26, 2016 · 4 comments
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Feature: API Feature: File Upload & Handling Feature: Metadata Feature: Publishing & Versions Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner

Comments

@raprasad
Copy link
Contributor

raprasad commented Jul 26, 2016

To support Provenance, we need to add versioning/replace functionality for DataFile objects.

Basics:

  • User may replace an existing dataset file with a new one:
    • via UI
    • via API
  • File versions are tied to dataset versions

Technical notes:

Internal storage:

  • DataFile will have two extra fields:
    • Root DataFile id
    • Previous DataFile id
DataFile id Root DataFile ID Previous DataFile ID
1 1 null
5 1 1
7 1 5
35 1 7

Documentation/notes: https://drive.google.com/drive/u/0/folders/0B4VvItDJwfehQjQ0bkp1dl9vdWc

@raprasad raprasad added Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner Status: Dev Feature: Metadata Feature: API Feature: File Upload & Handling Component: Code Infrastructure formerly "Feature: Code Infrastructure" Feature: Publishing & Versions and removed Effort 2: Medium labels Jul 26, 2016
@djbrooke djbrooke added the ready label Jul 26, 2016
@djbrooke djbrooke added this to the 4.6 milestone Jul 26, 2016
@djbrooke
Copy link
Contributor

djbrooke commented Aug 5, 2016

Mockups

@djbrooke djbrooke changed the title file versioning/replace File Replace Aug 5, 2016
@djbrooke
Copy link
Contributor

djbrooke commented Aug 9, 2016

Moving to ready since mockups are available.

@djbrooke djbrooke added the ready label Aug 9, 2016
@mheppler
Copy link
Contributor

mheppler commented Sep 2, 2016

Duplicate of: Files: Ability to Replace a File Instead of Deleting #2290.

@djbrooke
Copy link
Contributor

djbrooke commented Sep 2, 2016

Closing in favor of #2290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Feature: API Feature: File Upload & Handling Feature: Metadata Feature: Publishing & Versions Type: Feature a feature request UX & UI: Design This issue needs input on the design of the UI and from the product owner
Projects
None yet
Development

No branches or pull requests

3 participants