This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Potential Solution: Showing the changelog #564
Comments
DericHuynh
changed the title
Potential way to show changelog
Potential Solution: Showing the changelog
May 20, 2021
Good idea. I don't see the launcher doing this for every user though. I would much rather see a centralized or hosted service doing this so the launcher could pull from there. |
Changelog should be written in release notes. Possible approach is rather obvious - show list of commit descriptions between current and previous build. Somebody just needs to work on this. |
There is a
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem:
It should be clear that the problem with the new build system is that it doesn't seem to have an easy way of giving you the changelog of all commits between the current and previous version. It only shows you the commit that triggered the build for the current version.
Useful Links
Here is a list of the releases.
https://github.com/CleverRaven/Cataclysm-DDA/releases
Here is a list of the commits on master.
https://github.com/CleverRaven/Cataclysm-DDA/commits/master
Solution:
Goto https://github.com/CleverRaven/Cataclysm-DDA/releases and notice the Commit UID
If you click on the commit UID link, you can get to the page of the specific commit that triggered the build. See this?
That is a link to the parent node, the previous commit this commit was built off of, and by creating a loop that continuously goes through each parent node until you reach the node of the previous build, you can add the title of each commit to a list to build a changelog. The commit UIDs can be compared by checking the commit UID of the node you're currently one and the commit UID of the previous release.
Once you get to the last node, you can exit the loop and use the changelog list.
TLDR: You can make a web crawler that goes through all commits between two releases by going through the parent node links of each commit and use that as the changelog.
The text was updated successfully, but these errors were encountered: