#177 feat: add how to mockbuild using a side tag
Merged by ankursinha. Opened by ankursinha.
fedora-docs/ ankursinha/package-maintainer-docs side-tag-mockbuild  into  main

Download 177.patch

Ref:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AHN7TMK4MKEX4DWJOSV2DXAAVYIQ5SSY/

It needs to be -- --addrepo= since you need to pass it into Mock itself.

1 new commit added

  • fix: add `--` to command

Thanks, updated.

:thumbsup:

with config_opts['createrepo_on_rpms'] = True on ~/.config/mock.cfg

can do chain builds like this:

fedpkg --release f41 mockbuild --default-mock-resultdir -N -- -a /var/lib/mock/fedora-41-x86_64/result

-a is the same of --addrepo=

also we can use repos on copr :

fedpkg --release f41 mockbuild --default-mock-resultdir -N -- -a https://download.copr.fedorainfracloud.org/results/sergiomb/electrons/fedora-41-x86_64/

I'll merge this one now, and maybe we can open new PRs for the copr etc. related ones? (With COPR, I don't mind just kicking off a new test build on COPR directly, this is not something we can do with side tags, since it must be committed and pushed to src.fp.o first).

Pull-Request has been merged by ankursinha

Should this be quoted? $basearch is not a normal environment variable, AFAICT, and based on normal repo URLs, probably should remain unevaluated by the shell.

Ack, never mind my last comment; that was fixed in #180.

Metadata