Bug 1475134 - RFE: copr build --{in,ex}clude-chroots=PATTERN, copr create --add-chroots=PATTERN
Summary: RFE: copr build --{in,ex}clude-chroots=PATTERN, copr create --add-chroots=PAT...
Keywords:
Status: CLOSED DUPLICATE of bug 1399815
Alias: None
Product: Copr
Classification: Community
Component: cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-26 06:53 UTC by Pavel Raiskup
Modified: 2020-12-14 10:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-14 10:33:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1399815 0 unspecified CLOSED RFE: --chroot='*pattern*' --no-chroot='*pattern*' option 2023-04-03 18:40:26 UTC

Internal Links: 1399815

Description Pavel Raiskup 2017-07-26 06:53:23 UTC
It would be nice to be able to specify chroots by pattern, like:

  $ copr build mycopr --include-chroots=fedora'*' my.src.rpm
  $ copr build mycopr --include-chroots='*x86_64*' \
        --exclude-chroots=fedora-rawhide-x86_64 my.src.rpm

and:

  $ copr build mycopr --add-chroots='fedora-2[567]-'{x86_64,i386}

Comment 1 Pavel Raiskup 2017-07-26 06:54:06 UTC
Sorry, I meant:

  $ copr create mycopr --add-chroots='fedora-2[567]-'{x86_64,i386} ...

For creating all x86_64/i386 chroots for fedora 25 to 27.

Comment 2 Pavel Raiskup 2020-12-14 10:33:03 UTC
I think we could simply re-use the `--chroot` option, and add wild-card support there.
So I'm closing this in favor of older bug 1399815.  The thing could look like:

  $ copr build --chroot='*' --no-chroot='epel-*'

Note there also is somewhat related
https://pagure.io/copr/copr/issue/1350

*** This bug has been marked as a duplicate of bug 1399815 ***


Note You need to log in before you can comment on or make changes to this bug.