pungi/pungi/wrappers
Lubomír Sedlář f3485410ad
Add support for git-credential-helper
This patch adds an additional field `options` to scm_dict, which can be
used to provide additional information to the backends.

It implements a single new option for GitWrapper. This option allows
setting a custom git credentials wrapper. This can be useful if Pungi
needs to get files from a git repository that requires authentication.

The helper can be as simple as this (assuming the username is already
provided in the url):

    #!/bin/sh
    echo password=i-am-secret

The helper would need to be referenced by an absolute path from the
pungi configuration, or prefixed with ! to have git interpret it as a
shell script and look it up in PATH.

See https://git-scm.com/docs/gitcredentials for more details.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
JIRA: RHELCMP-11808
(cherry picked from commit ada8f4e346)
2023-11-10 16:54:59 +02:00
..
__init__.py Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
comps.py comps: Apply arch filtering to environment/optionlist 2023-11-10 16:51:52 +02:00
createrepo.py Format code base with black 2020-02-05 17:35:47 +08:00
fus.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
iso.py Exclude existing files in boot.iso 2023-11-10 16:50:46 +02:00
jigdo.py Format code 2021-03-02 18:31:45 +08:00
kojimock.py ALBS-987: Generate i686 and dev repositories with pungi on building new distr. version automatically 2023-03-23 09:36:52 +02:00
kojiwrapper.py ALBS-1040: Investigate why Pungi doesn't put modules packages into the final repos 2023-03-14 18:25:21 +02:00
lorax.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
mbs.py Allow including scratch module builds 2020-07-17 09:08:36 +08:00
pungi.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
repoclosure.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
scm.py Add support for git-credential-helper 2023-11-10 16:54:59 +02:00
variants.py Fix black complaints 2023-11-10 16:50:38 +02:00