正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。
ドキュメントに関する現在のご利用体験についてお聞かせください。アンケートにご協力ください。

glab dependency-firewall twine

Run Twine through the GitLab Dependency Firewall. (BETA)

Synopsis

Run the Twine binary through the GitLab Dependency Firewall. The command checks each package download and upload against the policy for the current project, refuses blocked packages, and summarizes the results after the run.

The command uses your package manager’s registry or index configuration, and does not modify it.

Package names are normalized as described in PEP 503, so Flask_Login and flask-login are treated as the same package.

All arguments are forwarded to twine verbatim.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab dependency-firewall twine <twine args> [flags]

Examples

console
# Upload a package through the Dependency Firewall
glab dependency-firewall twine upload dist/*

Environment variables

HTTPS_PROXY: outbound proxy glab uses to reach package registries. Credentials in the URL are sent to the proxy.
HTTP_PROXY: outbound proxy for plain-HTTP registries. When it's unset, glab uses HTTPS_PROXY.
NO_PROXY: hosts glab reaches directly instead of through an outbound proxy.

Options inherited from parent commands

  -h, --help   Show help for this command.