-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: taxonomy patch instead of re-generating (#554)
The goal is to be able to patch taxonomy text files instead of re-generating them completely. This will avoid having a lot of changes that are not related to the real modifications made by a contributor. For this we need to * add a "modified" property to entries (to track modified entries) * a parent id change marks an entry as changed (as we need to regenerate it in the file to have parent id right) * track lines location of entries (to know where to change the original file) * keep removed entries (because we need to remove them from the original file) by prefixing their type label by REMOVED (REMOVED_ENTRY for example) * added integration tests * new entries are put next to their parents or at the end of the file Relates to: #541 and #366
- Loading branch information
Showing
24 changed files
with
1,447 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.