Commit Graph

45 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
fc56101afb chore: bump golang dependencies 2024-09-23 02:18:16 -04:00
Jose Diaz-Gonzalez
2eb1cffa8f chore: bump golang dependencies 2024-09-23 02:09:22 -04:00
Jose Diaz-Gonzalez
8524ee3a3a chore: update go version to latest 1.23 patch 2024-08-25 00:23:50 -04:00
Jose Diaz-Gonzalez
a2717d1111 chore: update golang dependencies 2024-08-18 23:57:24 -04:00
Jose Diaz-Gonzalez
dfcb84c873 chore: update dependencies 2024-08-11 01:12:34 -04:00
Jose Diaz-Gonzalez
31b07c429e chore: bump go modules 2024-04-05 12:40:56 -04:00
Jose Diaz-Gonzalez
4bae815f82 chore: remove codeskyblue/go-sh
It has been replaced with alexellis/go-execute.
2024-03-14 03:14:22 -04:00
Jose Diaz-Gonzalez
0108dfcda5 chore: bump go modules 2024-03-06 03:26:50 -05:00
Jose Diaz-Gonzalez
ffdffd235f chore: bump go modules 2024-02-27 11:11:33 -05:00
Jose Diaz-Gonzalez
8a940c6e47 chore: remove all direct usage of go-sh outside of plugin trigger setup
The new way is to use CallExecCommand instead.
2024-02-12 19:29:16 -05:00
Jose Diaz-Gonzalez
03b72ec684 chore: bump go modules 2024-02-11 02:49:00 -05:00
Jose Diaz-Gonzalez
569105d479 chore: update crypto and sys golang dependencies 2024-01-23 10:39:39 -05:00
Jose Diaz-Gonzalez
6908177095 feat: add support for multierror when exiting triggers 2024-01-20 06:57:48 -05:00
Jose Diaz-Gonzalez
0cf26ac994 feat: add wrappers for exec and ssh commands 2024-01-20 05:05:35 -05:00
Jose Diaz-Gonzalez
1a5e17bd68 feat: add alternative implementation for calling plugin triggers
Refs #6422
2024-01-18 21:47:07 -05:00
Jose Diaz-Gonzalez
33f532e022 chore: update go modules 2024-01-18 21:15:04 -05:00
Jose Diaz-Gonzalez
1533e149fc chore: bump golang.org/x/sync from 0.5.0 to 0.6.0 2024-01-11 23:01:50 -05:00
Jose Diaz-Gonzalez
5e9cb3f157 feat: update all go modules and add a command to bump modules 2023-11-12 19:31:53 -05:00
Jose Diaz-Gonzalez
30b8a25ced feat: upgrade golang to 1.21 2023-10-16 01:10:02 -04:00
Jose Diaz-Gonzalez
944c12f734 chore: update all plugins 2023-10-14 04:02:20 -04:00
Jose Diaz-Gonzalez
baf3d347f0 chore: bump github.com/otiai10/copy and golang.org/x/sync 2023-10-06 23:21:34 -04:00
Jose Diaz-Gonzalez
978644c1f7 chore: update all go modules and ensure all are tracked in dependabot 2023-09-28 23:34:37 -04:00
Jose Diaz-Gonzalez
9787b67854 chore: update go packages to fix build issues 2023-07-25 11:43:48 -04:00
Jose Diaz-Gonzalez
93e4835e5e chore: update go packages to fix build issues 2023-06-21 10:37:52 -04:00
Jose Diaz-Gonzalez
64e453d2d4 chore: update go packages to fix build issues 2023-06-15 16:51:46 -04:00
Jose Diaz-Gonzalez
48cd5b11a5 chore: bump github.com/otiai10/copy from 1.9.0 to 1.11.0 2023-05-28 00:03:20 -04:00
Jose Diaz-Gonzalez
92cff9be3f chore: bump github.com/ryanuber/columnize from 1.1.2-0.20190319233515-9e6335e58db3 to 2.1.2+incompatible 2023-05-27 22:24:39 -04:00
Jose Diaz-Gonzalez
7b183317ae fix: upgrade golang.org/x/sync dependency to fix goverage issue 2023-05-25 03:14:33 -04:00
Jose Diaz-Gonzalez
06b744f55f chore: update all golang dependencies to fix go.0 tests 2023-05-25 02:24:55 -04:00
Jose Diaz-Gonzalez
6499fc29a0 chore: update all golang dependencies to fix go.0 tests 2023-03-19 16:37:50 -04:00
Jose Diaz-Gonzalez
ae0c2a5867 chore: update all depdendencies to match latest net and sys packages 2023-02-20 16:36:01 -05:00
Jose Diaz-Gonzalez
465634a16e chore: update golang.org/x/sys dependency to keep in sync with common plugin 2023-02-18 19:18:50 -05:00
Jose Diaz-Gonzalez
ffa9f85cf2 chore: run go mod tidy 2023-01-09 14:00:12 -05:00
Jose Diaz-Gonzalez
199c9bf615 chore: update go modules 2023-01-08 23:51:53 -05:00
Jose Diaz-Gonzalez
b2b2b7dc2a chore: run go mod tidy 2022-11-07 17:44:30 -05:00
Jose Diaz-Gonzalez
5615765ddc feat: upgrade to go 1.19 everywhere 2022-10-31 13:49:17 -04:00
Jose Diaz-Gonzalez
05c4ac6460 chore: run 'go mod tidy' on all plugins 2022-04-23 01:51:42 -04:00
Jose Diaz-Gonzalez
92d5bd8584 feat: upgrade to golang 1.17.9 2022-04-23 01:02:18 -04:00
Jose Diaz-Gonzalez
2bd5794ab9 chore: run go mod download/tidy for all plugins
This cleans up the development environment for each module.
2022-01-22 02:56:27 -05:00
Jose Diaz-Gonzalez
9a403aa1ce fix: update golang to fix golang tests
Also ensure we're running the same version of golang in our test apps.
2021-11-11 16:51:48 -05:00
Jose Diaz-Gonzalez
bacc5cbcab feat: upgrade to golang 1.15
This is what is used for local development.
2020-12-24 23:46:27 -05:00
Jose Diaz-Gonzalez
d7b23b84f0 fix: allow renaming old applications to new format
0.22.0 changed allowed values for app names, making it more difficult for users to fix their app names - you need to either downgrade+rename or recreate the app. The `apps:rename`  command can now rename these old applications to the new standard.

Also drop some app name verification from internal commands. Duplicate verification doesn't help much, and though it isn't excessively slow, it does prevent us from running commands against old apps that exist.

Refs #4267
2020-12-22 13:29:32 -05:00
Jose Diaz-Gonzalez
8240790381 fix: correct argument handling when setting the --app flag
When setting the `--app` flag, there was a special case for the config plugin. This plugin used to take the `--no-restart` flag as the first argument - and still did until this change - resulting in an invalid call to the plugin subcommands. What is worse is that this functionality carried over to all other plugins as they were rewritten in golang, and thus the issue spread without us knowing.

The fix is to support GNU flag parsing rules, which Golang does not do by default (Because Of Reasons™). Switching to `github.com/spf13/pflag` fixes this issue, and also allows positional arguments to be placed wherever, even in the middle of flags.

Closes #4255
2020-12-20 22:06:33 -05:00
Jose Diaz-Gonzalez
591ecff646 chore: drop unused imports and pin godotenv 2020-06-28 04:08:19 -04:00
Jose Diaz-Gonzalez
45e3623ffd refactor: switch to go mod
This hopefully makes it a little easier to work with as the tooling is now based on something in golang core.

- move columnize usage to common plugin
- remove old vendor files
2020-06-28 01:11:28 -04:00