-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
tt-rss: 2021-06-21 -> 2022-08-01 #184496
tt-rss: 2021-06-21 -> 2022-08-01 #184496
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1058 |
please make the commit messages follow contributing.md |
Ah, I was going to squash them down. |
@@ -134,6 +134,8 @@ Use `configure.packages` instead. | |||
|
|||
- Add udev rules for the Teensy family of microcontrollers. | |||
|
|||
- The `tt-rss` service performs two database migrations when you first use its web UI after upgrade; consider backing up its database before starting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The `tt-rss` service performs two database migrations when you first use its web UI after upgrade; consider backing up its database before starting. | |
- The `tt-rss` service will perform database migrations when first visiting the web UI after this upgrade. Consider backing up its database before updating. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sigh, time to polish my bikeshed paintbrush! I can see why you prefer "updating" to "starting" even though "starting" is more accurate (since it won't perform the migrations until you press Go in the UI). But "when first visiting" is strictly less clear than "when you first use" (or "visit"), because 1) the agent of "visiting" is not specified and is weakly implied by the grammar to be "the tt-rss
service", which is of course nonsense, and 2) "visiting" is in a continuous tense, whereas the upgrade is performed once when you take a specific action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since it won't perform the migrations until you press Go in the UI
That was not obvious to me from your changelog entry. It sounded more like you must do it before upgrading your system or it is automatically done at startup or immediately when you open the first page in the browser.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe (though couldn't swear to it) that the UI is essentially blank except for the "upgrade" button, so it renders the system unusable until you press the button.
Pull in a year of upstream changes. This update will involve two database migrations when logging in to the resulting service.
Apologies to anyone I break this way! |
Thanks for your PR. I rebased and updated it here: #198748 |
Description of changes
Pick up a year's worth of changes from upstream.
I've got an instance of this running, apparently without problems. But there was a database migration of two versions involved, and I didn't have any data to migrate, so I have no idea if this aspect is OK. I also had some trouble cloning the repo until I did
nix-prefetch-git
at various points - the upstream repository iscgit
in a configuration which I think just doesn't serve tarballs? - but eventuallynixpkgs-review
was happy; and for some reason the feed update daemon didn't start (nor were there any obvious errors) until I rebooted my machine, whereupon it came up happily.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes