Skip to content

Add migration guides from dotenv-vault, sops, and git-crypt#34

Merged
nasimstg merged 1 commit intomainfrom
feat/migration-guides
Mar 31, 2026
Merged

Add migration guides from dotenv-vault, sops, and git-crypt#34
nasimstg merged 1 commit intomainfrom
feat/migration-guides

Conversation

@nasimstg
Copy link
Copy Markdown
Owner

Summary

  • Adds step-by-step migration guides for dotenv-vault, sops, and git-crypt
  • Each guide covers: exporting secrets, setting up xenvsync, cleaning up old tool, verification
  • Includes team migration section for V2 vault setup
  • Includes feature comparison table across all four tools
  • Adds migration page to sidebar navigation and search index

Test plan

  • Migration page renders correctly (Vercel preview)
  • Sidebar navigation includes migration link
  • Search index returns results for migration queries
  • All existing tests pass

Closes #18

Copilot AI review requested due to automatic review settings March 31, 2026 19:41
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
xenvsync Ready Ready Preview, Comment Mar 31, 2026 7:45pm

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Migration Guides” docs page to help users move from competing secret-management tools to xenvsync, and wires it into the docs navigation and on-site search.

Changes:

  • Add a new /docs/migration page with guides for dotenv-vault, sops, and git-crypt plus a feature comparison table.
  • Add the migration page to the docs sidebar navigation.
  • Extend the client-side search index with migration-related entries/anchors.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
website/src/components/Sidebar.tsx Adds “Migration Guides” to the docs sidebar under “Learn”.
website/src/components/Search.tsx Adds search index entries for migration anchors (dotenv-vault, sops, git-crypt, comparison).
website/src/app/docs/migration/page.tsx New migration guides page content and metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +54 to +65
<h3 className="text-base font-medium mt-6 mb-2">3. Clean up dotenv-vault</h3>
<CodeBlock language="bash">
{`# Remove dotenv-vault artifacts
rm -f .env.vault # (the old dotenv-vault format, now replaced by xenvsync's)
rm -f .env.keys

# Remove dotenv-vault from dependencies
npm uninstall dotenv-vault

# Commit the new vault
git add .env.vault .gitignore
git commit -m "Migrate from dotenv-vault to xenvsync"`}
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the dotenv-vault migration steps, the cleanup block deletes .env.vault (rm -f .env.vault) but the very next commands ask users to git add .env.vault. Since xenvsync push also produces .env.vault, this instruction would remove the newly created xenvsync vault and make the later steps fail. Consider removing this rm line, or moving it before xenvsync push with clearer wording about deleting the dotenv-vault vault before generating the xenvsync vault.

Copilot uses AI. Check for mistakes.
- Add docs page with step-by-step migration guides for each tool
- Include feature comparison table
- Add migration page to sidebar navigation
- Update search index with migration content

Closes #18
@nasimstg nasimstg force-pushed the feat/migration-guides branch from eefe346 to 2162db1 Compare March 31, 2026 19:45
@nasimstg nasimstg merged commit 93748ac into main Mar 31, 2026
2 checks passed
@nasimstg nasimstg deleted the feat/migration-guides branch April 1, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migration guides from dotenv-vault, sops, and git-crypt

2 participants