-
-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rss-bridge: 2022-06-14 -> 2023-09-24 #257641
Conversation
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.
LGTM
substituteInPlace lib/RssBridge.php \ | ||
--replace "__DIR__ . '/../config.ini.php'" "getenv('RSSBRIDGE_DATA') . '/config.ini.php'" | ||
substituteInPlace lib/bootstrap.php \ | ||
--replace "const PATH_CACHE = __DIR__ . '/../cache/';" "define('PATH_CACHE', getenv('RSSBRIDGE_DATA') . '/cache/');" | ||
substituteInPlace lib/Configuration.php \ | ||
--replace "__DIR__ . '/../whitelist.txt'" "getenv('RSSBRIDGE_DATA') . '/whitelist.txt'" |
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.
Can we use the patch from https://github.com/NixOS/nixpkgs/pull/223066/files instead?
The source code substitutions have to be adopted to continue working. The PATH_CACHE const has to use `define` instead, as const forbids using functions.
7899087
to
56ac715
Compare
I moved the changes into a patch file. The referenced PR was not applicable.
|
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.
👍
It seems I can't merge this PR. Can one of you guys do it? |
@Mynacol i think you need to add yourself in maintainers/maintainer-list.nix if not already there. And afterwards in meta.maintainers for the package. |
I added myself as a maintainer for this package in a second commit. I hope you all are fine with this. |
As requested in #257641 (review)
Description of changes
Update to the latest release: https://github.com/RSS-Bridge/rss-bridge/releases/tag/2023-09-24
The source code substitutions have to be adopted to continue working. The PATH_CACHE const has to use
define
instead, as const forbids using functions.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/
)@dawidsowa