-
Notifications
You must be signed in to change notification settings - Fork 4
Add more Author tags for consistent formatting #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8562362
to
190a4a3
Compare
190a4a3
to
b111991
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 🗒️🎶
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I just have a couple of thoughts:
- It would be better to write the authorship as yaml (see suggestion on Moder Kista as example)
- README needs to be updated to match the new format
37f13b4
to
9d5b9a2
Compare
9d5b9a2
to
dce10bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
* Add more author metadata tags and update songs with new layout * Add test for invalid author fields * Update README with new author metadata tags * Bump version to 2.0.0
Adding a new
Author
type with name, event, location, year and a comment in order to format all author tags the same way. The new type gets formatted into the following formatName (Event, Location, Year - Comment)
and saved to the existing author tag for the song when building the songs.I did not implement separate first, last and nicknames as well as the program as I felt it was enough to write that in the name field to not make the
Author
type too complex to fill.As this is a breaking change for song format, the version gets bumped to 2.0.0. However, the output from songs.json/xml will still be the same and is backwards compatible with the old format, so songbooks that use them will not have to update anything.
When going through the songs and updating to the new layout, I also updated the missing author information for some songs.
Resolves #9