Reformat this text to match Sphinx's conventions. This makes it easier
for developers to read this documentation.
There are a couple small corrections here as well:
- matchType accepts more values than "glob" or "regex", and it treats
any other value as a plain "=" (strict string match).
- Only globs and regexes are searched insensitively
Introduces 'distrepo.cancel_others` extra flag for tags. If enabled, new
distRepo task will cancel previous non-finished ones leaving only new
one.
Fixes: https://pagure.io/koji/issue/1630
CGInitBuild will fail on already existing build (even canceled/failed),
so it can't be used to reuse previously refunded nvr.
CGRefund build doesn't delete reservation. Having reservation token for
build which is no more in BUILDING doesn't make much sense and blocks
and reservation of same NVR.
Fixes: https://pagure.io/koji/issue/1852
It was originally designed for garbage-collector, but it is now using
buildReferences call which supersedes this one.
Fixes: https://pagure.io/koji/issue/1721
Add a new hub method for inserting new archivetype records.
This closely matches addBType.
The purpose of this change is to make it easier to permit content
generators to import files with extensions that we have not defined in
the upstream packaged koji SQL file.
Some files in the tree had bits of code that you could run if you
executed the files directly as scripts. Now that we have unit tests and
the "fakehub" tool, we do not need this code.
Koji was using the array_remove() SQL function, which was not introduced
until Postgres 9.4. RHEL 7 ships with Postgres 9.2. This construct
was being used to ensure that the krb_principals arrays in user
dictionaries were empty if no principals were defined, instead of
having a single value of None. Instead we use QueryProcessor's result
transformation support to remove the None entry.
Signed-off-by: Jim Foraker <foraker1@llnl.gov>
The recent changes to kerberos principal handling broke proper reporting
of package ownership, due to an obvious typo.
Signed-off-by: Jim Foraker <foraker1@llnl.gov>
Add a new hub method for listing new content generator records.
The purpose of this change is to make it easier for administrators to
determine what content generators are present and what user accounts
have access to those.
With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.
Remove the PythonOption directive and describe how to use SetEnv.