Skip to content
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

generate release notes with consistent presentation #586

Closed
prjemian opened this issue Jun 30, 2017 · 11 comments
Closed

generate release notes with consistent presentation #586

prjemian opened this issue Jun 30, 2017 · 11 comments
Assignees
Milestone

Comments

@prjemian
Copy link
Contributor

As noted, create tool(s) to simplify the generation of release notes with a consistent style and format. Might consider reporting in these sections:

  • Base Classes
  • Application Definitions
  • Contributed Definitions
  • NXDL (XML) Schema
  • Documentation
  • Other

Subsections (for each) would be

  • new additions
  • changes
  • work-in-progress
  • items removed
  • items marked as deprecated

For example, this issue, when complete, would be added under the Other section.

@prjemian prjemian added this to the NXDL 3.4 milestone Jun 30, 2017
@prjemian prjemian self-assigned this Jun 30, 2017
@prjemian
Copy link
Contributor Author

Of the ideas mentioned in #577,

This (http://www.mehdi-khalili.com/better-git-release-notes) is a blog that bears some reading.

This project (https://github.com/GitTools/GitReleaseNotes) has no activity since 2016-10. Looks stagnant.

This project (https://gist.github.com/bradyholt/b40fa59b6c5a09fbf0d8) is a shell script to create a new pull request. It may have value for a new tool.

More ideas here:

@prjemian
Copy link
Contributor Author

@prjemian
Copy link
Contributor Author

Two separate goals (can coexist):

  • provide text that appears with a specific release in the GitHub releases list
  • keep a permanent file of all release notes by release, newest release first

@prjemian
Copy link
Contributor Author

That's too many categories! Could be more concise.

  • Pull Requests (include accepted or not)
  • Issues
  • Selected Commits

Likely these could be automatically generated through the GitHub API with a script, then edited judiciously to reduce noise and indicate which general area of the repository was affected.

@prjemian
Copy link
Contributor Author

Of course, all this would be since the previous release.

@prjemian
Copy link
Contributor Author

Such as: v3.2...master

@prjemian
Copy link
Contributor Author

Command line: git log --oneline --decorate --color v3.2...master

prjemian added a commit that referenced this issue Jun 30, 2017
prjemian added a commit that referenced this issue Jun 30, 2017
@prjemian
Copy link
Contributor Author

For the text added to a GitHub release, suggest only adding Pull Requests and Issues (selected) parts of release-history.md file.

prjemian added a commit that referenced this issue Jun 30, 2017
All the issue numbers and commit hashes need to be proper, working GitHub-flavoured Markdown links
@prjemian
Copy link
Contributor Author

Could proceed with release but want to have working links, as indicated, first

@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2017

These categories:

  • New Tags
  • Pull Requests (include accepted or not)
  • Issues
  • Selected Commits

@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2017

This command gets the commits:

item command
commits git log --oneline --decorate --reverse v3.2...master
tags git log --oneline --decorate --reverse v3.2...master | grep tag:

But command line git has no access to GitHub pull requests or issues. Needs some Python code that uses the PyGithub package. Example usage is in the punx codebase. This (new, yet-to-be-written) code would be run only on discretion during the release process.

@prjemian prjemian modified the milestones: NXDL 3.3, NXDL 3.4 Jul 2, 2017
prjemian added a commit that referenced this issue Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant