bitprophet / releases

A powerful Sphinx changelog-generating extension.
http://releases.readthedocs.io/
BSD 2-Clause "Simplified" License
176 stars 41 forks source link

"Delayed bugfix" ordering problem #16

Closed bitprophet closed 10 years ago

bitprophet commented 10 years ago

Ran into this error output in Fabric, e.g. this changelog (n.b. probably was an issue before then but that link is at time of debugging).

Seems to be the following:

How to interpret this?

How to solve it?

bitprophet commented 10 years ago

Well, teasing things out seems to have worked, except there's another case hiding after it:

This seems to expose another unforeseen problem w/ 'unreleased' releases, which is: should they contain bugs/etc which have never been released, or ones which haven't been released everywhere they're slated to be?

The former feels more intuitive and correct to me; the latter isn't terrifically useful unless you're in that (usually small or nonexistent) temporal window between two/more releases both containing the same bugfix, and you are concerned about knowing if the bug in question is actually going to come out in the latter release (e.g. you see it in 1.1.3 but want to know if it'll still appear in 1.2.1 too).

What this means is...probably just to skip over this error (i.e. "remove() only if item is in the list"). Which also means I could probably have just done that in the first place. Will look at real output of the new split unreleased stuff and see if it feels worth keeping in, otherwise will revert earlier fix too.

bitprophet commented 10 years ago

Looks OK, leaving new changes in, and fixed this 2nd case.