Trevor Brown
89e9be5b04
Merge pull request #28 from asdf-vm/tb/plugin-add-command-2
...
feat(golang-rewrite): create pluginAddCommand function for plugin add command action
2024-12-18 10:21:11 -05:00
Trevor Brown
8f6e321d4a
Merge pull request #26 from asdf-vm/tb/plugin-add-command
...
feat(golang-rewrite): PluginAdd function
2024-12-18 10:21:11 -05:00
Trevor Brown
db5db87322
feat(golang-rewrite): create pluginAddCommand function for plugin add command action
2024-12-18 10:21:11 -05:00
Trevor Brown
147ce31160
Merge pull request #25 from asdf-vm/tb/plugin-command-placeholders
...
feat(golang-rewrite): add placeholders for plugin subcommands
2024-12-18 10:21:11 -05:00
Trevor Brown
da44ce242f
feat(golang-rewrite): PluginAdd function
...
* Add go-git as a dependency
* Remove plugins dir from gitignore
* Move config code to config package
* Create validatePluginName function
* Create PluginDirectory function
* Create PluginExists function
* Implement PluginAdd function
* Add testify as a dependency
* Write test for PluginAdd happy path
2024-12-18 10:21:11 -05:00
Trevor Brown
be3fb7cb51
Merge pull request #24 from asdf-vm/tb/config-api
...
feat(golang-rewrite): add config methods
2024-12-18 10:21:11 -05:00
Trevor Brown
2e4e4cd879
feat(golang-rewrite): add placeholders for plugin subcommands
...
* Switch from cobra to urfave/cli
* Create placeholder plugin command structs
2024-12-18 10:21:11 -05:00
Trevor Brown
1c4757f0ed
Merge pull request #16 from asdf-vm/dependabot/github_actions/actions/checkout-4
...
chore(deps): bump actions/checkout from 3 to 4
2024-12-18 10:21:11 -05:00
Trevor Brown
d33701f7a6
feat(golang-rewrite): add config methods
...
* Create PluginRepoCheckDuration struct to represent config value
* Make some functions private
* write basic tests for Config methods
* Add Loaded field to Settings struct
* Define constants for config default values
2024-12-18 10:21:11 -05:00
Trevor Brown
66c7abc0d0
Merge pull request #23 from asdf-vm/tb/setup-config
...
feat(golang-rewrite): create settings and config structs for loading config
2024-12-18 10:21:11 -05:00
dependabot[bot]
c9a9e575e7
chore(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-18 10:21:11 -05:00
Trevor Brown
abd12bb09d
Merge pull request #22 from asdf-vm/tb/workflow-fix
...
fix(golang-rewrite): update detect-changes logic for Golang tests
2024-12-18 10:21:11 -05:00
Trevor Brown
7a72ce60ac
feat(golang-rewrite): create settings and config structs for loading config
...
* rename commands package to cmd
* add go-ini as a dependency
* write code to parse asdfrc file into Settings struct
* add go-envconfig as a dependency
* add go-homedir as a dependency
* implement first version of LoadConfig function to load environment variables into Config struct
2024-12-18 10:21:11 -05:00
Trevor Brown
7217e58270
Merge pull request #21 from asdf-vm/tb/cli-arg-parsing
...
feat(golang-rewrite): setup Cobra for command line interface
2024-12-18 10:21:11 -05:00
Trevor Brown
edd4a1015b
fix(golang-rewrite): update detect-changes logic for Golang tests
2024-12-18 10:21:11 -05:00
Trevor Brown
f787db7a90
Merge pull request #20 from asdf-vm/tb/bats-tests-golang
...
feat(golang-rewrite): run BATS integration tests for Golang implementation
2024-12-18 10:21:11 -05:00
Trevor Brown
229ca564f7
feat(golang-rewrite): add boilerplate for cobra CLI commands
2024-12-18 10:21:11 -05:00
Trevor Brown
6bc837cc3e
Merge pull request #19 from asdf-vm/tb/attempt-to-fix-goreleaser-3
...
fix(golang-rewrite): attempt to fix goreleaser GitHub workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
b4710039e7
fix(golang-rewrite): comment out all BATS tests
2024-12-18 10:21:11 -05:00
Trevor Brown
a08b71219d
feat(golang-rewrite): add cobra library as dependency
2024-12-18 10:21:11 -05:00
Trevor Brown
b8db3fbb69
Merge pull request #15 from asdf-vm/tb/attempt-to-fix-goreleaser-2
...
fix(golang-rewrite): try to get goreleaser action to generate snapsho…
2024-12-18 10:21:11 -05:00
Trevor Brown
1ddb154418
fix(golang-rewrite): attempt to fix goreleaser GitHub workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
9465bc221e
fix(golang-rewrite): fix dependencies script on linux
2024-12-18 10:21:11 -05:00
Trevor Brown
1210705838
Merge pull request #14 from asdf-vm/tb/attempt-to-fix-goreleaser
...
fix(golang-rewrite): try to fix goreleaser
2024-12-18 10:21:11 -05:00
Trevor Brown
4e3fc58ca4
fix(golang-rewrite): try to get goreleaser action to generate snapshot builds
2024-12-18 10:21:11 -05:00
Trevor Brown
fa2404559b
feat(golang-rewrite): make bats available for golang tests
2024-12-18 10:21:11 -05:00
Trevor Brown
5604c2f7de
Merge pull request #13 from asdf-vm/tb/workflow-jobs-fix
...
fix(golang-rewrite): set dependencies between release-build jobs
2024-12-18 10:21:11 -05:00
Trevor Brown
80b52c28a1
fix(golang-rewrite): try to fix goreleaser
2024-12-18 10:21:11 -05:00
Trevor Brown
4d5108c905
feat(golang-rewrite): set variables for bats integration tests
2024-12-18 10:21:11 -05:00
Trevor Brown
ffa80b4793
Merge pull request #12 from asdf-vm/tb/golang-build-fix
...
fix(golang-rewrite): add missing goreleaser argument
2024-12-18 10:21:11 -05:00
Trevor Brown
d9ce6ca238
fix(golang-rewrite): set dependencies between release-build jobs
2024-12-18 10:21:11 -05:00
Trevor Brown
ff82d9787c
feat(golang-rewrite): build golang asdf for BATS integration tests
2024-12-18 10:21:11 -05:00
Trevor Brown
fb8fbcfa1c
Merge pull request #11 from asdf-vm/tb/golang-builds
...
feat(golang-rewrite): setup Golang CI builds
2024-12-18 10:21:11 -05:00
Trevor Brown
b3faf4aca0
fix(golang-rewrite): add missing goreleaser argument
2024-12-18 10:21:11 -05:00
Trevor Brown
3cc6d8d3bb
feat(golang-rewrite): run bats integration tests in golang
2024-12-18 10:21:11 -05:00
Trevor Brown
81e3010880
Merge pull request #8 from asdf-vm/tb/github-workflow-setup
...
feat: Add Golang checks to GitHub workflows
2024-12-18 10:21:11 -05:00
Trevor Brown
abf03357bc
fix(golang-rewrite): correct go build command in lint workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
58a645c63a
Merge pull request #5 from asdf-vm/tb/initialize-go-project
...
feat(golang-rewrite): initialize golang module
2024-12-18 10:21:11 -05:00
Trevor Brown
3c876d25cd
feat: add Golang tests to GitHub test workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
1a36afb7bb
feat(golang-rewrite): setup Golang release GitHub workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
2257491f25
Merge pull request #1 from asdf-vm/dependabot/github_actions/GoogleCloudPlatform/release-please-action-4
...
chore(deps): bump GoogleCloudPlatform/release-please-action from 3 to 4
2024-12-18 10:21:11 -05:00
Trevor Brown
3d9fc41fbc
feat(golang-rewrite): initialize golang module
2024-12-18 10:21:11 -05:00
Trevor Brown
d8afc037c7
feat: add linting for Golang to GitHub lint workflow
2024-12-18 10:21:11 -05:00
Trevor Brown
6f5b0818c8
feat(golang-rewrite): setup goreleaser
2024-12-18 10:21:11 -05:00
dependabot[bot]
6aaf7c3b2f
chore(deps): bump GoogleCloudPlatform/release-please-action from 3 to 4
...
Bumps [GoogleCloudPlatform/release-please-action](https://github.com/googlecloudplatform/release-please-action ) from 3 to 4.
- [Release notes](https://github.com/googlecloudplatform/release-please-action/releases )
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googlecloudplatform/release-please-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: GoogleCloudPlatform/release-please-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-18 10:21:11 -05:00
Trevor Brown
71be7f83cf
fix: update GitHub workflows to work private asdf Go fork
2024-12-18 10:21:11 -05:00
莊喬
fa3d216540
test: unset ASDF_DATA_DIR and ASDF_CONFIG_FILE during test ( #1722 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 15:58:05 -05:00
Kamontat Chantrachirathumrong
221507f1c0
fix: when download path got removed, it should use -f to force delete the download files ( #1746 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 14:53:15 -05:00
Andrew Zipperer
d462b55ec9
docs: propose edits for tiny typographical/grammatical errors ( #1747 )
...
Co-authored-by: Andrew-Zipperer <atzipperer@gmail.com>
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 14:49:40 -05:00
Ben Blank
ebdb229ce6
fix(completions): Address two Bash completion bugs ( #1770 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 07:42:20 -05:00