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

pcheck: limit push to specific parent project #2788

Open
DimStar77 opened this issue Mar 30, 2022 · 5 comments
Open

pcheck: limit push to specific parent project #2788

DimStar77 opened this issue Mar 30, 2022 · 5 comments

Comments

@DimStar77
Copy link
Contributor

A request I received from user - posting it here to not forget about it

Usecase: a devel project with 'many' packages, mostly linking to 'openSUSE:Factory' (proper devel project setup); The project also contains a few backport links to other projects to be able to build for other (older) distros (like 15.3) with a few fixes.

The user would like to push all diffs to openSUSE:Factory, but ignore all packages that are linked to different targets.

Usually, one would do osc pcheck $PROJECT --push which pushes all diffs to the parents of all packages.

For the specific usecase, envision something like osc pcheck $PROJECT --push --only-target openSUSE:Factory (UI to be decided)

This would then push all diffs of packages whose parent points is the project defined.

@DimStar77
Copy link
Contributor Author

Another idea/option: --only-devel i.e. only push the package to parent if the package to be pushed is declared devel package of target

@coolo
Copy link
Member

coolo commented Mar 30, 2022

this starts to become yet another origin manager

@DimStar77
Copy link
Contributor Author

this starts to become yet another origin manager

I sure hope not... if people ask for that many features, they get wrist-slapped

@coolo
Copy link
Member

coolo commented Mar 30, 2022

But the overlap is real - pushing from origin (devel project) to the main project is osc origin update

@DimStar77
Copy link
Contributor Author

one tried to be smart - the other one only tries to help the dev and not take the responsibility; IMHO, origin-manager was only trying to help Leap relmgr to chase after packages (taking the responsibility away from the developers); pcheck is clearly targeting devel prj maintainers (and only really works for developers caring for a full set of a devel project)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants