1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-04 22:53:42 +02:00

Document build repo selection logic

This commit is contained in:
Anatoli Babenia
2022-08-03 13:36:31 +03:00
parent 0660c14a62
commit 988f19f9ce

View File

@@ -6629,8 +6629,14 @@ Please submit there instead, or use --nodevelproject to force direct submission.
The command works from a package checkout (local changes are fine).
You can use `osc repos` to look up REPOSITORY and ARCH arguments. If
they are not set, `osc` choses suitable at random. BUILD_DESCR is
either a RPM spec file, or a Debian dsc file.
they are not set, `osc` choses from configured repos in this priority:
1. `build_repository` mentioned in config file
2. "standard"
3. "openSUSE_Factory"
4. "openSUSE_Tumbleweed"
5. last repo from the sorted list
BUILD_DESCR is either a RPM spec file, or a Debian dsc file.
The command honors packagecachedir, build-root and build-uid
settings in oscrc, if present. You may want to set su-wrapper = 'sudo'