From cbc98e83a23991aeda127641b704d67b5d5a5945 Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Sun, 4 Jan 2026 15:04:06 -0500 Subject: [PATCH] refactor: migrate from dtvem org to CodingWithCalvin - Update Go module path from github.com/dtvem/dtvem to github.com/CodingWithCalvin/dtvem.cli - Update all internal imports to new module path - Update GitHub references in README, workflows, issue templates - Update install scripts to use new repo path - Update reusable workflow references to CodingWithCalvin/.github - Remove CONTRIBUTING.md and CODE_OF_CONDUCT.md (inherit from org) --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 +- .github/ISSUE_TEMPLATE/build_request.yml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 6 +- .github/ISSUE_TEMPLATE/feature_request.yml | 4 +- .github/workflows/contributors.yml | 2 +- .../workflows/integration-test-migrations.yml | 36 +-- .../workflows/integration-test-runtimes.yml | 6 +- .github/workflows/integration-test.yml | 42 +-- .github/workflows/preview-changelog.yml | 2 +- .github/workflows/release.yml | 2 +- CLAUDE.md | 20 +- CODE_OF_CONDUCT.md | 133 -------- CONTRIBUTING.md | 303 ------------------ README.md | 8 +- go.mod | 2 +- install.ps1 | 4 +- install.sh | 4 +- scripts/generate-manifests-from-r2/go.mod | 2 +- scripts/mirror-binaries/go.mod | 2 +- src/cmd/current.go | 6 +- src/cmd/freeze.go | 8 +- src/cmd/global.go | 4 +- src/cmd/global_test.go | 2 +- src/cmd/init.go | 6 +- src/cmd/install.go | 8 +- src/cmd/install_test.go | 2 +- src/cmd/list.go | 8 +- src/cmd/listall.go | 8 +- src/cmd/local.go | 4 +- src/cmd/migrate.go | 6 +- src/cmd/request.go | 8 +- src/cmd/reshim.go | 10 +- src/cmd/root.go | 4 +- src/cmd/shim/main.go | 18 +- src/cmd/uninstall.go | 10 +- src/cmd/uninstall_test.go | 2 +- src/cmd/update.go | 6 +- src/cmd/version.go | 2 +- src/cmd/where.go | 8 +- src/cmd/which.go | 10 +- src/internal/config/paths.go | 2 +- src/internal/config/paths_test.go | 2 +- src/internal/download/download.go | 2 +- src/internal/download/extract.go | 2 +- src/internal/download/verify.go | 2 +- src/internal/manifest/default.go | 2 +- src/internal/manifest/fallback_source.go | 2 +- src/internal/path/path_test.go | 2 +- src/internal/path/path_unix.go | 4 +- src/internal/path/path_windows.go | 4 +- src/internal/shim/cache.go | 2 +- src/internal/shim/cache_test.go | 2 +- src/internal/shim/manager.go | 6 +- src/internal/shim/manager_test.go | 4 +- src/main.go | 28 +- src/migrations/node/fnm/provider.go | 2 +- src/migrations/node/fnm/provider_test.go | 2 +- src/migrations/node/nvm/provider.go | 2 +- src/migrations/node/system/provider.go | 4 +- src/migrations/node/system/provider_test.go | 2 +- src/migrations/python/pyenv/provider.go | 2 +- src/migrations/python/pyenv/provider_test.go | 2 +- src/migrations/python/system/provider.go | 4 +- src/migrations/python/system/provider_test.go | 2 +- src/migrations/ruby/chruby/provider.go | 2 +- src/migrations/ruby/chruby/provider_test.go | 2 +- src/migrations/ruby/rbenv/provider.go | 2 +- src/migrations/ruby/rbenv/provider_test.go | 2 +- src/migrations/ruby/rvm/provider.go | 2 +- src/migrations/ruby/rvm/provider_test.go | 2 +- src/migrations/ruby/system/provider.go | 4 +- src/migrations/ruby/system/provider_test.go | 2 +- src/migrations/ruby/uru/provider.go | 2 +- src/migrations/ruby/uru/provider_test.go | 2 +- src/runtimes/node/provider.go | 14 +- src/runtimes/node/provider_test.go | 4 +- src/runtimes/python/provider.go | 14 +- src/runtimes/python/provider_test.go | 4 +- src/runtimes/ruby/provider.go | 14 +- src/runtimes/ruby/provider_test.go | 4 +- 80 files changed, 226 insertions(+), 662 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 956063a..26243cf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,7 +8,7 @@ body: value: | Thanks for taking the time to report a bug! Please fill out the information below to help us diagnose and fix the issue. - **Note:** If you have a question or need help, please use [GitHub Discussions](https://github.com/dtvem/dtvem/discussions) instead of opening an issue. + **Note:** If you have a question or need help, please use [GitHub Discussions](https://github.com/CodingWithCalvin/dtvem.cli/discussions) instead of opening an issue. - type: textarea id: description @@ -128,7 +128,7 @@ body: id: terms attributes: label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/dtvem/dtvem/blob/main/CODE_OF_CONDUCT.md) + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CodingWithCalvin/dtvem.cli/blob/main/CODE_OF_CONDUCT.md) options: - label: I agree to follow this project's Code of Conduct required: true diff --git a/.github/ISSUE_TEMPLATE/build_request.yml b/.github/ISSUE_TEMPLATE/build_request.yml index b19d048..d6b7c19 100644 --- a/.github/ISSUE_TEMPLATE/build_request.yml +++ b/.github/ISSUE_TEMPLATE/build_request.yml @@ -69,7 +69,7 @@ body: id: terms attributes: label: Code of Conduct - description: By submitting this request, you agree to follow our [Code of Conduct](https://github.com/dtvem/dtvem/blob/main/CODE_OF_CONDUCT.md) + description: By submitting this request, you agree to follow our [Code of Conduct](https://github.com/CodingWithCalvin/dtvem.cli/blob/main/CODE_OF_CONDUCT.md) options: - label: I agree to follow this project's Code of Conduct required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fd24dad..f518cd1 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - name: ๐Ÿ’ฌ Ask a Question - url: https://github.com/dtvem/dtvem/discussions + url: https://github.com/CodingWithCalvin/dtvem.cli/discussions about: Have a question? Use GitHub Discussions instead of opening an issue. Get help from the community! - name: ๐Ÿ“– Documentation - url: https://github.com/dtvem/dtvem/blob/main/README.md + url: https://github.com/CodingWithCalvin/dtvem.cli/blob/main/README.md about: Check the README for comprehensive usage instructions, examples, and guides - name: ๐Ÿ—จ๏ธ General Discussions - url: https://github.com/dtvem/dtvem/discussions + url: https://github.com/CodingWithCalvin/dtvem.cli/discussions about: Share ideas, feedback, or discuss anything related to dtvem with the community diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 450944e..f1f6a0a 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -8,7 +8,7 @@ body: value: | Thanks for suggesting a new feature! We appreciate your ideas for improving dtvem. - **Note:** If you have a question or want to discuss ideas before submitting a formal feature request, please use [GitHub Discussions](https://github.com/dtvem/dtvem/discussions). + **Note:** If you have a question or want to discuss ideas before submitting a formal feature request, please use [GitHub Discussions](https://github.com/CodingWithCalvin/dtvem.cli/discussions). - type: textarea id: problem @@ -98,7 +98,7 @@ body: id: terms attributes: label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/dtvem/dtvem/blob/main/CODE_OF_CONDUCT.md) + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/CodingWithCalvin/dtvem.cli/blob/main/CODE_OF_CONDUCT.md) options: - label: I agree to follow this project's Code of Conduct required: true diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index ebf69bf..49af203 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -18,7 +18,7 @@ jobs: GH_TOKEN: ${{ secrets.CONTRIBUTORS_TOKEN }} run: | # Fetch contributors from GitHub API (exclude bots) - contributors=$(gh api repos/dtvem/dtvem/contributors --paginate --jq '.[] | select(.type != "Bot") | select(.login | test("\\[bot\\]$") | not) | "\"\(.login)\"/"') + contributors=$(gh api repos/CodingWithCalvin/dtvem.cli/contributors --paginate --jq '.[] | select(.type != "Bot") | select(.login | test("\\[bot\\]$") | not) | "\"\(.login)\"/"') # Build the contributors section contrib_section=" diff --git a/.github/workflows/integration-test-migrations.yml b/.github/workflows/integration-test-migrations.yml index 810df56..0c46bf0 100644 --- a/.github/workflows/integration-test-migrations.yml +++ b/.github/workflows/integration-test-migrations.yml @@ -13,78 +13,78 @@ jobs: # ========================================================================== migrate-node-ubuntu-system: name: Node.js - System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-ubuntu-system.yml@main migrate-node-ubuntu-nvm: name: Node.js - nvm (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-ubuntu-nvm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-ubuntu-nvm.yml@main migrate-node-macos-system: name: Node.js - System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-macos-system.yml@main migrate-node-macos-fnm: name: Node.js - fnm (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-macos-fnm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-macos-fnm.yml@main migrate-node-windows-system: name: Node.js - System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-windows-system.yml@main migrate-node-windows-nvm: name: Node.js - nvm-windows (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-windows-nvm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-windows-nvm.yml@main # ========================================================================== # Python Migrations # ========================================================================== migrate-python-ubuntu-system: name: Python - System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-ubuntu-system.yml@main migrate-python-ubuntu-pyenv: name: Python - pyenv (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-ubuntu-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-ubuntu-pyenv.yml@main migrate-python-macos-system: name: Python - System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-macos-system.yml@main migrate-python-macos-pyenv: name: Python - pyenv (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-macos-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-macos-pyenv.yml@main migrate-python-windows-system: name: Python - System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-windows-system.yml@main migrate-python-windows-pyenv: name: Python - pyenv-win (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-windows-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-windows-pyenv.yml@main # ========================================================================== # Ruby Migrations # ========================================================================== migrate-ruby-ubuntu-system: name: Ruby - System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-ubuntu-system.yml@main migrate-ruby-ubuntu-rbenv: name: Ruby - rbenv (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-ubuntu-rbenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-ubuntu-rbenv.yml@main migrate-ruby-macos-system: name: Ruby - System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-macos-system.yml@main migrate-ruby-macos-rbenv: name: Ruby - rbenv (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-macos-rbenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-macos-rbenv.yml@main migrate-ruby-windows-system: name: Ruby - System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-windows-system.yml@main migrate-ruby-windows-uru: name: Ruby - uru (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-windows-uru.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-windows-uru.yml@main diff --git a/.github/workflows/integration-test-runtimes.yml b/.github/workflows/integration-test-runtimes.yml index 84ed475..60fd022 100644 --- a/.github/workflows/integration-test-runtimes.yml +++ b/.github/workflows/integration-test-runtimes.yml @@ -10,21 +10,21 @@ permissions: jobs: node: name: Node.js - uses: dtvem/.github/.github/workflows/integration-test-node.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-node.yml@main with: version1: '20.18.0' version2: '22.11.0' python: name: Python - uses: dtvem/.github/.github/workflows/integration-test-python.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-python.yml@main with: version1: '3.11.9' version2: '3.12.7' ruby: name: Ruby - uses: dtvem/.github/.github/workflows/integration-test-ruby.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-ruby.yml@main with: version1: '3.3.6' version2: '3.4.1' diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 3f77109..02ca639 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -16,21 +16,21 @@ jobs: # ========================================================================== node: name: Node.js - uses: dtvem/.github/.github/workflows/integration-test-node.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-node.yml@main with: version1: '20.18.0' version2: '22.11.0' python: name: Python - uses: dtvem/.github/.github/workflows/integration-test-python.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-python.yml@main with: version1: '3.11.9' version2: '3.12.7' ruby: name: Ruby - uses: dtvem/.github/.github/workflows/integration-test-ruby.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-ruby.yml@main with: version1: '3.3.6' version2: '3.4.1' @@ -40,72 +40,72 @@ jobs: # ========================================================================== migrate-node-ubuntu-system: name: Migrate Node.js from System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-ubuntu-system.yml@main migrate-node-ubuntu-nvm: name: Migrate Node.js from nvm (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-ubuntu-nvm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-ubuntu-nvm.yml@main migrate-node-macos-system: name: Migrate Node.js from System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-macos-system.yml@main migrate-node-windows-system: name: Migrate Node.js from System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-windows-system.yml@main migrate-node-macos-fnm: name: Migrate Node.js from fnm (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-macos-fnm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-macos-fnm.yml@main migrate-node-windows-nvm: name: Migrate Node.js from nvm-windows (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-node-windows-nvm.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-node-windows-nvm.yml@main migrate-python-ubuntu-system: name: Migrate Python from System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-ubuntu-system.yml@main migrate-python-ubuntu-pyenv: name: Migrate Python from pyenv (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-ubuntu-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-ubuntu-pyenv.yml@main migrate-python-macos-system: name: Migrate Python from System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-macos-system.yml@main migrate-python-macos-pyenv: name: Migrate Python from pyenv (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-macos-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-macos-pyenv.yml@main migrate-python-windows-system: name: Migrate Python from System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-windows-system.yml@main migrate-python-windows-pyenv: name: Migrate Python from pyenv-win (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-python-windows-pyenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-python-windows-pyenv.yml@main migrate-ruby-ubuntu-system: name: Migrate Ruby from System (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-ubuntu-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-ubuntu-system.yml@main migrate-ruby-ubuntu-rbenv: name: Migrate Ruby from rbenv (Ubuntu) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-ubuntu-rbenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-ubuntu-rbenv.yml@main migrate-ruby-macos-system: name: Migrate Ruby from System (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-macos-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-macos-system.yml@main migrate-ruby-macos-rbenv: name: Migrate Ruby from rbenv (macOS) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-macos-rbenv.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-macos-rbenv.yml@main migrate-ruby-windows-system: name: Migrate Ruby from System (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-windows-system.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-windows-system.yml@main migrate-ruby-windows-uru: name: Migrate Ruby from uru (Windows) - uses: dtvem/.github/.github/workflows/integration-test-migrate-ruby-windows-uru.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/integration-test-migrate-ruby-windows-uru.yml@main diff --git a/.github/workflows/preview-changelog.yml b/.github/workflows/preview-changelog.yml index c2f3926..487ee27 100644 --- a/.github/workflows/preview-changelog.yml +++ b/.github/workflows/preview-changelog.yml @@ -8,7 +8,7 @@ on: jobs: generate: name: Generate - uses: dtvem/.github/.github/workflows/generate-changelog.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/generate-changelog.yml@main secrets: inherit preview: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf161f4..751e2b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -229,7 +229,7 @@ jobs: changelog: name: Generate Changelog needs: build - uses: dtvem/.github/.github/workflows/generate-changelog.yml@main + uses: CodingWithCalvin/.github/.github/workflows/dtvem/generate-changelog.yml@main secrets: inherit release: diff --git a/CLAUDE.md b/CLAUDE.md index cdcbedb..7b25314 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,22 +70,22 @@ gh issue close ```bash # List what blocks an issue -gh api repos/dtvem/dtvem/issues//dependencies/blocked_by --jq '.[] | "#\(.number) \(.title)"' +gh api repos/CodingWithCalvin/dtvem.cli/issues//dependencies/blocked_by --jq '.[] | "#\(.number) \(.title)"' # List what an issue blocks -gh api repos/dtvem/dtvem/issues//dependencies/blocking --jq '.[] | "#\(.number) \(.title)"' +gh api repos/CodingWithCalvin/dtvem.cli/issues//dependencies/blocking --jq '.[] | "#\(.number) \(.title)"' # Add a blocking relationship (issue is blocked by ) # First get the blocker's numeric ID (not issue number): -gh api repos/dtvem/dtvem/issues/ --jq '.id' +gh api repos/CodingWithCalvin/dtvem.cli/issues/ --jq '.id' # Then add the dependency: -gh api repos/dtvem/dtvem/issues//dependencies/blocked_by -X POST -F issue_id= +gh api repos/CodingWithCalvin/dtvem.cli/issues//dependencies/blocked_by -X POST -F issue_id= # Remove a blocking relationship -gh api repos/dtvem/dtvem/issues//dependencies/blocked_by/ -X DELETE +gh api repos/CodingWithCalvin/dtvem.cli/issues//dependencies/blocked_by/ -X DELETE ``` -**Note:** The API uses numeric issue IDs (not issue numbers) for POST/DELETE operations. Get the ID with `gh api repos/dtvem/dtvem/issues/ --jq '.id'` +**Note:** The API uses numeric issue IDs (not issue numbers) for POST/DELETE operations. Get the ID with `gh api repos/CodingWithCalvin/dtvem.cli/issues/ --jq '.id'` --- @@ -176,9 +176,9 @@ func init() { // src/main.go - blank imports trigger registration import ( - _ "github.com/dtvem/dtvem/src/runtimes/node" - _ "github.com/dtvem/dtvem/src/runtimes/python" - _ "github.com/dtvem/dtvem/src/runtimes/ruby" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/node" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/python" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/ruby" ) ``` @@ -200,7 +200,7 @@ import ( 1. Create `src/runtimes//provider.go` 2. Implement `runtime.Provider` interface (all 20 methods) 3. Add `init()` function: `runtime.Register(NewProvider())` -4. Import in `src/main.go`: `_ "github.com/dtvem/dtvem/src/runtimes/"` +4. Import in `src/main.go`: `_ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/"` 5. Update `schemas/runtimes.schema.json` enum The shim mappings are automatically registered via `Shims()`. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 8ad2505..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,133 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, -nationality, personal appearance, race, caste, color, religion, or sexual -identity and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, -diverse, inclusive, and healthy community. - -## Our Standards - -Examples of behavior that contributes to a positive environment for our -community include: - -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -* Focusing on what is best not just for us as individuals, but for the overall - community - -Examples of unacceptable behavior include: - -* The use of sexualized language or imagery, and sexual attention or advances of - any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email address, - without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of -acceptable behavior and will take appropriate and fair corrective action in -response to any behavior that they deem inappropriate, threatening, offensive, -or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, and will communicate reasons for moderation -decisions when appropriate. - -## Scope - -This Code of Conduct applies within all community spaces, and also applies when -an individual is officially representing the community in public spaces. -Examples of representing our community include using an official e-mail address, -posting via an official social media account, or acting as an appointed -representative at an online or offline event. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the community leaders responsible for enforcement via GitHub issues -or by contacting the project maintainers directly. - -All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the -reporter of any incident. - -## Enforcement Guidelines - -Community leaders will follow these Community Impact Guidelines in determining -the consequences for any action they deem in violation of this Code of Conduct: - -### 1. Correction - -**Community Impact**: Use of inappropriate language or other behavior deemed -unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing -clarity around the nature of the violation and an explanation of why the -behavior was inappropriate. A public apology may be requested. - -### 2. Warning - -**Community Impact**: A violation through a single incident or series of -actions. - -**Consequence**: A warning with consequences for continued behavior. No -interaction with the people involved, including unsolicited interaction with -those enforcing the Code of Conduct, for a specified period of time. This -includes avoiding interactions in community spaces as well as external channels -like social media. Violating these terms may lead to a temporary or permanent -ban. - -### 3. Temporary Ban - -**Community Impact**: A serious violation of community standards, including -sustained inappropriate behavior. - -**Consequence**: A temporary ban from any sort of interaction or public -communication with the community for a specified period of time. No public or -private interaction with the people involved, including unsolicited interaction -with those enforcing the Code of Conduct, is allowed during this period. -Violating these terms may lead to a permanent ban. - -### 4. Permanent Ban - -**Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an -individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within the -community. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], -version 2.1, available at -[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. - -Community Impact Guidelines were inspired by -[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. - -For answers to common questions about this code of conduct, see the FAQ at -[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at -[https://www.contributor-covenant.org/translations][translations]. - -[homepage]: https://www.contributor-covenant.org -[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html -[Mozilla CoC]: https://github.com/mozilla/diversity -[FAQ]: https://www.contributor-covenant.org/faq -[translations]: https://www.contributor-covenant.org/translations diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 3f9ce94..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,303 +0,0 @@ -# Contributing to dtvem - -First off, thank you for considering contributing to dtvem! It's people like you that make dtvem such a great tool. - -## Code of Conduct - -This project and everyone participating in it is governed by the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior by opening a GitHub issue or contacting the project maintainers. - -## How Can I Contribute? - -### Reporting Bugs - -Before creating bug reports, please check the existing issues to avoid duplicates. When creating a bug report, include as many details as possible: - -- **Use a clear and descriptive title** -- **Describe the exact steps to reproduce the problem** -- **Provide specific examples** (commands run, expected vs actual behavior) -- **Describe the environment** (OS, Go version, dtvem version) -- **Include logs or error messages** if applicable - -### Suggesting Enhancements - -Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion: - -- **Use a clear and descriptive title** -- **Provide a detailed description** of the suggested enhancement -- **Explain why this enhancement would be useful** to most dtvem users -- **List any alternatives** you've considered - -### Pull Requests - -1. Fork the repo and create your branch from `main` -2. If you've added code that should be tested, add tests -3. Ensure your code follows the existing style -4. **Use a conventional commit format for your PR title** (e.g., `feat(node): add version caching`) -5. Submit your pull request! - -**Note:** We use squash merges, so your PR title becomes the commit message on main. Make sure it follows the [Conventional Commits](https://www.conventionalcommits.org/) specification. - -## Development Setup - -### Prerequisites - -- Go 1.23 or higher -- Git -- A code editor (VS Code, GoLand, etc.) - -### Building - -```bash -# Clone your fork -git clone https://github.com/YOUR_USERNAME/dtvem.git -cd dtvem - -# Build the main executable -go build -o dist/dtvem.exe ./src - -# Build the shim executable -go build -o dist/dtvem-shim.exe ./src/cmd/shim - -# Run the executable -./dist/dtvem.exe help -``` - -### Running Tests - -```bash -# Run all tests (when implemented) -go test ./... - -# Run tests with coverage -go test -cover ./... - -# Run tests for a specific package -go test ./src/internal/runtime/ -``` - -## Coding Standards - -### Go Style Guide - -This project follows the [Google Go Style Guide](https://google.github.io/styleguide/go/) as documented in `.claude/GO_STYLEGUIDE.md`. - -**Required before submitting:** -- Run `golangci-lint run` to check formatting, style, and correctness (includes gofmt, govet, and 40+ linters) -- Ensure `go mod tidy` has been run - -**Code quality tools:** -- **golangci-lint v1.62+**: Comprehensive linting (includes gofmt, goimports, govet, staticcheck, revive, and 40+ more linters) -- All checks run automatically on every PR - -### Installing golangci-lint - -**macOS:** -```bash -# Using Homebrew (recommended) -brew install golangci-lint - -# Update to latest version -brew upgrade golangci-lint -``` - -**Linux:** -```bash -# Using Homebrew -brew install golangci-lint - -# Or using install script -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin - -# Or using binary (replace VERSION and OS/ARCH) -curl -sSfL https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-linux-amd64.tar.gz | tar xz -C $(go env GOPATH)/bin --strip-components=1 golangci-lint-1.55.2-linux-amd64/golangci-lint -``` - -**Windows:** -```powershell -# Using WinGet (recommended - pre-installed on Windows 10/11) -winget install golangci.golangci-lint - -# Update to latest version -winget upgrade golangci.golangci-lint - -# Using Scoop -scoop install golangci-lint - -# Using Chocolatey -choco install golangci-lint - -# Or download binary from releases page -# https://github.com/golangci/golangci-lint/releases -``` - -**Any Platform (using Go):** -```bash -# Install latest version (v1.62+ required for Go 1.23) -go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest - -# Or install specific version -go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2 - -# Verify installation (should be v1.62+) -golangci-lint --version -``` - -**Note:** If using `go install`, make sure `$(go env GOPATH)/bin` is in your PATH. - -### Running Linters Locally - -```bash -# Run all linters (what CI runs) - includes gofmt, govet, and 40+ more -golangci-lint run - -# Auto-fix issues where possible (including formatting) -golangci-lint run --fix - -# Run all checks before committing -golangci-lint run && go mod tidy && go test ./src/... - -# Run specific linters only -golangci-lint run --disable-all --enable=errcheck,govet,gofmt -``` - -**Note:** `golangci-lint` automatically includes `gofmt`, `goimports`, and `govet`, so you don't need to run them separately! - -### Code Organization - -``` -src/ -โ”œโ”€โ”€ cmd/ # CLI commands (one file per command) -โ”œโ”€โ”€ internal/ # Internal packages (not importable by other projects) -โ”‚ โ”œโ”€โ”€ config/ # Configuration and path management -โ”‚ โ”œโ”€โ”€ runtime/ # Core plugin system -โ”‚ โ””โ”€โ”€ shim/ # Shim management -โ””โ”€โ”€ runtimes/ # Runtime provider implementations - โ”œโ”€โ”€ node/ - โ”œโ”€โ”€ python/ - โ””โ”€โ”€ ruby/ -``` - -### Commit Messages - -This project follows the [Conventional Commits](https://www.conventionalcommits.org/) specification. All commits must follow this format: - -``` -(): -``` - -**Examples:** -``` -feat(python): add Python 3.12 detection support -fix(node): correct version detection on Windows -docs: update installation instructions -test(migrate): add tests for package preservation -``` - -**Common types:** `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore` - -**Common scopes:** `node`, `python`, `cli`, `install`, `migrate`, `shim`, `config`, `path`, `ui`, `test`, `docs` - -For detailed guidelines, see the [Conventional Commits specification](https://www.conventionalcommits.org/). - -**Note:** PR titles are automatically validated for conventional commit compliance. Non-conforming titles will fail CI checks. Since we use squash merges, your PR title becomes the final commit message. - -## Adding a New Runtime Provider - -To add support for a new runtime (e.g., Ruby): - -1. Create `src/runtimes/ruby/provider.go` -2. Implement the `runtime.Provider` interface (which embeds `runtime.ShimProvider`): - ```go - type Provider struct {} - - // ShimProvider methods (used by the shim binary) - func (p *Provider) Name() string { return "ruby" } - func (p *Provider) DisplayName() string { return "Ruby" } - func (p *Provider) Shims() []string { return []string{"ruby", "gem", "bundle"} } - func (p *Provider) ExecutablePath(version string) (string, error) { ... } - func (p *Provider) IsInstalled(version string) (bool, error) { ... } - func (p *Provider) ShouldReshimAfter(shimName string, args []string) bool { ... } - - // Provider-only methods (used by CLI, can include net/http) - func (p *Provider) Install(version string) error { ... } - func (p *Provider) ListAvailable() ([]runtime.AvailableVersion, error) { ... } - // ... implement remaining methods - ``` -3. Register the provider in the `init()` function: - ```go - func init() { - runtime.Register(NewProvider()) - } - ``` -4. Import the provider in **both** files: - - `src/main.go` (for the CLI) - - `src/cmd/shim/main.go` (for the shim) - ```go - _ "github.com/dtvem/dtvem/src/runtimes/ruby" - ``` -5. Add tests using the provider contract harness -6. Update README.md to reflect the new runtime support - -### ShimProvider vs Provider - -The `Provider` interface embeds `ShimProvider`. This separation exists for performance: - -- **ShimProvider**: Minimal interface used by the shim binary. Methods here should NOT import `net/http` or other heavy dependencies. -- **Provider**: Full interface for CLI operations. Can use any dependencies. - -Go's linker eliminates unused code, so keeping `ShimProvider` methods dependency-free results in a smaller, faster shim binary (~4.5MB vs ~10MB). - -## Testing Guidelines - -When writing tests: - -- Place test files next to the code they test (`provider_test.go` next to `provider.go`) -- Use table-driven tests where appropriate -- Test both success and error cases -- Mock external dependencies (network calls, file system) -- Use descriptive test names: `TestNodeProvider_DetectInstalled_WithNVM` - -Example test structure: -```go -func TestNodeProvider_DetectInstalled(t *testing.T) { - tests := []struct { - name string - setup func() - want int - wantErr bool - }{ - { - name: "detects system node", - setup: func() { /* setup test environment */ }, - want: 1, - wantErr: false, - }, - } - - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - // test implementation - }) - } -} -``` - -## Documentation - -- Update README.md when adding new features -- Close related GitHub Issues when completing work -- Add inline comments for complex logic -- Update command help text when modifying commands -- Add examples for new functionality - -## Questions? - -Feel free to open an issue with the label `question` if you need help or clarification on anything! - -## Recognition - -Contributors will be recognized in the README.md and release notes. Thank you for making dtvem better! - ---- - -Happy Contributing! ๐Ÿš€ diff --git a/README.md b/README.md index 10a6903..3d20043 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ [![License](https://img.shields.io/badge/license-MIT-green?style=for-the-badge)]() [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow?style=for-the-badge)](https://conventionalcommits.org) - [![Build & Test](https://img.shields.io/github/actions/workflow/status/dtvem/dtvem/build.yml?style=for-the-badge&label=Build%20%26%20Test)](https://github.com/dtvem/dtvem/actions) - [![Release](https://img.shields.io/github/actions/workflow/status/dtvem/dtvem/release.yml?style=for-the-badge&label=Release)](https://github.com/dtvem/dtvem/actions) + [![Build & Test](https://img.shields.io/github/actions/workflow/status/CodingWithCalvin/dtvem.cli/build.yml?style=for-the-badge&label=Build%20%26%20Test)](https://github.com/CodingWithCalvin/dtvem.cli/actions) + [![Release](https://img.shields.io/github/actions/workflow/status/CodingWithCalvin/dtvem.cli/release.yml?style=for-the-badge&label=Release)](https://github.com/CodingWithCalvin/dtvem.cli/actions) **[Documentation](https://dtvem.io/docs)** ยท **[Installation](https://dtvem.io/docs/user-guide/getting-started)** ยท **[Quick Start](https://dtvem.io/docs/user-guide/getting-started)** ยท **[Commands](https://dtvem.io/docs/user-guide/commands/overview)** @@ -101,14 +101,14 @@ Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for: ```bash # First, install dtvem (see Installation section above) # Then clone and set up the development environment: -git clone https://github.com/dtvem/dtvem.git +git clone https://github.com/CodingWithCalvin/dtvem.cli.git cd dtvem dtvem install # Install Node.js for git hooks npm install # Set up dev dependencies npm run check # Run format, lint, and tests ``` -Looking for something to work on? Check out [good first issues](https://github.com/dtvem/dtvem/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). +Looking for something to work on? Check out [good first issues](https://github.com/CodingWithCalvin/dtvem.cli/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). ## ๐Ÿ‘ฅ Contributors diff --git a/go.mod b/go.mod index 969beb3..3c348fc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dtvem/dtvem +module github.com/CodingWithCalvin/dtvem.cli go 1.23 diff --git a/install.ps1 b/install.ps1 index c11c735..569b89a 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,9 +1,9 @@ # dtvem installer for Windows -# Usage: irm https://raw.githubusercontent.com/dtvem/dtvem/main/install.ps1 | iex +# Usage: irm https://raw.githubusercontent.com/CodingWithCalvin/dtvem.cli/main/install.ps1 | iex $ErrorActionPreference = "Stop" -$REPO = "dtvem/dtvem" +$REPO = "CodingWithCalvin/dtvem.cli" # Get dtvem root directory # Respects DTVEM_ROOT environment variable if set, otherwise uses default diff --git a/install.sh b/install.sh index 1070a00..7cb6143 100644 --- a/install.sh +++ b/install.sh @@ -2,9 +2,9 @@ set -e # dtvem installer for macOS and Linux -# Usage: curl -fsSL https://raw.githubusercontent.com/dtvem/dtvem/main/install.sh | bash +# Usage: curl -fsSL https://raw.githubusercontent.com/CodingWithCalvin/dtvem.cli/main/install.sh | bash -REPO="dtvem/dtvem" +REPO="CodingWithCalvin/dtvem.cli" # This will be replaced with the actual version during release # Format: DTVEM_RELEASE_VERSION="1.0.0" diff --git a/scripts/generate-manifests-from-r2/go.mod b/scripts/generate-manifests-from-r2/go.mod index 5e385d4..4295103 100644 --- a/scripts/generate-manifests-from-r2/go.mod +++ b/scripts/generate-manifests-from-r2/go.mod @@ -1,4 +1,4 @@ -module github.com/dtvem/dtvem/scripts/generate-manifests-from-r2 +module github.com/CodingWithCalvin/dtvem.cli/scripts/generate-manifests-from-r2 go 1.23.0 diff --git a/scripts/mirror-binaries/go.mod b/scripts/mirror-binaries/go.mod index c856aae..04e1475 100644 --- a/scripts/mirror-binaries/go.mod +++ b/scripts/mirror-binaries/go.mod @@ -1,4 +1,4 @@ -module github.com/dtvem/dtvem/scripts/mirror-binaries +module github.com/CodingWithCalvin/dtvem.cli/scripts/mirror-binaries go 1.23.0 diff --git a/src/cmd/current.go b/src/cmd/current.go index b9e1c90..6ac8ea8 100644 --- a/src/cmd/current.go +++ b/src/cmd/current.go @@ -3,9 +3,9 @@ package cmd import ( "fmt" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/freeze.go b/src/cmd/freeze.go index 8816a68..2087f7e 100644 --- a/src/cmd/freeze.go +++ b/src/cmd/freeze.go @@ -8,10 +8,10 @@ import ( "strconv" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/global.go b/src/cmd/global.go index f8976f3..0c45255 100644 --- a/src/cmd/global.go +++ b/src/cmd/global.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/global_test.go b/src/cmd/global_test.go index 5acbb02..7639c75 100644 --- a/src/cmd/global_test.go +++ b/src/cmd/global_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/dtvem/dtvem/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" ) func TestVersionValidation_InstalledVersion(t *testing.T) { diff --git a/src/cmd/init.go b/src/cmd/init.go index 573d934..14b97f1 100644 --- a/src/cmd/init.go +++ b/src/cmd/init.go @@ -1,9 +1,9 @@ package cmd import ( - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/path" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/path" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/install.go b/src/cmd/install.go index 917e9bf..55e1cc5 100644 --- a/src/cmd/install.go +++ b/src/cmd/install.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/install_test.go b/src/cmd/install_test.go index 056a256..3b87e99 100644 --- a/src/cmd/install_test.go +++ b/src/cmd/install_test.go @@ -3,7 +3,7 @@ package cmd import ( "testing" - "github.com/dtvem/dtvem/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" ) // mockProvider implements runtime.Provider for testing diff --git a/src/cmd/list.go b/src/cmd/list.go index 2861779..51ce4f7 100644 --- a/src/cmd/list.go +++ b/src/cmd/list.go @@ -3,10 +3,10 @@ package cmd import ( "fmt" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/listall.go b/src/cmd/listall.go index 268c7aa..17a5aed 100644 --- a/src/cmd/listall.go +++ b/src/cmd/listall.go @@ -6,10 +6,10 @@ import ( "os" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/local.go b/src/cmd/local.go index 4a91f45..3819ad7 100644 --- a/src/cmd/local.go +++ b/src/cmd/local.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/migrate.go b/src/cmd/migrate.go index 5916c5c..d4eec50 100644 --- a/src/cmd/migrate.go +++ b/src/cmd/migrate.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - "github.com/dtvem/dtvem/src/internal/migration" - internalRuntime "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" + internalRuntime "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/request.go b/src/cmd/request.go index 99f2ec3..23007f7 100644 --- a/src/cmd/request.go +++ b/src/cmd/request.go @@ -7,14 +7,14 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/manifest" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/manifest" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) const ( - buildRequestURL = "https://github.com/dtvem/dtvem/issues/new" + buildRequestURL = "https://github.com/CodingWithCalvin/dtvem.cli/issues/new" ) var requestCmd = &cobra.Command{ diff --git a/src/cmd/reshim.go b/src/cmd/reshim.go index 653ff55..98f42a4 100644 --- a/src/cmd/reshim.go +++ b/src/cmd/reshim.go @@ -5,11 +5,11 @@ import ( "sort" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/root.go b/src/cmd/root.go index 4d79297..838675f 100644 --- a/src/cmd/root.go +++ b/src/cmd/root.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/shim/main.go b/src/cmd/shim/main.go index 1783a6c..880e3d3 100644 --- a/src/cmd/shim/main.go +++ b/src/cmd/shim/main.go @@ -10,17 +10,17 @@ import ( "strings" "syscall" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/path" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/path" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" // Import runtime providers to register them - _ "github.com/dtvem/dtvem/src/runtimes/node" - _ "github.com/dtvem/dtvem/src/runtimes/python" - _ "github.com/dtvem/dtvem/src/runtimes/ruby" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/node" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/python" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/ruby" ) func main() { diff --git a/src/cmd/uninstall.go b/src/cmd/uninstall.go index 611cae3..f24a92e 100644 --- a/src/cmd/uninstall.go +++ b/src/cmd/uninstall.go @@ -5,11 +5,11 @@ import ( "os" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/uninstall_test.go b/src/cmd/uninstall_test.go index 85ac528..96db50e 100644 --- a/src/cmd/uninstall_test.go +++ b/src/cmd/uninstall_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/dtvem/dtvem/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" ) func TestUninstallCommand_VersionStripping(t *testing.T) { diff --git a/src/cmd/update.go b/src/cmd/update.go index 34470a9..4832485 100644 --- a/src/cmd/update.go +++ b/src/cmd/update.go @@ -3,9 +3,9 @@ package cmd import ( "fmt" - "github.com/dtvem/dtvem/src/internal/manifest" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/manifest" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/version.go b/src/cmd/version.go index a3f9744..d7d16d2 100644 --- a/src/cmd/version.go +++ b/src/cmd/version.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - "github.com/dtvem/dtvem/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" "github.com/spf13/cobra" ) diff --git a/src/cmd/where.go b/src/cmd/where.go index c4e3371..a1e0236 100644 --- a/src/cmd/where.go +++ b/src/cmd/where.go @@ -4,10 +4,10 @@ import ( "fmt" "os" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/tui" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/tui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/cmd/which.go b/src/cmd/which.go index b70ea39..9c5a9f4 100644 --- a/src/cmd/which.go +++ b/src/cmd/which.go @@ -6,11 +6,11 @@ import ( "path/filepath" goruntime "runtime" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/spf13/cobra" ) diff --git a/src/internal/config/paths.go b/src/internal/config/paths.go index a2cf3b4..b6c7ff6 100644 --- a/src/internal/config/paths.go +++ b/src/internal/config/paths.go @@ -7,7 +7,7 @@ import ( "runtime" "sync" - "github.com/dtvem/dtvem/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" ) // Paths holds all important dtvem directory paths diff --git a/src/internal/config/paths_test.go b/src/internal/config/paths_test.go index c119c39..79d6bdc 100644 --- a/src/internal/config/paths_test.go +++ b/src/internal/config/paths_test.go @@ -8,7 +8,7 @@ import ( "sync" "testing" - "github.com/dtvem/dtvem/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" ) func TestGetPaths(t *testing.T) { diff --git a/src/internal/download/download.go b/src/internal/download/download.go index 7431062..180d2dd 100644 --- a/src/internal/download/download.go +++ b/src/internal/download/download.go @@ -8,7 +8,7 @@ import ( "os" "path/filepath" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/schollz/progressbar/v3" ) diff --git a/src/internal/download/extract.go b/src/internal/download/extract.go index bbadf87..8c998b9 100644 --- a/src/internal/download/extract.go +++ b/src/internal/download/extract.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/bodgit/sevenzip" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // archiveFile is an interface for files within an archive (zip or 7z) diff --git a/src/internal/download/verify.go b/src/internal/download/verify.go index 002df60..b947331 100644 --- a/src/internal/download/verify.go +++ b/src/internal/download/verify.go @@ -10,7 +10,7 @@ import ( "path/filepath" "strings" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "github.com/schollz/progressbar/v3" ) diff --git a/src/internal/manifest/default.go b/src/internal/manifest/default.go index b9ddf71..97bb7fd 100644 --- a/src/internal/manifest/default.go +++ b/src/internal/manifest/default.go @@ -4,7 +4,7 @@ import ( "path/filepath" "sync" - "github.com/dtvem/dtvem/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" ) var ( diff --git a/src/internal/manifest/fallback_source.go b/src/internal/manifest/fallback_source.go index 51d7ec4..7b678e1 100644 --- a/src/internal/manifest/fallback_source.go +++ b/src/internal/manifest/fallback_source.go @@ -1,7 +1,7 @@ package manifest import ( - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // FallbackSource tries multiple sources in order, falling back on failure. diff --git a/src/internal/path/path_test.go b/src/internal/path/path_test.go index a26aac3..cfb570d 100644 --- a/src/internal/path/path_test.go +++ b/src/internal/path/path_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/dtvem/dtvem/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" ) func TestIsInPath(t *testing.T) { diff --git a/src/internal/path/path_unix.go b/src/internal/path/path_unix.go index 94b76f7..8c65ac3 100644 --- a/src/internal/path/path_unix.go +++ b/src/internal/path/path_unix.go @@ -9,8 +9,8 @@ import ( "path/filepath" "strings" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // DetectShell returns the user's shell name (bash, zsh, fish, etc.) diff --git a/src/internal/path/path_windows.go b/src/internal/path/path_windows.go index 895fe2c..8695006 100644 --- a/src/internal/path/path_windows.go +++ b/src/internal/path/path_windows.go @@ -11,8 +11,8 @@ import ( "syscall" "unsafe" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" "golang.org/x/sys/windows" "golang.org/x/sys/windows/registry" ) diff --git a/src/internal/shim/cache.go b/src/internal/shim/cache.go index f4e25ee..fc5dd3c 100644 --- a/src/internal/shim/cache.go +++ b/src/internal/shim/cache.go @@ -6,7 +6,7 @@ import ( "os" "sync" - "github.com/dtvem/dtvem/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" ) // ShimMap represents the shim-to-runtime mapping cache diff --git a/src/internal/shim/cache_test.go b/src/internal/shim/cache_test.go index ca2226a..0341e1b 100644 --- a/src/internal/shim/cache_test.go +++ b/src/internal/shim/cache_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/dtvem/dtvem/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" ) func TestSaveAndLoadShimMap(t *testing.T) { diff --git a/src/internal/shim/manager.go b/src/internal/shim/manager.go index ee81d5a..a463a89 100644 --- a/src/internal/shim/manager.go +++ b/src/internal/shim/manager.go @@ -8,9 +8,9 @@ import ( "path/filepath" "runtime" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - runtimepkg "github.com/dtvem/dtvem/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + runtimepkg "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" ) // Manager handles shim creation and management diff --git a/src/internal/shim/manager_test.go b/src/internal/shim/manager_test.go index 8961104..8ac3fa7 100644 --- a/src/internal/shim/manager_test.go +++ b/src/internal/shim/manager_test.go @@ -7,8 +7,8 @@ import ( "runtime" "testing" - "github.com/dtvem/dtvem/src/internal/constants" - runtimepkg "github.com/dtvem/dtvem/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + runtimepkg "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" ) // mockProvider for testing diff --git a/src/main.go b/src/main.go index 4119443..23dc3b0 100644 --- a/src/main.go +++ b/src/main.go @@ -1,29 +1,29 @@ package main import ( - "github.com/dtvem/dtvem/src/cmd" + "github.com/CodingWithCalvin/dtvem.cli/src/cmd" // Import runtime providers to register them - _ "github.com/dtvem/dtvem/src/runtimes/node" - _ "github.com/dtvem/dtvem/src/runtimes/python" - _ "github.com/dtvem/dtvem/src/runtimes/ruby" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/node" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/python" + _ "github.com/CodingWithCalvin/dtvem.cli/src/runtimes/ruby" // Import migration providers to register them // Node.js migration providers - _ "github.com/dtvem/dtvem/src/migrations/node/fnm" - _ "github.com/dtvem/dtvem/src/migrations/node/nvm" - _ "github.com/dtvem/dtvem/src/migrations/node/system" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/node/fnm" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/node/nvm" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/node/system" // Python migration providers - _ "github.com/dtvem/dtvem/src/migrations/python/pyenv" - _ "github.com/dtvem/dtvem/src/migrations/python/system" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/python/pyenv" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/python/system" // Ruby migration providers - _ "github.com/dtvem/dtvem/src/migrations/ruby/chruby" - _ "github.com/dtvem/dtvem/src/migrations/ruby/rbenv" - _ "github.com/dtvem/dtvem/src/migrations/ruby/rvm" - _ "github.com/dtvem/dtvem/src/migrations/ruby/system" - _ "github.com/dtvem/dtvem/src/migrations/ruby/uru" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/ruby/chruby" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/ruby/rbenv" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/ruby/rvm" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/ruby/system" + _ "github.com/CodingWithCalvin/dtvem.cli/src/migrations/ruby/uru" ) func main() { diff --git a/src/migrations/node/fnm/provider.go b/src/migrations/node/fnm/provider.go index 9745339..c79da0f 100644 --- a/src/migrations/node/fnm/provider.go +++ b/src/migrations/node/fnm/provider.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for fnm. diff --git a/src/migrations/node/fnm/provider_test.go b/src/migrations/node/fnm/provider_test.go index f0af28b..d6b5b91 100644 --- a/src/migrations/node/fnm/provider_test.go +++ b/src/migrations/node/fnm/provider_test.go @@ -3,7 +3,7 @@ package fnm import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/node/nvm/provider.go b/src/migrations/node/nvm/provider.go index 171df28..1782177 100644 --- a/src/migrations/node/nvm/provider.go +++ b/src/migrations/node/nvm/provider.go @@ -8,7 +8,7 @@ import ( "regexp" "strings" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for nvm. diff --git a/src/migrations/node/system/provider.go b/src/migrations/node/system/provider.go index d5c3d75..dad624c 100644 --- a/src/migrations/node/system/provider.go +++ b/src/migrations/node/system/provider.go @@ -7,8 +7,8 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/migration" - "github.com/dtvem/dtvem/src/internal/path" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/path" ) // Provider implements the migration.Provider interface for system-installed Node.js. diff --git a/src/migrations/node/system/provider_test.go b/src/migrations/node/system/provider_test.go index 3d69c75..6205696 100644 --- a/src/migrations/node/system/provider_test.go +++ b/src/migrations/node/system/provider_test.go @@ -3,7 +3,7 @@ package system import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/python/pyenv/provider.go b/src/migrations/python/pyenv/provider.go index 787373c..00f0c09 100644 --- a/src/migrations/python/pyenv/provider.go +++ b/src/migrations/python/pyenv/provider.go @@ -7,7 +7,7 @@ import ( "path/filepath" "regexp" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for pyenv. diff --git a/src/migrations/python/pyenv/provider_test.go b/src/migrations/python/pyenv/provider_test.go index e3bc2f6..047f542 100644 --- a/src/migrations/python/pyenv/provider_test.go +++ b/src/migrations/python/pyenv/provider_test.go @@ -3,7 +3,7 @@ package pyenv import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/python/system/provider.go b/src/migrations/python/system/provider.go index e9f2365..fe5fa4c 100644 --- a/src/migrations/python/system/provider.go +++ b/src/migrations/python/system/provider.go @@ -7,8 +7,8 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/migration" - "github.com/dtvem/dtvem/src/internal/path" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/path" ) // Provider implements the migration.Provider interface for system-installed Python. diff --git a/src/migrations/python/system/provider_test.go b/src/migrations/python/system/provider_test.go index 2185527..cf1878b 100644 --- a/src/migrations/python/system/provider_test.go +++ b/src/migrations/python/system/provider_test.go @@ -3,7 +3,7 @@ package system import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/ruby/chruby/provider.go b/src/migrations/ruby/chruby/provider.go index 178915e..85a6978 100644 --- a/src/migrations/ruby/chruby/provider.go +++ b/src/migrations/ruby/chruby/provider.go @@ -7,7 +7,7 @@ import ( "path/filepath" "regexp" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for chruby. diff --git a/src/migrations/ruby/chruby/provider_test.go b/src/migrations/ruby/chruby/provider_test.go index 378121e..4b8321c 100644 --- a/src/migrations/ruby/chruby/provider_test.go +++ b/src/migrations/ruby/chruby/provider_test.go @@ -3,7 +3,7 @@ package chruby import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/ruby/rbenv/provider.go b/src/migrations/ruby/rbenv/provider.go index 9226997..4c848f7 100644 --- a/src/migrations/ruby/rbenv/provider.go +++ b/src/migrations/ruby/rbenv/provider.go @@ -7,7 +7,7 @@ import ( "path/filepath" "regexp" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for rbenv. diff --git a/src/migrations/ruby/rbenv/provider_test.go b/src/migrations/ruby/rbenv/provider_test.go index 4474940..28f4032 100644 --- a/src/migrations/ruby/rbenv/provider_test.go +++ b/src/migrations/ruby/rbenv/provider_test.go @@ -3,7 +3,7 @@ package rbenv import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/ruby/rvm/provider.go b/src/migrations/ruby/rvm/provider.go index 1ca8611..2a4616d 100644 --- a/src/migrations/ruby/rvm/provider.go +++ b/src/migrations/ruby/rvm/provider.go @@ -7,7 +7,7 @@ import ( "path/filepath" "regexp" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // Provider implements the migration.Provider interface for rvm. diff --git a/src/migrations/ruby/rvm/provider_test.go b/src/migrations/ruby/rvm/provider_test.go index 1afb638..08d421f 100644 --- a/src/migrations/ruby/rvm/provider_test.go +++ b/src/migrations/ruby/rvm/provider_test.go @@ -3,7 +3,7 @@ package rvm import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/ruby/system/provider.go b/src/migrations/ruby/system/provider.go index d719a6c..5d5e3a3 100644 --- a/src/migrations/ruby/system/provider.go +++ b/src/migrations/ruby/system/provider.go @@ -7,8 +7,8 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/migration" - "github.com/dtvem/dtvem/src/internal/path" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/path" ) // Provider implements the migration.Provider interface for system-installed Ruby. diff --git a/src/migrations/ruby/system/provider_test.go b/src/migrations/ruby/system/provider_test.go index 56b12e6..f5cab62 100644 --- a/src/migrations/ruby/system/provider_test.go +++ b/src/migrations/ruby/system/provider_test.go @@ -3,7 +3,7 @@ package system import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/migrations/ruby/uru/provider.go b/src/migrations/ruby/uru/provider.go index a628e85..732c224 100644 --- a/src/migrations/ruby/uru/provider.go +++ b/src/migrations/ruby/uru/provider.go @@ -9,7 +9,7 @@ import ( "regexp" goruntime "runtime" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) // rubyEntry represents a Ruby installation in uru's rubies.json. diff --git a/src/migrations/ruby/uru/provider_test.go b/src/migrations/ruby/uru/provider_test.go index c17cc51..7f3945f 100644 --- a/src/migrations/ruby/uru/provider_test.go +++ b/src/migrations/ruby/uru/provider_test.go @@ -3,7 +3,7 @@ package uru import ( "testing" - "github.com/dtvem/dtvem/src/internal/migration" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/migration" ) func TestProvider(t *testing.T) { diff --git a/src/runtimes/node/provider.go b/src/runtimes/node/provider.go index de00482..f843a8d 100644 --- a/src/runtimes/node/provider.go +++ b/src/runtimes/node/provider.go @@ -10,13 +10,13 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/download" - "github.com/dtvem/dtvem/src/internal/manifest" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/download" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/manifest" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // Provider implements the runtime.Provider interface for Node.js diff --git a/src/runtimes/node/provider_test.go b/src/runtimes/node/provider_test.go index 7cfa276..3466770 100644 --- a/src/runtimes/node/provider_test.go +++ b/src/runtimes/node/provider_test.go @@ -3,8 +3,8 @@ package node import ( "testing" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/testutil" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/testutil" ) // TestNodeProviderContract runs the generic provider test harness diff --git a/src/runtimes/python/provider.go b/src/runtimes/python/provider.go index 889045f..8b6e6d1 100644 --- a/src/runtimes/python/provider.go +++ b/src/runtimes/python/provider.go @@ -11,13 +11,13 @@ import ( "strconv" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/download" - "github.com/dtvem/dtvem/src/internal/manifest" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/download" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/manifest" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // Provider implements the runtime.Provider interface for Python diff --git a/src/runtimes/python/provider_test.go b/src/runtimes/python/provider_test.go index 8585a54..8553fc8 100644 --- a/src/runtimes/python/provider_test.go +++ b/src/runtimes/python/provider_test.go @@ -3,8 +3,8 @@ package python import ( "testing" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/testutil" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/testutil" ) // TestPythonProviderContract runs the generic provider test harness diff --git a/src/runtimes/ruby/provider.go b/src/runtimes/ruby/provider.go index a7e1507..997d98b 100644 --- a/src/runtimes/ruby/provider.go +++ b/src/runtimes/ruby/provider.go @@ -10,13 +10,13 @@ import ( goruntime "runtime" "strings" - "github.com/dtvem/dtvem/src/internal/config" - "github.com/dtvem/dtvem/src/internal/constants" - "github.com/dtvem/dtvem/src/internal/download" - "github.com/dtvem/dtvem/src/internal/manifest" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/shim" - "github.com/dtvem/dtvem/src/internal/ui" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/config" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/constants" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/download" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/manifest" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/shim" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/ui" ) // Provider implements the runtime.Provider interface for Ruby diff --git a/src/runtimes/ruby/provider_test.go b/src/runtimes/ruby/provider_test.go index d3a9b26..54f2919 100644 --- a/src/runtimes/ruby/provider_test.go +++ b/src/runtimes/ruby/provider_test.go @@ -3,8 +3,8 @@ package ruby import ( "testing" - "github.com/dtvem/dtvem/src/internal/runtime" - "github.com/dtvem/dtvem/src/internal/testutil" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/runtime" + "github.com/CodingWithCalvin/dtvem.cli/src/internal/testutil" ) // TestRubyProviderContract runs the generic provider test harness