Update loadup and medley scripts to use "tag" instead of "branch"; add ability to completely delete tagged loadups rather than just thin them #2249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements the following:
In loadups and medley scripts the term "branch" is replaced by the term "tag". The new flags are "--tag" and "-tg". Under the loadups directory, tagged loadups are now kept in MEDLEYDIR/loadups/tagged (as opposed to MEDLEYDIR/loadups/branches). A symlink from "branches" to "tagged" is automatically created for backward compatibility.
The --thinw argument to the loadup script now has an optional "+" parameter. Without the "+", the versioned files in the working directory (usually called loadups/build or loadups/tagged/TAG/build) are deleted. With the "+", all files in the working directory as well as the working directory itself are deleted.
The --thinl argument to the loadup script now has an optional "+" parameter that work similarly to the that of the --thinw argument. Note that --thinl does not delete any files in the working directory, just at the top level of the loadups directory. If there is no working directory under the loadups directory (and the loadup is tagged), then the entire tagged loadup is deleted.
There is a new --thin (-th) argument to the loadup scripts, which is equivalent to --thinw followed by --thinl. If the "+" parameter is used with --thin and the loadup is tagged, then the entire tagged loadup (including the MEDLEYDIR/loadups/tagged/TAG directory) will be deleted.
Fixed Issue#2063 - typo in medley man page.
In loadup script, --help (-h) command line argument has been added as a synonym for --man (-z).
In both medley and loadup scripts, --man (-z) now accepts an optional parameter (+) which causes the man page to be displayed without a pager (or more precisely, with the pager set to cat). This allows you to use your terminal's scrolling for moving back and forth in the man page instead of the arcane commands in less or more or whatever pager is the default on your system.
The man pages for the medley and loadup scripts have been updated accordingly.
Fixed Issue#2251: LOADUPSDIRECTORIES in Medley now set correctly when using a tagged loadup.