glab(1)
β¨ glab(1) β¨
okay bestie, so this is a page from the glab(1) manual β yes, THE glab man page, we're literally in the big one π
and this particular page is all about one lil command that's lowkey iconic. let's get into it π«Ά
πΈ NAME πΈ
glab-dependency-firewall-configure β configure Dependency Firewall registry URLs for a package manager. that's the whole job, that's the vibe π
π¦ SYNOPSIS π¦
glab dependency-firewall configure [flags]
(yes there's a double space in there before [flags], that's not me being chaotic, that's canon β¨)
π DESCRIPTION π
okay so here's the tea β β this command writes a package manager's resolve and deploy registry URLs into .gitlab/df/config.json. that's the file, that's the whole destination, periodt π
Supported package managers: npm. that's the list. one item. npm supremacy I guess π
heads up bestie: the file is written relative to the current working directory, so run this command from the directory you run the package manager in. fr fr, don't be cute about it, run it in the right place π
Only the flags you pass are updated; existing values and unknown keys are preserved. so it's a polite little merge, not a wrecking ball π§
beta warning, and I mean this affectionately: 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/. like, it's giving "we're still cooking" π
β OPTIONS β
--repo-deploy=""β the full registry URL to deploy (publish) packages to. your publish destination, your moment to shine π--repo-resolve=""β the full registry URL to resolve (install) packages from. your install source, your main character energy β
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. the classic, the icon, the one you press when you're lost π
π₯ EXAMPLE π₯
# Set the resolve (read) and deploy (publish) registry URLs for npm
glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/ --repo-deploy https://gitlab.com/api/v4/projects/42/packages/npm/
# Update only the resolve URL; the deploy URL is preserved
glab dependency-firewall configure npm --repo-resolve https://gitlab.com/api/v4/projects/42/packages/npm/
see how the second one only touches resolve? deploy stays exactly where it was, untouched, unbothered, thriving π¦ that's the "only the flags you pass are updated" thing in action, iykyk π
π SEE ALSO π
glab-dependency-firewall(1)β the parent command, go say hi π«Ά
and that's the page bestie!! π
cute lil sign-off time π β this beauty was auto generated by spf13/cobra back in Aug 2026, and yeah, the footer says glab(1) because we've been in the glab(1) manual this whole time, obviously π
now go configure some registry URLs, you absolute legend β¨π
π¦ where this page comes from
- epel 10: glab 1.112.0-1.el10_3 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND (FTL OR GPL-2.0-or-later)
- epel 9: glab 1.112.0-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 AND (FTL OR GPL-2.0-or-later)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms