Skip to content

godepot 0.7.0

Pre-release
Pre-release

Choose a tag to compare

@zystem zystem released this 27 Nov 23:34
· 6 commits to main since this release
f9da825

Parts of steps 7 and 8 of docs/plan.md. Neither step is finished. A pre-release.

New since 0.6.0

  • Cleanup and the trash (docs/cleanup.md): policies that report first and remove only when told to; what is removed can be restored.
  • Cooldown and block lists of a proxy (docs/policy.md): hold back versions that are too young, never serve the listed ones (npm, pypi, go; block lists for every format but oci).
  • Passwords of local accounts, POST /api/v1/login, basic authentication and npm login (docs/api.md).
  • CI jobs by OIDC (docs/ci-jobs.md): a job's signed token for a 15 minute godepot token, no stored secret. Run with GitHub Actions; no other CI.
  • LDAP and Active Directory (docs/ldap.md): log in with the directory, rights by group, LDAPS or StartTLS only; a trusted ca.crt or self-signed server.crt as a file or through the API.

Upgrade from 0.6.0

  • The database moves from schema 5 to 8 at the start of the new program. There is no way back: 0.6.0 refuses the new database. Back up rqlite first, and stop all replicas of the old version.
  • Run: a file written and a token made with 0.6.0 work with 0.7.0, and reconcile finds nothing lost.

Checked (2026-11-28): the upgrade above; the image built and version run; the README's try-it as written; the real-client scripts of tools/test/ for cleanup, go, login, maven, npm, oci, oidc, policy, proxy and pypi. CI on the same files (pull request 19: tests with -race and a real rqlite and blobgate, staticcheck, gosec, govulncheck) passed. The scripts and the upgrade were run on the commit before the last, which differs in documents only. ldap-run.sh against Active Directory and AD LDS of Windows Server 2025 (2026-11-27).

Not run: docker and podman against godepot, oras, Gradle, sbt, Ivy, yarn, pnpm, OpenLDAP, two replicas at once.

Not built yet: promotion and builds (the rest of step 7), single sign-on of people in a browser, the token flow of docker login, apt/rpm/Helm repositories, export/import, web pages. No published image, no signed releases. Pre-1.0: settings and tables may still change.