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
Should loop through all configured suites when one isn't specified #2
Comments
|
The |
|
Yes, please, that would be nice. It seems a bit unnecessary to have to write a However, I guess this is a bit of a wishlist item, since in production the generation run will be triggered by individual suite updates (eg when a package is uploaded) so the suite will always be specified. Thanks for fixing the help message. I guess I saw that as the main problem. |
Thing is that you don't normally want to process everything, but only a subset of suites (the ones that are receiving new packages, not the frozen ones), so a process-all-like feature is a fringe case. We could add it anyway, there is also no real drawback of having it.
Uhh, I hope the generator is fast enough for that, since this will require loading the full package index for all architectures - at worst - once per package, which is never fast. Also, creating a new instance of the
|
So do you imagine this being run by cron job, eg once a day or every few hours? I don't suppose the AppStream data will change all that often, but it seems a pity for there potentially to be a significant delay in bringing the metadata up to date.
How would it be if you only looked at newly-added packages? You already have data about the existing packages cached in the database, so I don't see why they all have to be rescanned. The job that processes incoming packages could tell It would still be necessary to regenerate the whole of the So I'm proposing that the current |
At time, yes, I expect it to be run about every 2-4h - depends on the speed at which stuff is added to the repo to set useful values there. Also depends on how many system resources the generator has to process stuff ^^
Jap, something like that would be useful. Last night I wished I had a feature like that to process just one file ^^ In general though, this is a useful feature, but it will also require quite some refactoring and would need a new interface to be implemented by backends in order to support this. |
|
Done, see #6 |
The
--helpoption says:So
[SUITE]is shown as being optional forprocessandremove-found. However, ifSUITEis omitted,processandremove-foundsay:The text was updated successfully, but these errors were encountered: