Skip to content

Conversation

fghalasz
Copy link
Member

@fghalasz fghalasz commented Aug 10, 2025

This PR implements the following:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Fixed Issue#2063 - typo in medley man page.

  6. In loadup script, --help (-h) command line argument has been added as a synonym for --man (-z).

  7. 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.

  8. The man pages for the medley and loadup scripts have been updated accordingly.

  9. Fixed Issue#2251: LOADUPSDIRECTORIES in Medley now set correctly when using a tagged loadup.

…ability to delete tagged branches as well as thin them.
… argument to --tag (-tg). Correspondingly changed the MEDLEYDIR/loadups/branches directory to be MEDLEYDIR/loadups/tagged. Separately, added a + parameter to the --thinw and --thinl command line arguments which causes ALL files to be deleted, not just the versioned files. Added a --thin command line argument that is equivalent to --thinw followed by --thinl. Updated the man page to reflect all these changes.
@fghalasz fghalasz self-assigned this Aug 10, 2025
@fghalasz fghalasz added the enhancement New feature or request label Aug 10, 2025
@pamoroso
Copy link
Contributor

I checked out this PR on Linux Mint 22.1 Cinnamon. It doesn't break my build process and I haven't noticed anything unusual.

…n both loadup and medley scripts added an optional parameter (+) to the --man (z) command line argument that when specified will display the man page without paging - i.e., sets the pager to cat.
Copy link
Contributor

@pamoroso pamoroso left a comment

Choose a reason for hiding this comment

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

I built this PR on Linux Mint 22.1 Cinnamon and I'm not noticing anything unusual.

Copy link
Member

@masinter masinter left a comment

Choose a reason for hiding this comment

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

as per 8/20/25 meeting

@masinter masinter merged commit 1968021 into master Aug 20, 2025
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
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants