docs: update README and CLI to reflect migration of Linux package repositoy from Cloudsmith#265
Conversation
…y from Cloudsmith - Added a notice in the README about the migration to `artifacts-cli.infisical.com` and the impending shutdown of Cloudsmith. - Implemented a one-time daily notice in the CLI for users regarding the repository migration, including a link to the migration guide. - Introduced caching for the migration notice to prevent repeated prompts within a 24-hour period. - Added a manual test for the migration notice display functionality.
|
💬 Discussion in Slack: #pr-review-cli-265-docs-update-readme-and-cli-to-reflect-migration-of-linux-packa Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel. |
|
| Filename | Overview |
|---|---|
| README.md | Adds a migration notice callout block, but two placeholders — [DATE] and [MIGRATION_GUIDE_URL] — are not filled in and will render literally on GitHub. |
| packages/util/check-for-update.go | Replaces the old apt-only banner with a cross-platform one-per-day migration notice backed by a JSON cache; the URL constant has an acknowledged TODO pointing to the wrong page. |
| packages/cmd/root.go | Wires DisplayPackageRepoMigrationNoticeWithWriter into the pre-run hook, correctly guarded by the existing !silent && !isStructuredOutput && !docker conditions. |
| packages/util/constants.go | Adds MIGRATION_NOTICE_CACHE_FILE_NAME constant; trivial, looks correct. |
| packages/util/migration_notice_manual_test.go | Adds a manual visual test that isolates HOME to a temp dir and exercises the notice display; straightforward and correct. |
Reviews (1): Last reviewed commit: "Update README and CLI to reflect migrati..." | Re-trigger Greptile
…ransition from Cloudsmith - Revised README to clarify the migration of the Infisical CLI Linux package repository to `artifacts-cli.infisical.com`, including the shutdown date for Cloudsmith. - Updated the migration guide URL in the code and added a new constant for the Cloudsmith sunset date. - Enhanced the CLI migration notice to provide clearer instructions for users on repointing their machines and the implications of the migration.
…ation notice code - Added an integrity check in the APK upload script to ensure that the number of APKs in the staging area matches the count in S3 before proceeding with the sync, preventing incomplete uploads. - Simplified comments in the migration notice display function to improve clarity and removed the manual test file for the migration notice.
Description 📣
artifacts-cli.infisical.comand the impending shutdown of Cloudsmith.Type ✨