-
Notifications
You must be signed in to change notification settings - Fork 4
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
changelog.yaml getting screwed up #41
Comments
Hey @gardar, I just released antsichaut 0.3.8 on Pypi: https://github.com/ansible-community/antsichaut/releases/tag/0.3.8
If there are no changes detected, it should look like this:
This should be fixed by 3a29d64
This too is fixed in 0.3.8, by PR https://github.com/ansible-community/antsichaut/pull/35/files Can you test please with the latest release? |
Excellent, first impressions of |
From time to time this keeps happening, haven't been able to figure out exactly why or under what condition. Here is a commit where my changelog.yaml got screwed up: prometheus-community/ansible@a3aaf70#diff-badba4dd47cd1a24e2765eb5c5f420a529872e06a0ce09251c35ea2cb5b4ebd9 Curiously on the commit before that, the empty |
Ran into a issue where
changelog.yaml
got screwed up somehow.I'm not sure what exactly caused it, but it seems like it's somehow related to when the collection got moved from a single-digit minor edition to a double-digit one (from version
0.9.0
to0.10.0
).I noticed that the last change to the changelog that happened prior to the indent getting screwed up was that version 0.10.0 got added to the changelog but it is missing the
changes
key.Looking through the history of the file I see that for other versions the
changes
key is always added when a new version is added to the changelog, such as:At the same time where the changelog.yaml indent got screwed up it also added a new section for version 0.10.1 which is missing the
changes
key.It also looks like the sorting does not understand the semantic versioning fully as versions
0.10.0
and0.10.1
are inserted between the last0.1.x
version and first0.2.x
version and not after version0.9.x
as you'd expect.I manually fixed the indent but since the
changes
key is missing for those versionsantsibull-changelog
fails to process the changelog.Here's the commit where the indent got screwed up: prometheus-community/ansible@e0697b4
Here's the commit where version 0.10.0 was added: prometheus-community/ansible@2fb25ec
The indenting issue has happened before: prometheus-community/ansible@766f0d7 but it got fixed on the next run, however the broken version sections is not something I've seen before.
The text was updated successfully, but these errors were encountered: