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

[ENH] design babs-unzip #3

Open
zhao-cy opened this issue Jun 28, 2022 · 3 comments · May be fixed by #75
Open

[ENH] design babs-unzip #3

zhao-cy opened this issue Jun 28, 2022 · 3 comments · May be fixed by #75

Comments

@zhao-cy
Copy link
Collaborator

zhao-cy commented Jun 28, 2022

Goal of this program: customized unzipping: unzips results zip files and extracts files users desire. (added on 7/10/2023)

(edited) Note on 6/28/2022: To discuss with Matt, Syndey, and Tinashe the scenarios we wanted to support.

e.g., 6/28/22 slack rbc: between Sydney and Tinashe.

@zhao-cy
Copy link
Collaborator Author

zhao-cy commented Jan 19, 2023

Per @mattcieslak on 1/19/23 in slack, to add an enhancement in the YAML file: add section "merge-conflict-files":

  • it contains a list of globs that match files that would cause a merge conflict.
  • then in the zip.sh script, instead of zipping the entire results it removes each of the glob patterns and commits the files directly

@zhao-cy
Copy link
Collaborator Author

zhao-cy commented Jan 19, 2023

In addition, try adding --squash when merging (i.e., squash merges).

@zhao-cy
Copy link
Collaborator Author

zhao-cy commented Jan 19, 2023

What does babs-unzip do? Per Matt (1/19/23, slack): if babs does zip the outputs and we want to distribute the unzipped contents. one way to do this is to run ANOTHER bootstrap where the zipped dataset is the input and the files are unzipped into the output ria.

Examples of unzipping: Sydney 1/19/23 in slack: Sydney has got a bunch of examples of unzip bootstraps on GitHub in the cubic bootstrap repo. I need to make changes to be compatible with multi-session data

Further idea: not to zip the outputs at all?

Revisit the optimal way of doing babs-unzip with Matt and Sydney once we're there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant