Go to file
Pavel Raiskup c5ba87991d configs: the stream9 image is "ready" for Mock bootstrap
Fixes: #1442
2024-09-25 06:55:08 +02:00
.fmf CI: Enable tests with Packit + Fedora Testing Farm 2024-02-05 10:23:19 +01:00
.github ci: drop our custom Towncrier task 2024-09-05 07:33:40 +02:00
.reuse
.tito Typofix release mock-core-configs v41.2 2024-08-15 11:58:00 +02:00
behave configs: the stream9 image is "ready" for Mock bootstrap 2024-09-25 06:55:08 +02:00
docs hermetic: provide a compat feature page 2024-09-23 21:31:04 +02:00
mock De-duplicate two opinionated doChroot() calls 2024-09-24 23:28:57 +02:00
mock-core-configs configs: the stream9 image is "ready" for Mock bootstrap 2024-09-25 06:55:08 +02:00
releng configs: the stream9 image is "ready" for Mock bootstrap 2024-09-25 06:55:08 +02:00
testing-farm testing-farm: a bit less verbose old-testsuite output 2024-02-09 07:13:08 +01:00
.gitignore Generate release notes with towncrier 2023-09-14 11:49:44 +02:00
.gitmodules
.packit.yaml packit: specify mock-deps as additional_repo 2024-09-24 13:23:52 +02:00
.pep8speaks.yml
LICENSE
README.md
pylintrc ci: lint the whole project 2024-09-04 05:40:24 +02:00
pyproject.toml ci: ask users to provide towncrier snippet 2024-02-14 08:49:23 +01:00
tox.ini Add support for isolated builds 2024-09-10 21:19:35 +02:00

README.md

Mock

A 'simple' chroot build environment manager for building RPMs.

Mock is used by the Fedora Build system to populate a chroot environment, which is then used in building a source-RPM (SRPM). It can be used for long-term management of a chroot environment, but generally a chroot is populated (using DNF), an SRPM is built in the chroot to generate binary RPMs, and the chroot is then discarded.

User documentation

This is an area for developers. You may be looking for user documentation.

Sources

Mock source tarballs: https://github.com/rpm-software-management/mock/releases

Mock Branches

Mock currently has one active branch plus main.

  • main - This is used for releasing and developing the latest Mock version. If you want to send patches, you probably want this branch.
  • mock-2 - This branch is used for Mock v2.x, for EL-7, bug-fixes-only mode.
  • mock-1.4 - End of life, there will be no changes.
  • mock-1.3 - This branch was used for EL-6, EOL.
  • mock-1.0 - This branch was used for EL-5, EOL.

Communication

Do you have a patch, an idea, or just a question? You can write to buildsys mailing list or try Fedora Build System Matrix channel. We prefer email though.

If you hate mailing lists for some reason (we still prefer it) - you can use Discussions.

Getting and compiling mock

git clone https://github.com/rpm-software-management/mock.git
cd mock
cd mock-core-configs
tito build --rpm
cd ../mock
tito build --rpm

The latest release for all supported platforms can be found in this Fedora Copr project.

Packaging status

mock versions mock-core-configs versions

Nightly

Pre-release packages built from the latest git commit in the main branch are in Fedora Copr project:

dnf copr enable @mock/mock
dnf install mock

Copr build status

package released development
mock badge badge
mock-core-configs badge badge

Sponsor

This project is sponsored by Red Hat. Buy Red Hat subscription to sponsor this project.

License

GPL-2.0-or-later