-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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 of a sort - to follow easily what was added and when #3308
Comments
I agree that this feature would be great, but we need to think about how to generate this changelog automatically. It can be done by looking at the commit history and taking the diff to know what was changed, since this software is done, we can configure a cronjob (via GitHub action) to run once a week and generate a new structured markdown file and generate an html page for the site. What do you think about this architecture above, makes sense? @uded could you contribute with this implementation? Here's an example and job implementation that we run weekly, write by @mrKappen: |
It's doable as long as there is a format of the commit message which we can follow. Hence my suggestion would be to use something like semantic commits, which can structurize the message. I.e.:
I am open to suggestions here on what would be the best format, but if we can enforce that the rest is easy to do using existing tools or slightly modifying them. |
ensure standard in commit would say it is impossible, many people do not follow the pull request template, I do not believe they will follow pattern to commit we need to create an "intelligence" that identifies this in the received patch (git commit), example: |
you could perhaps use the heading to determine which category the added item would fit in and use that to create the changelog. That way you wouldn't have to rely on users following a particular format. This would also be backwards compatible and you could create the change log from the very beginning of this repo. Granted, this isn't a perfect solution, but it might be a decent enough way forward |
@avelino I think we can enforce some standards - using hooks. Sorry, if you want a standardization then just follow it or go away, simple as that. So instead of trying to work around people who do not care, maybe we shouldn't care instead. Simple as it is to implement a mechanism to create a changelog with a proper commit message, trying to figure out how to go around a problem of freely formatted messages will always create issues down the road... There are ready to be used solutions for Github:
and many more... Also, I would think that creating a history changelog makes no sense right now. Just cut a fine line and say from now we gonna make it. Otherwise, the effort required to figure out how to make a changelog for all past commits is high. And, IMHO, time wasted. Since it was not there before just accept it. It is what it is... |
After some investigations what I can see is a couple of options.
|
BTW, is there a way to vote here? Would be nice :-) |
I don't like to impose a pattern of how to describe a contribution (pull request), since we have some minimal requests for contributions and few follow - just look at the amount of PR that stays open for days like option 3: create script looking for readme What do you think about it? |
Currently I am an observer on Github, but this is a very inconvenient way to follow what is new on this awesome list. It would be great if there could be a changelog with dates or some other form available to see newly added libraries, projects, etc.
Maybe using semantic commits for that? Then the changelog can be actually easily generated...
The text was updated successfully, but these errors were encountered: