Commit Graph

72 Commits

Author SHA1 Message Date
iexos 521f5c1647 feat: optionally commit changes with recipe upgrade
continuous-integration/drone/push Build is failing
2026-02-16 09:18:41 +00:00
jade cc87d5b3da chore: remove reference to wizard mode from recipe upgrade cli docs
continuous-integration/drone/push Build is failing
2025-12-13 15:26:12 +11:00
decentral1se 033c9bfc13 feat: msgctxt support
continuous-integration/drone/push Build is failing
See #647
See toolshed/xgettext-go#1
2025-09-30 19:08:52 +02:00
decentral1se 4bfbc53b94 feat: support alias translation
continuous-integration/drone/push Build is passing
See #627
2025-08-30 11:39:49 +02:00
3wordchant 6539b1be7e Appease formatter (kinda weird?)
continuous-integration/drone/push Build is passing
2025-08-28 11:44:21 -04:00
3wordchant 02b520200e Mark command short descriptions with translators: tag
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-08-28 11:33:22 -04:00
3wordchant db5da1656a Semi-automated mass string commenting 2025-08-27 12:54:05 -04:00
decentral1se 4e205cf13e feat: translation support
continuous-integration/drone/push Build is passing
See #483
2025-08-23 17:55:56 +02:00
decentral1se b0cd8ccbb9 refactor/fix: deploy/upgrade/rollback
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/abra#461
2025-01-02 11:12:38 +01:00
decentral1se 671e1ca276 refactor!: cobra migrate
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-27 13:32:29 +01:00
decentral1se 1f8662cd95 refactor: urfave v3 2024-10-21 16:39:27 +02:00
decentral1se 375e17a4a0 refactor: urfave v2 2024-10-21 11:00:35 +02:00
decentral1se 0ff8e49cfd docs: pass on sub-command help 2024-07-09 09:43:18 +02:00
p4u1 87ecc05962 refactor(recipe): remove direct usage of config.RECIPE_DIR
continuous-integration/drone/pr Build is failing
2024-07-08 13:48:02 +02:00
p4u1 5617a9ba07 refactor(recipe): remove remaining usage of old recipe struct 2024-07-08 13:15:20 +02:00
p4u1 c1b03bcbd7 refactor(recipe): load load compoes config where its used 2024-07-08 12:31:39 +02:00
p4u1 c861c09cce refactor(recipe): use method or variable for .env.sample 2024-07-08 11:41:26 +02:00
p4u1 01f3f4be17 refactor(recipe): use new recipe.Ensure method 2024-07-08 10:55:55 +02:00
p4u1 950f85e2b4 refactor(recipe): introduce new recipe struct and move some methods 2024-07-08 10:55:43 +02:00
decentral1se 465827d5ee log: no additional newlines 2024-07-08 01:01:14 +02:00
decentral1se ef108d63e1 refactor: use central logger
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-08 00:01:28 +02:00
decentral1se 300a4ead01 fix: stop using deprecated APIs
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-06-19 19:14:52 +02:00
decentral1se 7f7f7224c6 feat: diff on release flow
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
decentral1se 76035e003e fix: recipe workflow with integration tests
continuous-integration/drone/push Build is failing
2023-09-21 10:36:53 +02:00
decentral1se 0be532692d test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
decentral1se 3dc5662821 fix: improved offline support
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
cas c5d9d88359 Add some minor tweaks to machine readable pathway in recipe upgrade
continuous-integration/drone/push Build is failing
2023-04-27 16:45:57 +00:00
cas 87e5909363 Make -m imply -n in recipe/upgrade 2023-04-27 16:45:57 +00:00
cas 152c5d4563 Add machine output for recipe/upgrade
- Normal faff related to calling external libraries with structs thnx go
- Ouputs json now
2023-04-27 16:45:57 +00:00
cas 34b274bc52 recipe/upgrade: Refactor upgradability list to make output easier
For future, we can print the struct as JSON.
2023-04-27 16:45:57 +00:00
cas 62f8103fc2 recipe/upgrade: Add non-interactive mode.
Add support for -n which just outputs the list of compatible tags for each image.
2023-04-27 16:45:57 +00:00
decentral1se 312b93e794 fix: no gitops on recipe for "app new"
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
decentral1se e4b4084dfd fix: stream logs without hitting git.coopcloud.tech
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
decentral1se 3b8893502a docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
decentral1se 6140abbcac fix: sync to latest before commits come in
continuous-integration/drone/push Build is passing
Follows from a4989e3834
2022-04-20 11:42:24 +00:00
decentral1se cdec834ca9 reformat: remove extra line in CLI help 2022-03-12 10:20:37 +01:00
decentral1se b295958c17 fix: handle all container registries
See coop-cloud/organising#258

This fixes also how we read the digest of the image. I think it was
wrong before. Some registries restrict reading this info and we now just
default to "unknown" for that case.

This also appears to bring a wave of new dependencies due to the generic
handling logic of containers/... package. The abra binary is now 1mb
larger.

The catalogue generation is now slower unfortunately. But it is more
robust.

The generic logic looks in ~/.docker/config.json for log in details, so
you don't have to pass those in manually on the CLI anymore. We just
read those defaults. You can "docker login" to get credentials setup in
that file. Since most folks won't generate the catalogue, this seems
fine for now.
2022-02-21 08:46:30 +00:00
decentral1se b2d17a1829 fix: ensure latest checked out for recipe upgrade
continuous-integration/drone/push Build is passing
2022-01-29 13:35:42 +01:00
decentral1se f4b563528f docs: point to new option for better assurance on tag listing 2022-01-19 10:40:37 +01:00
decentral1se f9a2c1d58f refactor: put StripTagMeta into formatter package
Avoid circular import.
2022-01-19 10:40:14 +01:00
decentral1se 0e688f1407 refactor!: migrate to urfave/cli v1
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se 2f4f288a46 feat: -a/--all-tags for listing all tags on recipe upgrade 2022-01-17 21:59:31 +01:00
decentral1se d7cf11b876 fix: further fixes for gracefully handling missing tag
continuous-integration/drone/push Build is passing
Follows 1b37d2d5f5.
2022-01-05 17:58:15 +01:00
decentral1se d7e1b2947a fix: skip failed image parse for upgrade and move on 2022-01-05 17:57:11 +01:00
decentral1se 1b37d2d5f5 fix: handle tags without images gracefully
continuous-integration/drone/push Build is passing
2022-01-05 17:32:58 +01:00
decentral1se 49ccf2d204 fix: also show skip for non semver tags
continuous-integration/drone/push Build is passing
2022-01-04 22:49:36 +01:00
decentral1se 76adc45431 docs: match typically log message style 2022-01-04 22:49:23 +01:00
decentral1se a71b070921 feat: support skipping upgrades 2022-01-02 15:46:35 +01:00
decentral1se 0aa37fcee8 refactor!: simplifying publish logic
continuous-integration/drone/push Build is passing
2021-12-27 19:56:27 +01:00
decentral1se 4c186678b8 fix: clone https url by default
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00