juhp / fbrnch

Tool to update fedora packages branches

Home Page:https://hackage.haskell.org/package/fbrnch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parallel -B for one distro only

QuLogic opened this issue · comments

I have some packages where others have taken up EPEL packaging. I do not bother with those, nor update them. However, fbrnch parallel -B attempts to checkout and build those branches. It would be nice to have a global setting of some sort, or different flag, so that branches for only one distro would count in parallel. I would only want to do f?? branches, but an epel packager might want epel? branches.

This is a good suggestion, thank you, and should not be too hard to implement.

A simpler solution might be to make -B only imply Fedora (ie not EPEL).

Hm, or... replace -B with --fedora and --epel, perhaps.

A different approach might be to add a config file with default-branches:.
Edit: ah reading your suggestion again I see you already suggested that (though I was actually thinking per package), I think you are right globally makes more sense -- let me ponder a little more.
(Might be about time to have a config file anyway, though not quite sure yet what else should be in there.)

A workaround of course would be to do say fbranch parallel -x epel8 - that's a bit more typing of course.

It took a while, but finally I implemented [--all-fedora|-F] (and --all-epel).
It should be in 0.6.5 builds soon.

ie use as fbrnch parallel -F etc (it works for all commands that take branch options).