Skip to content

Conversation

astrochun
Copy link
Contributor

@astrochun astrochun commented Jun 22, 2021

Description

This directly fixes the need to use zero padding on folder name (e.g., "v01")

Closes #224

Test plan

  • Retrieve data with get_data
  • Move folder with move_next, move_back and move_publish

Update Changelog

  • CHANGELOG.md updated for unreleased changes

Resources

To update existing files using old schema for version:

ls -d /mnt/block1_sfo2/curation/*/*/v? | awk '{printf("mv %s ", $0); sub(/\/v/,"\/v0"); print}' | sh

@astrochun astrochun added this to the v1.2.0 milestone Jun 22, 2021
@astrochun astrochun added curation Pertains to aspects of curation, including workflow management enhancement New feature or request preservation Related to data preservation labels Jun 22, 2021
@astrochun astrochun self-assigned this Jun 22, 2021
@astrochun astrochun requested a review from zoidy June 22, 2021 20:40
Copy link
Contributor Author

@astrochun astrochun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good and passed end-to-end curation testing. No need to bump version for deployment (manually deploy with git.

Note that after deployment the existing folders will need to be renamed otherwise any move_* will fail.

@zoidy
Copy link
Collaborator

zoidy commented Jun 28, 2021

Note that after deployment the existing folders will need to be renamed otherwise any move_* will fail.

This is an important thing to highlight in the help message on curation1. Unless everything will be renamed prior to deployment

@astrochun
Copy link
Contributor Author

astrochun commented Jun 28, 2021

Note that after deployment the existing folders will need to be renamed otherwise any move_* will fail.

This is an important thing to highlight in the help message on curation1. Unless everything will be renamed prior to deployment

This is a one-time change so it doesn't need to be highlight in help message. Quite simply there will be no impact to move_* commands as every folder will be consistent. This is simply a note to run the above awk command during the deployment stage.

@astrochun astrochun merged commit 7edebeb into master Jun 29, 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 preservation Related to data preservation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Double digit for version
2 participants