-
Notifications
You must be signed in to change notification settings - Fork 85
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 order in tar-ball from shed_upload #159
Comments
Reading over Plan B would be sorting by name - sorting the top level is easy but does not alter the order of files in sub-folders, which is down to how
|
Yes - in order to allow all of the shed operations to uniformly reason about things and to allow multiple repositories to be mapped from a single |
Wildcards (and thus what happens to be on disk, and in what order) introduces another level of unpredictability. So yes, for repeat-ibility and consistency there is a lot to be said for always sorting by name rather than by input order. |
Do you want to commit your patch above then? Happy to do it myself if you don't mind loosing commit author. |
OK, will do - but this only does a top level sort so I'll leave this issue open. |
See GitHub issue #159. For reproducibility it would be nice to have all the files in the tar-ball sorted by name, rather than by the order on disk in the temporary folder being compressed. That will require reworking the recursion as well.
@peterjc Awesome - thanks. |
See GitHub issue galaxyproject#159. Note this does not explicitly handle directories, thus any empty directory would be missing from the tar-ball.
I know the order does not matter by the time the tar-ball is pushed to the Tool Shed, but for local checks it would be nice if the
.shed.yml
ordering given in theinclude
directives was preserved.e.g.
This gave the following:
The text was updated successfully, but these errors were encountered: