-
Notifications
You must be signed in to change notification settings - Fork 192
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
Remove Changelog page #67
base: master
Are you sure you want to change the base?
Conversation
As discussed in PR 65, the changelog page is not actively maintained and is out of date/out of sync with the actual changes which have been made, so we may as well remove it.
Since the changelog is out of sync/date and this PR proposes removing the changelog page altogether, does the lack of stated changes before and/or after mean the repo fails to meet GPLv2 for stating changes? Does the commit history count? |
I'm not a lawyer, but yeah, I think it should count 😏 That said, the changelog is published on w.org, so once merged we would need to delete this page from the site: https://developer.wordpress.org/coding-standards/changelog/ I hadn't previously considered that we would also be deleting a published page, so might need to think about this some more.... |
Out of curiosity, what do you think about automating the generation and update of LATEST=$(git log -n 20 --pretty="- %cd %s" --date=format:"%b %d %Y")
OLDER="[View the full commit history](https://github.com/WordPress/wpcs-docs/commits/master)"
printf "# Changelog\n## Latest changes\n$LATEST\n## Older changes\n$OLDER" > changelog.md
git add changelog.md Which looks like this. |
@costdev I appreciate the suggestion. Just looked at the output, but IMO that doesn't make for a very descriptive changelog and without links to the relevant PRs, IMO it's just as bad as the current one. |
Adding a descriptive commit subject line when committing directly to the main branch or when merging a PR would make the history more descriptive and remove the need for a link to PRs. A changelog doesn't need to link to PRs just as it doesn't need to link to the specific commit. Also, I disagree that it's as bad as the current one, as this is at least up to date with the repo. While not descriptive, it's basically no worse than reading the repo's commit history. |
I think a manually curated changelog is easiest, the repo can highlight the in-depth changes for the more curious. Pre-commit hooks don't work well on GitHub, contributing here should quick and simple, quick edits here in the GitHUb.com site in the files directly, I even did that just now for #68 |
Sorry, but I don't agree.
Except that the changelog is now based on the commits, so yes, it should.
Well, I agree that it's more complete, but it's still not descriptive, which IMO make it very user unfriendly. |
TL;DR - Ultimately, automated changelog generation means the changelog can't be edited manually, as this would likely mean rebasing. So I agree with @ntwb that a manually curated changelog would be the better way to go to make sure the changelog is user friendly.
Fair enough.
That could be excluded from the automation by filtering out lines beginning with "Merge pull request", for example.
I agree. Although, this doesn't seem like any more burden than a manually curated changelog.
I agree that this adds noise. The GPLv2 states:
To be fair, this is extremely open to interpretation. Theoretically, "Changed file1.ext on date, file2.ext on date and file3.ext on date" would be compliant with the above. It doesn't appear to specify whether this excludes certain changes, although some resources online (and our experience of changelogs) would point to notable changes only.
The changelog of any version controlled software is based on the commits. In an automated changelog based on commits, the commit subject line determines whether a link to more information is necessary.
I agree. |
That section of GPL does not apply. That section is about forks of codebases where the code is modified from the original code. That section does not apply to original sources, which this repo is. |
Would be good if we could get to a decision on this PR at some point this year.... |
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.
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.
Seeing how the current changelog serves little to no purpose I will approve this PR.
Most of the changes made have good commit messages and discussions on the make blogs.
As discussed in PR #65, the changelog page is not actively maintained and is out of date/out of sync with the actual changes which have been made, so we may as well remove it.