Commit Graph

1752 Commits

Author SHA1 Message Date
Trevor Brown
f9e25b06fb Merge pull request #25 from asdf-vm/tb/plugin-command-placeholders
feat(golang-rewrite): add placeholders for plugin subcommands
2024-12-18 11:32:00 -05:00
Trevor Brown
faa56e4eb2 Merge pull request #24 from asdf-vm/tb/config-api
feat(golang-rewrite): add config methods
2024-12-18 11:32:00 -05:00
Trevor Brown
b40beb6039 feat(golang-rewrite): add placeholders for plugin subcommands
* Switch from cobra to urfave/cli
* Create placeholder plugin command structs
2024-12-18 11:32:00 -05:00
Trevor Brown
60207d8a6e 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 11:32:00 -05:00
Trevor Brown
8ad3472abc 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 11:32:00 -05:00
Trevor Brown
6b5f3624c0 Merge pull request #23 from asdf-vm/tb/setup-config
feat(golang-rewrite): create settings and config structs for loading config
2024-12-18 11:32:00 -05:00
dependabot[bot]
57f2c97f86 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 11:32:00 -05:00
Trevor Brown
f0cb04c91a Merge pull request #22 from asdf-vm/tb/workflow-fix
fix(golang-rewrite): update detect-changes logic for Golang tests
2024-12-18 11:32:00 -05:00
Trevor Brown
07b5813566 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 11:32:00 -05:00
Trevor Brown
e19fb9e276 Merge pull request #21 from asdf-vm/tb/cli-arg-parsing
feat(golang-rewrite): setup Cobra for command line interface
2024-12-18 11:32:00 -05:00
Trevor Brown
88af4eea00 fix(golang-rewrite): update detect-changes logic for Golang tests 2024-12-18 11:32:00 -05:00
Trevor Brown
5105fbf824 Merge pull request #20 from asdf-vm/tb/bats-tests-golang
feat(golang-rewrite): run BATS integration tests for Golang implementation
2024-12-18 11:32:00 -05:00
Trevor Brown
d06d71f9f6 feat(golang-rewrite): add boilerplate for cobra CLI commands 2024-12-18 11:32:00 -05:00
Trevor Brown
5db7d3181c 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 11:32:00 -05:00
Trevor Brown
163d6b4b46 fix(golang-rewrite): comment out all BATS tests 2024-12-18 11:32:00 -05:00
Trevor Brown
7d5281a8a9 feat(golang-rewrite): add cobra library as dependency 2024-12-18 11:32:00 -05:00
Trevor Brown
04f9c5fe7d 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 11:32:00 -05:00
Trevor Brown
1b3c42699a fix(golang-rewrite): attempt to fix goreleaser GitHub workflow 2024-12-18 11:32:00 -05:00
Trevor Brown
3f17a80fbe fix(golang-rewrite): fix dependencies script on linux 2024-12-18 11:32:00 -05:00
Trevor Brown
cfc473fb5c Merge pull request #14 from asdf-vm/tb/attempt-to-fix-goreleaser
fix(golang-rewrite): try to fix goreleaser
2024-12-18 11:32:00 -05:00
Trevor Brown
7439ea9168 fix(golang-rewrite): try to get goreleaser action to generate snapshot builds 2024-12-18 11:32:00 -05:00
Trevor Brown
f5a59677df feat(golang-rewrite): make bats available for golang tests 2024-12-18 11:32:00 -05:00
Trevor Brown
ae0d271861 Merge pull request #13 from asdf-vm/tb/workflow-jobs-fix
fix(golang-rewrite): set dependencies between release-build jobs
2024-12-18 11:32:00 -05:00
Trevor Brown
2a31cafd38 fix(golang-rewrite): try to fix goreleaser 2024-12-18 11:32:00 -05:00
Trevor Brown
2951011090 feat(golang-rewrite): set variables for bats integration tests 2024-12-18 11:32:00 -05:00
Trevor Brown
477e9d5729 feat(golang-rewrite): build golang asdf for BATS integration tests 2024-12-18 11:32:00 -05:00
Trevor Brown
2fc8006490 feat(golang-rewrite): run bats integration tests in golang 2024-12-18 11:32:00 -05:00
Trevor Brown
f18873bf86 Merge pull request #12 from asdf-vm/tb/golang-build-fix
fix(golang-rewrite): add missing goreleaser argument
2024-12-18 11:31:59 -05:00
Trevor Brown
6b45a5e5f7 fix(golang-rewrite): set dependencies between release-build jobs 2024-12-18 11:31:59 -05:00
Trevor Brown
99dc28cbf7 Merge pull request #11 from asdf-vm/tb/golang-builds
feat(golang-rewrite): setup Golang CI builds
2024-12-18 11:31:59 -05:00
Trevor Brown
5a24864632 fix(golang-rewrite): add missing goreleaser argument 2024-12-18 11:31:59 -05:00
Trevor Brown
814c1fa3e7 Merge pull request #8 from asdf-vm/tb/github-workflow-setup
feat: Add Golang checks to GitHub workflows
2024-12-18 11:31:59 -05:00
Trevor Brown
87d3c06cf5 fix(golang-rewrite): correct go build command in lint workflow 2024-12-18 11:31:59 -05:00
Trevor Brown
5c85efbc37 Merge pull request #5 from asdf-vm/tb/initialize-go-project
feat(golang-rewrite): initialize golang module
2024-12-18 11:31:59 -05:00
Trevor Brown
3a9f539aa0 feat: add Golang tests to GitHub test workflow 2024-12-18 11:31:59 -05:00
Trevor Brown
c5092c6dbf feat(golang-rewrite): setup Golang release GitHub workflow 2024-12-18 11:31:59 -05:00
Trevor Brown
7bee8de060 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 11:31:59 -05:00
Trevor Brown
72c20b1b51 feat(golang-rewrite): initialize golang module 2024-12-18 11:31:59 -05:00
Trevor Brown
f41ce90dc4 feat: add linting for Golang to GitHub lint workflow 2024-12-18 11:31:59 -05:00
Trevor Brown
3f9744df0f feat(golang-rewrite): setup goreleaser 2024-12-18 11:31:59 -05:00
dependabot[bot]
140ad3a48c 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 11:31:59 -05:00
Trevor Brown
3e11bd4b33 fix: update GitHub workflows to work private asdf Go fork 2024-12-18 11:31:59 -05:00
github-actions[bot]
31e8c93004
chore(master): release 0.15.0 (#1807)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-18 10:48:53 -05:00
ooo oo
c778ea1dec
docs: split Lint and Test badges for title asdf in README.MD (#1725)
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-18 10:37:35 -05:00
Trevor Brown
98b8c6fd92 Merge branch 'OJarrisonn-nu/completion' 2024-12-18 10:32:27 -05:00
Trevor Brown
04fe7e30ca feat: correct description for version preceded by star 2024-12-18 10:31:05 -05:00
Trevor Brown
e8d6372564
Merge branch 'master' into nu/completion 2024-12-18 10:29:06 -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