-
Notifications
You must be signed in to change notification settings - Fork 28
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
Reformatted Changes file as per CPAN::Changes::Spec #4
base: master
Are you sure you want to change the base?
Conversation
Oh bugger, I hadn't noticed this was a Toolchain gang dist. Now you're going to tell me to apply it myself ... |
The diff is unreadable :(. No way to check that you didn't break the changelog. |
Fixing the changelog step by step with a diff (commit) for each release would be easier to check. |
Does this help: |
I think my "preferred style" as you describe it was just trying not to deviate too terribly from the past. I like the improvements, so +1 to apply from me. |
Thanks @dolmen: in doing that diff I spotted a typo I'd introduced in a version number, and one thing not lining up. |
On Thu, Sep 26, 2013 at 02:57:38PM -0700, Neil Bowers wrote:
Note that there's currently a pull request open to make metacpan parse changes If the reformatting produces genuinely improved readability, great. If it's Also note that reformatting historical changes will break every single sanely Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN |
shadowcat-mst [email protected] writes:
Is this discussion conducted in public?
Good point, that's also my concern. E.g. emacs "changelog" mode provides andreas |
@andk The discussion is spread. Here is a summary of the metacpan-side issues: metacpan/metacpan-web#948. My 2c: I personally concluded that in its current form CPAN::Changes::Spec is not something I am accepting patches for on my own projects. |
@andk: I'm writing a post for blogs.perl.org, maybe that can be a single place for discussion?
It's not. I came across that a good while after starting this. |
On Thu, Sep 26, 2013 at 11:17:22PM -0700, andk wrote:
For ::Changes I've been prodding bricas on #catalyst-dev since I'm trying Riba pointed out the metacpan issue already. Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN |
@neilbowers As clearly explained by @haarg in the linked metacpan issue - the spec does not really deal in any usable manner with nested changes spanning multiple lines. Also for those of us who release rarely and have large changelogs, the loss of information density and aestethic due to [whitespace enclosed ini-like headers] is a step back. |
@ribasushi: I'll read that more closely this evening. I've also been given a list of things to read by @daxim. I'm not a fan of the [ ... ] section headers myself, but used it on this Changes file to preserve Tim's original structure. |
This is turning into bikeshed painting. :-/ The minimal spec I think should be generally observed is this:
That's it! That is entirely sufficient to pick out the entry for a version. With that minimal spec, diffs are unnecessary, which then allows prior entries to be revised for omissions, errors, typos, whatever. Personally, I favor section headers. The longer the changelog, the more it needs sections. Information density is a problem, not a solution. Imagine if perldeltas had no sections. Horrors! The ultimate goal should be to maximize human readability. Clustering related changes, ordering by priority, etc. make it easier for people to find relevant sections and ignore others. But that's my view. As far as Neil's PR, it achieves my minimal spec of "version left then date on one line, everything else indented" and thus I favor applying it. |
I'll just note that the Changes file was standard emacs Changelog format (generated automatically with the |
I made a less drastic change in commit 1849862. I'll leave this PR open for someone to consider later -- if they rebase to master the diffs should be separated by version and more readable, at least. |
@neilb Is this still desirable? If not, can it be closed? |
Hi David,
I'll save you from my usual speil. I tried to make the format look like the most recent block, which I assume is your preferred style.
Neil