Compare commits

..

8 commits

Author SHA1 Message Date
3d008bd390 update-tags-encoding: escape '/' and ',' in tags 2025-07-26 14:12:24 -06:00
01ef8679b4 Issue::commit_tags(): write new-style escaped tags 2025-07-26 14:12:24 -06:00
9db4e6bef8 add some tags with escapes to the tests 2025-07-26 14:12:24 -06:00
ee269e212e refactor Issue::read_tags() to handle escaping 2025-07-26 14:12:24 -06:00
7ed14ede16 update test/0000 tags 2025-07-26 14:12:24 -06:00
a6cc8b6086 add a tool to migrate tags from files to dirs 2025-07-26 14:12:16 -06:00
0d440fdd11 Issue::read_tags(): tags is now a directory with a file per tag
This is more conflict resistant than the old encoding where tags was a
file with a line per tag.

This commit only handles the "fs/db => Issue" direction.
2025-07-26 14:04:02 -06:00
seb
a37b4cc72b Merge pull request 'fix test dirs' (#35) from fix-test-dirs into main
Reviewed-on: #35
2025-07-26 10:44:34 -06:00

View file

@ -1,7 +1,12 @@
#!/bin/bash
#
# Check out the `entomologist-data` branch in a temporary worktree.
# For each issue with a `tags` file, replace the old-style tags file with a new-style tags dir.
# Check out the specified branch (or `entomologist-data` if not specified)
# in a temporary worktree.
#
# For each issue with a `tags` file:
#
# replace the old-style tags file with a new-style tags dir
#
# git commit
set -e