096ff162e9
ci: update setup-go to v5
2024-02-01 00:58:21 -05:00
4468a70870
ci: add multi-dist build step
2024-02-01 00:58:18 -05:00
27df322a50
ci: add formatting step
2024-01-31 23:13:33 -05:00
3ca2996e43
refactor(ci): use gofmt directly, mark shell scripts clearly
2024-01-31 23:12:08 -05:00
a5d68746a0
refactor(ci): define single go version
2024-01-31 23:00:38 -05:00
8b2b27961e
refactor(commands): extract commands to own module
2024-01-31 20:15:01 -05:00
e33237ca74
Merge pull request #24 from mcataford/test/coverage-tidy
...
test: coverage tidying
2024-01-31 20:12:33 -05:00
ba3e490c36
test(commands): add coverage for error bubbling in shim-writing
2024-01-31 20:10:11 -05:00
037409a460
test(commands): add coverage for AddPath init flag
2024-01-31 20:05:27 -05:00
906cf9a4b0
test(state-mgmt): add missing coverage for EnsureStatePath, relocate misplaced Python version listing func
2024-01-31 19:54:57 -05:00
a0345a1606
Merge pull request #23 from mcataford/fix/no-python-folder-handling
...
fix(python): handle cases where the python runtime dir does not exist
2024-01-28 23:52:49 -05:00
3d71de6533
fix(python): handle cases where the python runtime dir does not exist
2024-01-28 23:50:17 -05:00
ecb808e16c
Merge pull request #22 from mcataford/refactor/simplify-python-install
...
refactor(python): simplify python install
2024-01-28 23:35:37 -05:00
766fd089a6
refactor(python): remove unnecessary client instantiation
2024-01-28 23:30:06 -05:00
4114a112bb
refactor(logger): configure logger instead of drilling verbosity flag
2024-01-28 23:11:33 -05:00
d9cb6a07ce
refactor(python): install python versions to runtimes/python
2024-01-28 22:25:24 -05:00
d039bb5d4c
Merge pull request #21 from mcataford/refactor/move-py-shims-to-mod
...
refactor(python): relocate py shims to module
2024-01-28 22:00:04 -05:00
a11fe69f65
test(commands): add shim creation coverage
2024-01-28 21:57:22 -05:00
2b7b63c9b4
docs(python): summary notes on the python module
2024-01-28 21:41:12 -05:00
9dc0d039d9
refactor(python): relocate py shims to module
2024-01-28 16:57:09 -05:00
3f776f972d
Merge pull request #20 from mcataford/fix/shim-not-namespaced
...
fix(init): ensure shims call namespaced which command
2024-01-28 14:38:06 -05:00
1b87b6fa1e
fix(init): ensure shims call namespaced which command
2024-01-28 14:35:31 -05:00
4b6a996e1d
Merge pull request #19 from mcataford/refactor/cli-tidy
...
refactor(cli): tidy up CLI implementation
2024-01-28 14:03:19 -05:00
2c7225d44c
refactor(cli): ensure namespace iter are alpha-ordered
2024-01-28 14:01:36 -05:00
1cfd60e9d7
refactor(cli): remove ordered commands array, dynamically gather instead
2024-01-28 13:52:21 -05:00
18982b5a35
refactor(cli): split CLI and Namespace for clarity
...
test(cli): coverage for namespace struct
2024-01-28 13:06:24 -05:00
3206d674cc
Merge pull request #18 from mcataford/feat/python-namespace
...
feat: python namespace
2024-01-26 00:49:49 -05:00
6d72d1e51d
refactor(python-cli): push python namespace to python module
...
fix: use namespace in integration test
docs: update references to commands with namespace
2024-01-26 00:47:30 -05:00
d1200b81d1
feat(cli): separate python commands into own namespace
2024-01-26 00:27:46 -05:00
b6d8cc534d
Merge pull request #17 from mcataford/refactor/modularization
...
refactor: modularization
2024-01-25 23:25:10 -05:00
16509e82fe
refactor(python): move python commands under python module
2024-01-25 23:23:01 -05:00
c0d8d31ace
refactor(python): move python-specific logic to own module
2024-01-25 23:22:54 -05:00
a5c7242045
refactor(cli): move cli+logger to own module
2024-01-25 23:22:47 -05:00
c8faae8637
refactor(state-mgmt): move state management code to own module
2024-01-25 23:21:06 -05:00
1bec59c814
test: coverage for installed version listing, current bin path ( #16 )
...
* test: coverage for installed versions listing
* test: which coverage
2023-12-04 04:54:02 +00:00
61847e532b
refactor: replace fmt by log or plain concat ( #15 )
2023-11-29 05:06:55 +00:00
1bbd6c1050
feat: handling for using versions that are not installed ( #14 )
...
* feat: handling for using versions that are not installed
* test: coverage for installed version list
* chore: increment version to 0.0.8
2023-11-29 01:24:00 +00:00
38450e0f72
feat: which + version commands ( #13 )
...
* refactor: simplify logic that determines which Python version is used
* feat: which to output path only, version to output full current version meta
* fix: command used in shims
* chore: bump version to 0.0.7
2023-11-28 05:19:34 +00:00
3ccf410f17
feat: support .python-version to set version ( #12 )
...
* feat: add support for defining version via .python-version
* test: coverage for .python-version support
* fix: double-printing due to untrimmed .python-version read
2023-11-27 22:31:14 -05:00
d6bce67296
feat: better formatting for which/where printouts ( #11 )
...
* feat: better formatting for which/where printouts
* chore: update version to 0.0.6
2023-11-27 23:46:19 +00:00
5bf3f36559
feat: default to system python if no version specified ( #10 )
...
* refactor: extract shared logic determining which python version is used
* feat: default to unshimmed python if no version specified
docs: mention of how system-python is evaluated
* refactor: extract python version determining funcs
* wip: ensure that output from system python check is cleaned for stray spaces
* test: coverage for system python fallback
* refactor: unused constant
* chore: update version to 0.0.5
2023-11-27 23:16:57 +00:00
9d144d7ddc
test: partial coverage state ( #9 )
...
* build: add test + coverage tooling
* ci: run tests on ci
* test: partial coverage for state utils
2023-11-08 00:23:44 -05:00
096c7b37ef
ci: add basic integration test, pipeline step ( #7 )
...
* ci: add basic integration test, pipeline step
fix: pull_request trigger
fix: env declaration format
* ci: hoist env def to step instead of individual run
* ci: trigger on main push
2023-11-05 11:47:24 -05:00
5dea83f9a8
perf: use -j to build on multiple cores ( #8 )
...
* perf: use -j to build on multiple cores
* chore: update version, 0.0.4
2023-11-05 11:37:01 -05:00
5006ff3076
feat: easier path setup through init --add-path
( #6 )
...
* feat: init --add-path to provide env export
* docs: mention --add-path in setup docs
* chore: version update, 0.0.3
2023-11-05 10:41:43 -05:00
5e245f11cc
refactor: url.JoinPath and state path.Join abstraction instead of fmt… ( #5 )
...
* refactor: url.JoinPath and state path.Join abstraction instead of fmt.Sprintf
* refactor: version composition with fmt.Sprintf
2023-11-05 10:19:53 -05:00
aa365131d1
fix: shim should use v executable from $PATH ( #4 )
2023-11-05 09:44:56 -05:00
def2dd8752
feat: use cached archive if available, allow skip using --no-cache ( #3 )
2023-11-04 21:54:58 -04:00
ab711a28b8
refactor: simplify project structure ( #2 )
...
* refactor: remove file structure cruft
* refactor: flatten file structure entirely
* refactor: combine utils
2023-11-04 21:28:11 -04:00
7a1912c02a
feat: basic use,install,list,help,init functionality ( #1 )
...
* feat: basic use,install,list,help,init functionality
* docs: README notes
* refactor: argument parser documentation + removing redundant comments
* feat: add uninstall command
* feat: command ordering
* build: shortcut tooling to build, format
* feat: improve messaging around install progress
* refactor: rename argparse utils
* docs: more README notes
2023-11-03 00:41:05 -04:00