Repository navigation
Conversation
|
As far as the ID goes is that the reaching the exact same code under the hood as |
Alkarex
left a comment
There was a problem hiding this comment.
Hum, I am not sure this makes sense for this script, which is used to refresh all users.
Instead, I suggest you add this new parameter to https://github.com/FreshRSS/FreshRSS/blob/edge/cli/actualize-user.php
|
But then you'd have to worry about which user it belongs to. I don't think that makes sense within the confines of what OP said they wanted to do since then you'd have to collect all the users first as boilerplate in order to achieve the same end result. :-) |
But feed ID only makes sense for a given user |
|
Fair enough, but then I think they might be looking for something slightly different? |
|
Thanks for the suggestion, closing in favor of #9319. |
* Add optional feed argument to actualize-user.php Ports the change in #9182 from actualize_script.php to actualize-user.php, as suggested. Adds an optional argument to the script to allow updating a particular feed, instead of all of them. This makes it easier to update specific feeds via cron and other local utilities. (My personal motivation is to add a bit of privacy to updates so they aren't as obviously linked, but this is also useful for other reasons, e.g. if you have too many feeds to feasibly update at once.) * Doc + minor type check preference --------- Co-authored-by: Alexandre Alapetite <[email protected]>
Changes proposed in this pull request:
Adds an optional argument to the script to allow updating a particular feed, instead of all of them. This makes it easier to update specific feeds via cron and other local utilities. (My personal motivation is to add a bit of privacy to updates so they aren't as obviously linked, but this is also useful for other reasons, e.g. if you have too many feeds to feasibly update at once.)
How to test the feature manually:
actualize_script.php 123Pull request checklist:
I'll update the documentation if I get the go-ahead on this being desirable, and can add a test if requested and not too difficult.