-
Notifications
You must be signed in to change notification settings - Fork 24
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
news:updater:all-feeds will be deprecated with news 15.0.0 #21
Comments
Hi apologies but what does this mean for my configuration ? do I need to change anything |
It means that the code requires changes, I started it but found it a bit difficult to implement and lost my motivation. The command that is used right now will be deprecated. So the functionality has to be build in a different way, there is a nextcloud command to get all users then you would need to iterate over all users and get thier feeds and create a return value as it was before |
Hmm, not sure I can help.
one by one, is there a better setup I can choose - apologies I have always used the news updater and thank you for all your sterling effort on this project |
That's probably an issue of news itself at the moment, I think it might be fixed in the next release. |
Else you can fall back to using the system Cron in future. |
Yes, the python news-updater needs an update, because the news app changed the API They switched the parameter order in the "news:updater:update-feed" command. Now it's user-id + feed-id instead of feed-id+user-id |
Oh I didn't see that, this would be an easy fix the other one is more complicated |
Is the news-updater still maintained? The last release was 2018. The reason I ask is if I should just patch my version or if I it's possible to provide pull-requests to improve the code base. But therefore the project should be maintained, because someone needs to approve pull-requests and release new version to pypi |
I fixed this issue in my custom version of the news-updater. At the moment you need to set If I understood correctly, previously, the API of the news app were versioned and the news-updater, supported API v1-2 or v2. Thus, I wanted to ask @Grotax if this newer version of the API is the v3, or if they no longer version the API and we assume that the version of the API matches the version of the news APP. |
Just provide a PR, then I'll publish a new version. |
@DriverXX We haven't decided on that but for me it makes sense to base the api level on the major version of news |
OK guys today - 8 days after updating NC to v20 including several apps, including NC News - I realized there are no feed updates. Which way is the best one to fix this?
I totally rely on the news-updater and now NC news is literally newsless aaahm useless :-( :-( :-( When running on CLI I only get plenty (for every single feed) of those:
|
Here´s the GitHub hero who solved it. Works great. It really is a problem this project is not actively maintained anymore - or maybe no one uses it, otherwise there would be more users wondering why their feeds are not updated. Anyway, good for the moment. |
https://github.com/nextcloud/news/blob/master/lib/Command/Updater/AllFeeds.php#L41
The new command, that is replacing the old one is news:feed:list, behavior is a bit different as the view is per user and not a total overview.
Related PR nextcloud/news#750
The text was updated successfully, but these errors were encountered: