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

Enhancement: Write listing of .ZIP file in METADATA folder #196

Open
astrochun opened this issue Apr 19, 2021 · 0 comments
Open

Enhancement: Write listing of .ZIP file in METADATA folder #196

astrochun opened this issue Apr 19, 2021 · 0 comments
Labels
curation Pertains to aspects of curation, including workflow management enhancement New feature or request p2 Tier-2 issues that require addressing but not iminent preservation Related to data preservation
Milestone

Comments

@astrochun
Copy link
Contributor

Summary

Figshare does not always provide a full list of .zip file. It would be beneficial on the curation side if we do write an ASCII file containing the contents and time stamps and file sizes.

Objectives

  1. A .txt file written to METADATA with the filename (e.g., data.zip) and indication that this was the submitted version

Proposal

  1. Create a function/module that takes in a .ZIP file and reads the content with zipfile library
  2. Then write the content to file
  3. In the retrieve sub-module, use str.endswith to check content

Testing notes

Additional notes

Implemented in: TBD

@astrochun astrochun added curation Pertains to aspects of curation, including workflow management enhancement New feature or request p1 Issues affecting production, multiple users preservation Related to data preservation labels Apr 19, 2021
@astrochun astrochun added this to the v1.1.0 milestone Apr 19, 2021
@astrochun astrochun self-assigned this Apr 19, 2021
@astrochun astrochun changed the title Feature: Write listing of .ZIP file in METADATA folder Enhancement: Write listing of .ZIP file in METADATA folder Apr 19, 2021
@astrochun astrochun modified the milestones: v1.1.0, v1.2.0 Jun 10, 2021
@astrochun astrochun added p2 Tier-2 issues that require addressing but not iminent and removed p1 Issues affecting production, multiple users labels Jul 6, 2021
@astrochun astrochun removed their assignment Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
curation Pertains to aspects of curation, including workflow management enhancement New feature or request p2 Tier-2 issues that require addressing but not iminent preservation Related to data preservation
Projects
None yet
Development

No branches or pull requests

1 participant