No description
Find a file
2024-11-08 15:53:53 +01:00
.gitignore Initial commit 2024-10-27 22:13:10 +01:00
README.md Update readme 2024-11-08 15:53:53 +01:00
tagmerger Changes 2024-11-08 15:45:14 +01:00
tags-test Add README 2024-10-29 14:20:41 +01:00

Tagmerger

A small tool to help merging a messy set of tags into a new, hopefully cleaner set.

Very much work in progress, and best effort.

Tags are exported in a yaml file. Each key corresponds to a tag in the messy set, and contains a list of tags of the new set to which this tag should be merged.

Usage

To start merging a set, with a file containing one tag per line:

tagmerger --export-to <output yaml file> --plain-input <your input file>

Start merging with the clunky interface :p When you are bored, hit ^C. The merge progress have been saved to the specified yaml file.

To resume the merge:

tagmerger --export-to <output yaml file> <input yaml file>

Caveats

Very much work in progress. The interface is very verbose and quite impractical, but it can still help a bit merging large sets where it is not feasable to keep all tags in human memory.

One of the main issues is that there is no way to revert a merge from the interface. If you accidently made a bad merge, stop tagmerger, open the yaml output file, fix the merge manually, and resume the merge with the yaml file as input.

I think a more graphical interface would make all this much easier...