-
-
Notifications
You must be signed in to change notification settings - Fork 569
Description
Today I was curious to know what had changed on the wiki between v0.46.0 and v0.47.0, or between v0.47.0 and the latest Git version of the wiki. And while that information is available via the Git commit logs in the hyprland-wiki repository, I found myself wishing there was a way to just choose two versions of the wiki and view the differences on the wiki itself, similarly to how GitHub presents PR diffs. I.e. you could look at the wiki page itself, with a red or green background behind the deleted/added text.
I tried to see if I could implement this myself, but it's not as straightforward as I had hoped, because there are no tags on the hyprland-wiki repo so it's non-trivial to find out which commit contained the files as of v0.46.0. It's not hard — just look at the version history for the version-selector.md page — but it's not something that can be trivially automated: first someone would need to collect a list of commits and add tags to the appropriate commits before a script could be written to do the diffs.
Another thing that would need to be implemented for this idea would be that the wiki's theme would need to have some way to show additions and deletions, like the red/green background I mentioned before.
It wouldn't be a ten-minute project. But it should be more or less straightforward to do, perhaps a week or two of intermittent work. And I, for one, would find it useful to be able to see the differences between two Wiki versions. It would let me, for example, look at the config differences between the version I have installed (let's say, hypothetically, that that was 0.45.0) and the latest version (0.47.0) so I could more easily determine what config adjustments I need to make, if any, before updating. https://hyprland.org/news/ of course covers breaking changes, but sometimes it's nice to see every little detail of what changed.