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

Command line option for skipping part of the script #1

Open
hiker opened this issue Nov 25, 2024 · 1 comment
Open

Command line option for skipping part of the script #1

hiker opened this issue Nov 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hiker
Copy link
Collaborator

hiker commented Nov 25, 2024

During debugging, I often don't need to do a checkout of dependencies (um, ukca, ...), or run the configurator again. I typically comment out these calls then.

It would be convenient if we had a command line option(s) to:

  • skip any git/svn/fcm checkout
  • configurator (ok, I wrote: "and maybe even file find" - that's stupid, file_find fills the artefact store :) )
@hiker
Copy link
Collaborator Author

hiker commented Dec 17, 2024

Additional suggestion: maybe the directories in which some dependencies are checked out could get a 'version' number. E.g. instead of checking out to science/jules, we would check out to science/jules-29007. This way we could handle this much better:
if the directory already exists, don't clone. If a directory with a different version exists, we could:

  • abort with a warning (leaving it to the user to remove it) or
  • even remove it (though one could argue about potential risks if a script recursively deletes files - any bug could seriously affect a user)
  • Maybe automatically ignore this directory in Fab (with a specific user warning)?

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

No branches or pull requests

1 participant