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
[idea] monitor a few packages 'closer' for rebuild triggers required #925
Comments
@adrianschroeter - you might have good ideas for an implementation here; there is a good chance the backend offers all we need already |
erm, no, the only way in this situation is to cause a source change. eg. via linking them and changing a file (which may not be used during building). Given that you scheduling happens entirely outside of OBS we can't help much here. Maybe it would be good to implement the scheduling inside of OBS with another strategy? In theory there could be some marker for package containers which overrides the strategy there, but this is not implemented. |
if we can get the logic inside OBS and have a strategy be 'overruled' by a package, that would be certainly the best way of course. we are currently combatting two 'issues' with the rebuild=local strategy (which is generally seen working fine)
the installation-images case is 'higher prio' for me, the ghc case I learnt to live with (and have a rebul-dep-chain) that handles this semi-automatic for me) |
I guess rebuild per package override would be the simplest solution indeed, so some packages could be set to a rebuild=(in)direct strategy. Overall it would be really nice to have the current manual-rebuild mode implemented in OBS natively, but that's probably another ticket. |
How relevant is this now? I don't think an OBS scheduler change is any more likely in the next 4 years than it was in the last 4 years - so how can we improve client side? |
We have 'something' in place for the 'very bad candidates' from OSRT:Config:
So, the OBS internal improvement of scheduling is a nice to have, but will likely remain a dream. rebuildpacs-leafs at least allows me to list packages that must be retriggered more often |
So can we close this as dream? |
realistically seen, yes |
Reference: https://bugzilla.opensuse.org/show_bug.cgi?id=995367
openSUSE:Factory is (usually) built using rebuild=local, meaning only the packages with source changes are being built (which helps us making daily snapshots posisble)
There are a couple packages that should be handled in a different mode: be retriggered if their deps changed / rebuilt
A typical example here is installation-images:{openSUSE,Kubic}: whenever yast for example changes, this package requires a rebuild, to get the latest installer actually to be used during installation.
I likely need some way to query obs for a specific package has been built with the CURRENT packages of it's dep chain, or if there are differences.
so something along the line
note: this does not work, as OBS does give different info in buildenv vs buildinfo... one has version=/release= and the other has hdrmd5= attributes
The text was updated successfully, but these errors were encountered: