createrepo(path,
front_url,
username,
projectname,
base_url=None,
lock=None)
| source code
|
Creates repo depending on the project setting "auto_createrepo".
When enabled creates `repodata` at the provided path, otherwise
:param path: directory with rpms
:param front_url: url to the copr frontend
:param username: copr project owner username
:param projectname: copr project name
:param base_url: base_url to access rpms independently of repomd location
:param Multiprocessing.Lock lock: [optional] global copr-backend lock
:return: tuple(returncode, stdout, stderr) produced by `createrepo_c`
|