Revisit CHANGELOG
Some checks are pending
portzap / shellcheck (push) Waiting to run

This commit is contained in:
0x1eef 2024-09-14 07:02:25 -03:00
parent 51f4d64ad7
commit f48671403c

View file

@ -1,45 +1,40 @@
# -*- mode: org -*- # -*- mode: org -*-
* vNEXT ** vNEXT
**** Log when ~portzap rm~ completes successfully **** Log when ~portzap rm~ completes successfully
Similar to other commands, log when the ~portzap rm~ command Similar to other commands, log when the ~portzap rm~ command
completes successfully completes successfully
**** Format log messages with program name **** Format log messages with program name
This change formats log messages written to standard output Formats log messages written to standard output
and standard error with the pattern ~portzap: <message>~ and standard error with the pattern ~portzap: <message>~
**** Fix typo in ~commands/portzap-setup~ **** Fix typo in ~commands/portzap-setup~
This change fixes a typo that would throw an error when Fix a typo that would throw an error when running the
running the ~portzap setup~ command ~portzap setup~ command
**** Replace chmod with -M switch **** Replace chmod with -M switch
This change replaces chmod with the -M switch. The -M switch Replace chmod with the -M switch. The -M switch is given to
is given to the ~pw useradd~ command in the ~setup-user~ the ~pw useradd~ command in the ~setup-user~ script
script
* v1.2.0 **** Format log messages with program name
Format log messages written to standard output and standard error
with the pattern ~portzap: <message>~
**** Change default clone url **** Replace chmod with -M switch
After this change, the default clone URL points at Replace chmod with the -M switch. The -M switch is given to the
the GitHub mirror: https://github.com/hardenedbsd/ports ~pw useradd~ command in the ~setup-user~ script
This change was made because clone and pull operations ** v1.2.0
from ~git.hardenedbsd.org~ are not always stable, especially
with big repositories like the ports collection
The default can be changed through the environment variable
~$PORTZAP_CLONEURL~, or by modifying the ~origin~ remote
after a successful clone
**** Fix ~libexec/portzap/scripts/setup-doas~ bug **** Fix ~libexec/portzap/scripts/setup-doas~ bug
This change fixes a bug in ~setup-doas~ that could hang Fix a bug in ~setup-doas~ that could hang the ~portzap setup~
the ~portzap setup~ command command
**** Collapse ~libexec/portzap/scripts~ **** Collapse ~libexec/portzap/scripts~
This change does not try to organize script directories that Stop trying to organize script directories that go beyond
go beyond ~libexec/portzap/scripts~ ~libexec/portzap/scripts~
**** Add ~libexec/portzap/scripts/setup~ **** Add ~libexec/portzap/scripts/setup~
This new directory replaces what was formerly known This new directory replaces what was formerly known
@ -49,41 +44,54 @@ as ~libexec/portzap/setup~
This new directory replaces what was formerly known This new directory replaces what was formerly known
as ~libexec/portzap/utils~ as ~libexec/portzap/utils~
* v1.1.0 ** v1.1.0
**** Add ~libexec/portzap/utils/get-umask~ **** Add 'libexec/portzap/utils/get-umask'
Add a single source of truth for the mask given to umask Add a single source of truth for the mask given to umask
by git and portzap-install by git and portzap-install
**** Break up ~portzap-install~ into multiple files **** Break up ~portzap-install~ into multiple files
~libexec/portzap/utils/install/~ contains files that cover both A new directory (~libexec/portzap/utils/install/~) contains
a fresh install and applying an update files that cover both a fresh install and applying an update
**** Add ~setup/setup-doas~ improvements **** Add ~setup/setup-doas~ improvements
More likely to do what's expected, but blind spots still exist More likely to do what's expected, but blind spots still exist
**** Add ~portzap setup~, ~portzap teardown~ **** Add ~portzap setup~, ~portzap teardown~
Replaces and enhances 'setup-portzap' Replace and enhance ~setup-portzap~
**** Add ~libexec/portzap/commands/portzap-sh~ **** Add ~libexec/portzap/commands/portzap-sh~
Runs ~/bin/sh~ within ~/home/_portzap/ports~ as the ~_portzap~ user A new command that can run ~/bin/sh~ within ~/home/_portzap/src/~
as the ~_portzap~ user
* v1.0.0 ** v1.0.0
**** Add ~libexec/portzap/setup/setup-user~ **** Add libexec/portzap/setup/setup-user
~setup-user~ sets up the ~portzap~ user and environment ~setup-user~ sets up the portzap user environment
**** Recover from ~git checkout~ failure
Recover gracefully from failure in portzap-clone
** v0.2.1
**** Fix Makefile
The mandoc directory wasn't created properly. It only
became obvious when building the port into a temporary
staging directory
** v0.2.0
**** Remove git-diff limit **** Remove git-diff limit
Remove file rename limit from git-diff Remove file rename limit from git-diff
**** Replace ~utils/gitexec~ with ~utils/git/run~ **** Replace utils/gitexec with utils/git/run
Communicate with git via ~utils/git/run~ Communicate with git via utils/git/run
**** Add ~utils/git~ **** Add utils/git
A dedicated directory for git-related scripts A dedicated directory for git-related scripts
**** Remove ~set -x~ **** Remove "set -x"
Emit less output Emit less output
**** Remove scripts **** Remove scripts
Remove ~utils/printok~, ~utils/printerr~, ~utils/git-rev~ Remove utils/printok, utils/printerr, utils/git-rev