Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emmapeel
puppet-tails
Commits
e6510abd
Commit
e6510abd
authored
Jun 15, 2020
by
Zen Fu
Browse files
[weblate] Allow installation of extra packages with dep update script
parent
2f5bbf81
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/weblate/README.md
View file @
e6510abd
...
...
@@ -44,7 +44,11 @@ entries:
'skip': A list of packages to be skipped.
'require_pip': A list of packages that must be installed with pip.
'require_pip': A list of packages that must be installed from pip if they
appear somewhere in the dependency tree.
'extra_pip': A list of extra packages to be installed from pip regardless
of being dependencies of other packages.
'require_debian': A list of packages that must be installed from Debian.
...
...
scripts/weblate/update_puppet_dependency_files.py
View file @
e6510abd
...
...
@@ -365,6 +365,7 @@ def main():
debian_needs
=
set
(
config
.
get
(
'require_debian'
))
deps
=
[
Dependency
(
i
,
config
[
'pip'
])
for
i
in
output
.
getvalue
().
decode
().
splitlines
()]
deps
+=
[
Dependency
(
i
,
config
[
'pip'
])
for
i
in
config
.
get
(
'extras_pip'
,
[])]
def
in_debian
(
dep
):
try
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment