pungi/pungi/wrappers
Lubomír Sedlář ada8f4e346 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
2023-06-28 09:44:40 +00: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-04-24 08:29:15 +02:00
createrepo.py Format code base with black 2020-02-05 17:35:47 +08:00
fus.py Format code 2021-03-02 18:31:45 +08:00
iso.py Exclude existing files in boot.iso 2023-03-09 15:33:25 +08:00
jigdo.py Format code 2021-03-02 18:31:45 +08:00
kojiwrapper.py kojiwrapper: Ignore warnings before task id 2022-04-26 08:15:13 +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-06-28 09:44:40 +00:00
variants.py Fix black complaints 2023-02-02 12:53:32 +01:00