aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Use placeholder instead of an exhaustive listing in the synopsisWynn Wolf Arbor2020-05-13-1/+1
|
* Simplify handling of default actionsWynn Wolf Arbor2020-05-13-4/+2
| | | | | | | Instead of using a catchall pattern for `case`, assign a default value to the variable in question. This helps reduce the amount of special cases - especially considering the addition of better error reporting in an upcoming commit.
* Only shift positional parameters if there are anyWynn Wolf Arbor2020-05-13-2/+1
| | | | | | | | | | | | | | bash 5.0 now enables its 'shift_verbose' option in POSIX mode by default, printing an error message if there's not enough positional arguments for the `shift` builtin. We rely on the previous (silent) behaviour in two places. For main command parsing, introduce an explicit check before invoking `shift` to make sure it is only called if there are enough positional arguments. The call to `shift` in the list() method is actually superfluous, as no more than one positional argument is ever referenced; we drop it fully there.
* Use Op Ar macros instead of manual formattingWynn Wolf Arbor2020-05-03-2/+2
|
* Add EXAMPLES section to the manual1.1.2Wynn Wolf Arbor2020-02-04-0/+63
|
* Use Pa instead of generic Em in the manualWynn Wolf Arbor2020-02-04-1/+1
|
* Improve the SYNOPSIS section in the manual1.1.1Wynn Wolf Arbor2020-01-21-2/+13
|
* Make list_active more robustWynn Wolf Arbor2020-01-21-5/+6
| | | | | | | | | | | | | | | | | | A couple of small changes to this function should make it more robust in the long run: 1) We no longer filter the symlinks with find(1), instead combining filtering and substituting in sed(1) 2) We use the absolute path (as given by readlink -f) such that we can anchor the regular expression pattern to avoid unwanted substitution. 3) Instead of hard-coding paths we now use STOW_DIR (and STOW_DIR/.. for the target directory) 4) To avoid unnecessary complexity, we no longer let the user override STOW_DIR. This tool is supposed to be used with the canonical /etc/portage/stow location
* Fix manual section number for stow1.1.0Wynn Wolf Arbor2020-01-20-3/+3
| | | | | I am unsure whether this is consistent across distributions, but for me stow appears in Section 8 - User Contributed Perl Documentation.
* Have rebuild accept one or more rolesWynn Wolf Arbor2020-01-20-5/+11
| | | | | This lets the user rebuild (or restow) specific roles and will fix a certain issue with stow refusing to unstow everything.
* Make shellcheck happyWynn Wolf Arbor2020-01-20-1/+1
| | | | | I would not expect this to ever fail, but quoting the specific invocation of id -u here silences the only shellcheck warning.
* Simplify invocation of stowWynn Wolf Arbor2020-01-20-8/+6
| | | | | | | Instead of hard-coding the stow invocation (which also had a quoting issue), just export the STOW_DIR environment variable which stow uses already. TARGET can be dropped because it is implicitly defined to be the parent directory of STOW_DIR.
* Update name and mail address1.0.1Wynn Wolf Arbor2020-01-17-2/+2
|
* Update manual to match program behaviourWynn Wolf Arbor2020-01-17-5/+5
| | | | | It has always been possible to add or remove multiple roles at once, and this is now reflected in the manual.
* Fix a typo in the manual pageWolfgang Müller2019-07-27-1/+1
|
* Rename to "bosun"1.0.0Wolfgang Müller2019-06-19-6/+6
|
* Add licenseWolfgang Müller2019-02-24-0/+13
|
* Initial commit0.1.0Wolfgang Müller2019-02-24-0/+154