[opensuse-packaging] How to directly branch an entire project and file a request for it.
Hi, I wanted to branch all the packages (from a remote project channel) to my remote subproject in OBS. Furthermore, I wish to file a single request for all the packages that I have branched. Is there a simple way of achieving this? Regards, Shikhar -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Jul 25 2018, Shikhar Jaiswal <jaiswalshikhar87@gmail.com> wrote:
I wanted to branch all the packages (from a remote project channel) to my remote subproject in OBS. Furthermore, I wish to file a single request for all the packages that I have branched. Is there a simple way of achieving this?
There is no built-in support for that. You'll have to loop of the packages and run osc branch for each one (but this is easily scriptable). For creating a request containing multiple packages there is the osc creq command. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, I did something similar for fixing the %license macro in several packages. You can have a look at it, it might inspire you: https://github.com/sebix/packaging-utils/blob/master/scripts/branch-and-fix-... It accepts project and package name, does a branch checkout, changes directory, executes a command there, adds a new changelog entry, commits and submits. Sebastian On 2018-07-25 11:59, Shikhar Jaiswal wrote:
Hi,
I wanted to branch all the packages (from a remote project channel) to my remote subproject in OBS. Furthermore, I wish to file a single request for all the packages that I have branched. Is there a simple way of achieving this?
Regards, Shikhar
-- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers
participants (3)
-
Andreas Schwab
-
Sebix
-
Shikhar Jaiswal