bemoji/test
Marty Oehme 8beb28b2b9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
🦊 BREAKING: Use new XDG Base specification for state (#5)
Switched the history from using the XDG_CACHE_HOME directory by default
to use XDG_STATE_HOME by default.

This makes sense since cache can (and should be prepared to) be wiped at
any moment and the program functionality should not be hindered by this.
Since we need to retain history through such wipes the newly introduced
state directory is the perfect match for keeping the history file in.

This does constitute a breaking change for existing histories which need
to be moved to the new directory if they made use of the old cache
directory.

Concurrent with this we are renaming `XDG_CACHE_LOCATION` environment
variable to `XDG_HISTORY_LOCATION` so this is a second breaking change
for those using a custom location for their histories.

This change attempts to make the naming scheme coherent and remove some
left-over naming cruft from the old location being the cache directory.

This provides one of the larger changes to the program so far.

Fixes #5.
2022-11-03 15:40:47 +01:00
..
bats@26c9b18983 🧪 Add simple test framework 2022-06-29 12:35:52 +02:00
resources 🧪 Set up default emoji list for tests 2022-06-29 12:37:13 +02:00
test_helper 🧪 Add simple test framework 2022-06-29 12:35:52 +02:00
bemoji_cmds.bats 🦊 BREAKING: Use new XDG Base specification for state (#5) 2022-11-03 15:40:47 +01:00
bemoji_directories.bats 🦊 BREAKING: Use new XDG Base specification for state (#5) 2022-11-03 15:40:47 +01:00