Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Should I use mavenLocal() or flatDir in a Gradle build?
Avoid mavenLocal and flatDir in shared or release builds. Gradle bypasses its cache for local repositories and says they make reproducible builds harder.
Should you sign your Sparkle appcast feed as well as the archives?
Signing update archives is the baseline. Sparkle can also require a signed feed and release notes. Here is what that adds, what it needs and what to watch.
Should you pin apt package versions in a Dockerfile?
Pinning makes builds repeatable but can freeze in a vulnerable version or break when a version leaves the archive. Weigh both and pick a refresh routine.
Should you commit the PHP vendor directory to git?
The Composer FAQ says no: ignore vendor, commit composer.lock, and install on each build. Reasons, the exceptions, and how to audit what you deploy.
Should you commit poetry.lock? Applications versus libraries
Commit poetry.lock for applications so every install matches. For libraries the advice differs. See why, and what changes when the file is out of sync.
Should you commit Package.resolved for a Swift project?
Commit it for apps and other top-level projects. For a library it does not pin anything for your users. What SwiftPM docs say and what it means for scans.
Should you commit node_modules to git? Vendoring vs zero-installs
Committing node_modules is rarely the right way to pin dependencies. Compare lockfile installs, Yarn zero-installs and vendoring, and the review each needs
Should you bundle the AWS SDK in your Lambda package?
AWS recommends packaging the SDK with your function. The reasons are control, compatibility and an honest dependency list. Trade offs and exceptions.
Should you allow VersionOverride in NuGet central package management?
VersionOverride lets a project bypass the central NuGet version list. Learn when that is useful, why it weakens control, and how to switch it off.
Should you adopt a new LTS release right away or wait?
A decision guide for timing runtime upgrades: how LTS and standard releases differ, and a simple rule for moving after launch but before the old line ends.
Should update bots propose pre-release versions of dependencies?
Usually no. The semver spec marks a pre-release such as an alpha or release candidate as unstable. Keep bots on stable releases unless you opt in.
Should security scanning be mandatory for every repository?
Scan every repo for visibility, but gate only the ones that ship. A tiered model keeps coverage high without blocking prototypes, forks and archived code.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.