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

Changes since your save link on new version game transfer #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thmsdrew
Copy link

This will create a link on the new version game transfer dialogue on webtiles when there is a newer crawl-git version than your currently saved game, comparing the hash of your game with the hash of the new version, using github's compare page. This is a neat little convenience feature for those curious about what exactly is changing from build to build and how it may impact their current game.

Tested with the provided docker build, inserting a bogus value into the versions table to indicate a new version had been created, resulting in the following screenshot. Currently looks like this: https://i.imgur.com/wzTf04g.png

The concept seems fine, could be room to improve in design/implementation. That is, how it's configured, where the link appears, the text of the link, etc. Could be edge cases I'm not thinking of.

thmsdrew added 4 commits July 16, 2020 14:44
This will turn the hash description of the latest version into a
clickable link to the remote repository (Github) commit description page
for the commit resulting in this new version. A little convenience
feature for those curious about what changed, I suppose.
There could be multiple commits since the last version your game was
running on, so a description of the latest commit is only so useful.
Let's compare the hash of your current game with the hash of the latest
version.
@PleasingFungus
Copy link
Member

I'd worry that linking to a raw changelist of code wouldn't be very friendly for users, especially non-programmer users. Could we list to a diff of the changelog.txt instead?

@thmsdrew
Copy link
Author

Github provides a decently user-friendly list of the commits between hashes in the compare, so as long as devs are committing with decently worded commit messages I might think that would be more beneficial even to the average user. Otherwise you're imposing that each commit must update changelog.txt in some way for this feature to be remotely useful.

I do see what you're saying but I think that github is user-friendly enough to maybe get some "non-programmers" to start to poke around and check things out which is probably also a good thing.

refracta referenced this pull request in refracta/dcss-server May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants