diff options
author | merakor <cem@ckyln.com> | 2021-11-03 14:37:22 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-11-03 14:37:22 +0000 |
commit | 841a3de0d010fd51770de5adad9ad252729601cd (patch) | |
tree | ac9e4228c460bb467ae9d05e891e5f78b4689601 | |
parent | 8ee7bc5d4e647baaac8182278e789a5d844d3db9 (diff) | |
download | cpt-841a3de0d010fd51770de5adad9ad252729601cd.tar.gz |
CHANGELOG: update
FossilOrigin-Name: 585ee692852942989e06764a854a71f6a95636cb29887988c30c9e525be19ac5
-rw-r--r-- | CHANGELOG.md | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3922eaa..f5bb9e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,37 @@ this project _somewhat_ adheres to [Semantic Versioning]. [Semantic Versioning]: https://semver.org/spec/v2.0.0.html +[UNRELEASED] +-------------------------------------------------------------------------------- + +### Configuration Directory +- In order to simplify file locations and messing up the `/etc` directory, CPT + now uses the `/etc/cpt` directory for reading related files. The location of + your system configuration directory is defined by the `--sysconfdir` flag in + the `./configure` script, it uses `/etc` if the prefix is `/usr`. +- Since the location of the configuration can differ between installations, + `$cpt_confdir` variable can be used in programs using `cpt-lib` to get the + user's configuration directory. +- This change currently doesn't break `cpt-base`, but you are advised to + rename your configuration files. +- `/etc/cpt-base` is renamed to `/etc/cpt/base` (considering `$cpt_confdir` is + `/etc/cpt`) + +### Changes on hook behaviour +- `/etc/cpt-hook` will no longer be used. +- User hooks (as defined by `$CPT_HOOK` will be run regardless of the hook type. + I have realised that overriding user hooks on some operations was a mistake. + If the users already have the privilege to install packages, they should also + be able to run hooks without an interruption of the package manager. +- Even though `/etc/cpt-hook` file is removed, a collection of systemwide hooks + can be added to the `/etc/cpt/hooks`directory. Any file in this directory will + be sourced by the package manager when running hooks. User hooks are run + _after_ systemwide hooks are run. + + + [6.2.1] - 2021-09-20 ---------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- ### Fixed - `cpt-fork` follows symbolic links when forking packages. @@ -19,7 +48,7 @@ this project _somewhat_ adheres to [Semantic Versioning]. [6.2.0] - 2021-08-14 ---------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- ### BLAKE3 checksums |