Skip to content
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

[Bug] Bump logic needs a rework #3465

Open
dr460nf1r3 opened this issue Jan 18, 2025 · 2 comments
Open

[Bug] Bump logic needs a rework #3465

dr460nf1r3 opened this issue Jan 18, 2025 · 2 comments
Assignees
Labels
bug:misc Something else doesn't work. priority:high This package affects 15%+ users. to-do Tracks progress on current to-do

Comments

@dr460nf1r3
Copy link
Member

Packages

Anything dependent on .so libs.

Description

Reference: #2870 (comment)

@dr460nf1r3 dr460nf1r3 added the request:rebuild-pkg Package is missing a rebuild. label Jan 18, 2025
@dr460nf1r3 dr460nf1r3 self-assigned this Jan 18, 2025
@dr460nf1r3 dr460nf1r3 added priority:high This package affects 15%+ users. bug:misc Something else doesn't work. to-do Tracks progress on current to-do and removed request:rebuild-pkg Package is missing a rebuild. labels Jan 18, 2025
@dr460nf1r3
Copy link
Member Author

dr460nf1r3 commented Jan 19, 2025

While working on this I figured doing it depending the way described in the comment would be a half-baked solution only, so I simply deactivated any automated bump logic for now (explicit/global ones are still in place) here: chaotic-cx/chaotic-next@d9fb570

The problem I'm seeing specifically is that Namcap reports aren't reliable at all, e.g. looking at proton-ge-custom there are tons of .so libs but none would actually be used by any package other than proton-ge-custom itself:
-> https://aur.chaotic.cx/stats?search=proton-ge-custom

Meanwhile, kwin-effects-forceblur has libkwin.so.6 set, but needs a rebuild every time kwin changes (speaking out of experience).
-> https://aur.chaotic.cx/stats?search=kwin-effects-forceblur

So I decided to stop here today, and start again once we have solid ideas on how to treat this in a better way.
Suggestions are welcome of course.

@xiota
Copy link
Contributor

xiota commented Jan 19, 2025

When resuming development of bump logic, maybe create a log, like output in a new telegram channel, of recommended bumps and reason, instead of actually bumping in the repo?

As for ideas, what about ...

  • namcap analysis to keep track of likely depends, but don't bump yet.
    • "link-level-dependence" should reference the most likely depends that would require rebuild.
  • bump only against a list of known problem packages, like protobuf, qt/kde.
    • Would be good if the list could be stored in the packages repo.
  • rate-limit bump checks to once or twice a day to prevent multiple bumps of the same package for a group of depends that should have been resolved together.

Good thing from the recent bumps... identified some broken packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:misc Something else doesn't work. priority:high This package affects 15%+ users. to-do Tracks progress on current to-do
Development

No branches or pull requests

2 participants