diff --git a/Makefile b/Makefile index 5df9ce24..4a6163eb 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,7 @@ LINGUAS := $(basename $(POFILES)) export GOPRIVATE=coopcloud.tech -# NOTE(d1): default `make` optimised for Abra hacking -all: format check build-abra test +all: format check build run: @go run -gcflags=$(GCFLAGS) -ldflags=$(LDFLAGS) $(ABRA) diff --git a/cli/app/deploy.go b/cli/app/deploy.go index 228cbe4d..23541fdd 100644 --- a/cli/app/deploy.go +++ b/cli/app/deploy.go @@ -158,7 +158,6 @@ checkout as-is. Recipe commit hashes are also supported as values for if internal.Chaos { appPkg.SetChaosVersionLabel(compose, stackName, toDeployVersion) } - appPkg.SetUpdateLabel(compose, stackName, app.Env) versionLabel := toDeployVersion if internal.Chaos { diff --git a/cli/app/list.go b/cli/app/list.go index 26b58711..2c4bf521 100644 --- a/cli/app/list.go +++ b/cli/app/list.go @@ -25,7 +25,6 @@ type appStatus struct { Status string `json:"status"` Chaos string `json:"chaos"` ChaosVersion string `json:"chaosVersion"` - AutoUpdate string `json:"autoUpdate"` Version string `json:"version"` Upgrade string `json:"upgrade"` } @@ -118,7 +117,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`), version := i18n.G("unknown") chaos := i18n.G("unknown") chaosVersion := i18n.G("unknown") - autoUpdate := i18n.G("unknown") if statusMeta, ok := statuses[app.StackName()]; ok { if currentVersion, exists := statusMeta["version"]; exists { if currentVersion != "" { @@ -131,9 +129,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`), if chaosDeployVersion, exists := statusMeta["chaosVersion"]; exists { chaosVersion = chaosDeployVersion } - if autoUpdateState, exists := statusMeta["autoUpdate"]; exists { - autoUpdate = autoUpdateState - } if statusMeta["status"] != "" { status = statusMeta["status"] } @@ -146,7 +141,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`), appStats.Chaos = chaos appStats.ChaosVersion = chaosVersion appStats.Version = version - appStats.AutoUpdate = autoUpdate var newUpdates []string if version != "unknown" && chaos == "false" { @@ -231,7 +225,6 @@ Use "--status/-S" flag to query all servers for the live deployment status.`), i18n.G("CHAOS"), i18n.G("VERSION"), i18n.G("UPGRADE"), - i18n.G("AUTOUPDATE"), }..., ) } @@ -262,8 +255,7 @@ Use "--status/-S" flag to query all servers for the live deployment status.`), appStat.Status, chaosStatus, appStat.Version, - appStat.Upgrade, - appStat.AutoUpdate}..., + appStat.Upgrade}..., ) } diff --git a/cli/app/rollback.go b/cli/app/rollback.go index 56b87f67..921a338f 100644 --- a/cli/app/rollback.go +++ b/cli/app/rollback.go @@ -183,7 +183,6 @@ beforehand. See "abra app backup" for more.`), if internal.Chaos { appPkg.SetChaosVersionLabel(compose, stackName, chosenDowngrade) } - appPkg.SetUpdateLabel(compose, stackName, app.Env) // Gather secrets secretInfo, err := deploy.GatherSecretsForDeploy(cl, app, internal.ShowUnchanged) diff --git a/cli/app/upgrade.go b/cli/app/upgrade.go index e0817606..daaf232d 100644 --- a/cli/app/upgrade.go +++ b/cli/app/upgrade.go @@ -196,7 +196,6 @@ beforehand. See "abra app backup" for more.`), if internal.Chaos { appPkg.SetChaosVersionLabel(compose, stackName, chosenUpgrade) } - appPkg.SetUpdateLabel(compose, stackName, app.Env) envVars, err := appPkg.CheckEnv(app) if err != nil { diff --git a/pkg/app/app.go b/pkg/app/app.go index a2ffe46a..c094db9a 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -471,13 +471,6 @@ func GetAppStatuses(apps []App, MachineReadable bool) (map[string]map[string]str result["chaosVersion"] = chaosVersion } - labelKey = fmt.Sprintf("coop-cloud.%s.autoupdate", name) - if autoUpdate, ok := service.Spec.Labels[labelKey]; ok { - result["autoUpdate"] = autoUpdate - } else { - result["autoUpdate"] = "false" - } - labelKey = fmt.Sprintf("coop-cloud.%s.version", name) if version, ok := service.Spec.Labels[labelKey]; ok { result["version"] = version diff --git a/pkg/app/compose.go b/pkg/app/compose.go index 781d5877..82066c4c 100644 --- a/pkg/app/compose.go +++ b/pkg/app/compose.go @@ -5,7 +5,6 @@ import ( "fmt" "strconv" - "coopcloud.tech/abra/pkg/envfile" "coopcloud.tech/abra/pkg/i18n" "coopcloud.tech/abra/pkg/log" composetypes "github.com/docker/cli/cli/compose/types" @@ -56,23 +55,6 @@ func SetVersionLabel(compose *composetypes.Config, stackName string, version str } } -// SetUpdateLabel adds env ENABLE_AUTO_UPDATE as label to enable/disable the -// auto update process for this app. The default if this variable is not set is to disable -// the auto update process. -func SetUpdateLabel(compose *composetypes.Config, stackName string, appEnv envfile.AppEnv) { - for _, service := range compose.Services { - if service.Name == "app" { - enable_auto_update, exists := appEnv["ENABLE_AUTO_UPDATE"] - if !exists { - enable_auto_update = "false" - } - log.Debug(i18n.G("set label 'coop-cloud.%s.autoupdate' to %s for %s", stackName, enable_auto_update, stackName)) - labelKey := fmt.Sprintf("coop-cloud.%s.autoupdate", stackName) - service.Deploy.Labels[labelKey] = enable_auto_update - } - } -} - // GetLabel reads docker labels in the format of "coop-cloud.${STACK_NAME}.${LABEL}" from the local compose files func GetLabel(compose *composetypes.Config, stackName string, label string) string { for _, service := range compose.Services { diff --git a/pkg/i18n/locales/abra.pot b/pkg/i18n/locales/abra.pot index 69c4ef87..9ec09eba 100644 --- a/pkg/i18n/locales/abra.pot +++ b/pkg/i18n/locales/abra.pot @@ -7,7 +7,7 @@ msgid "" msgstr "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" - "POT-Creation-Date: 2025-10-19 15:32+0200\n" + "POT-Creation-Date: 2025-10-19 15:40+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -65,7 +65,7 @@ msgid " # insert regular secret\n" " echo \"mmySuperSecret\" | abra app secret insert 1312.net my_secret v1" msgstr "" -#: ./cli/app/list.go:55 +#: ./cli/app/list.go:54 msgid " # list apps of all servers without live status\n" " abra app ls\n" "\n" @@ -466,7 +466,7 @@ msgstr "" msgid "%s: %s → %s" msgstr "" -#: ./pkg/app/app.go:521 +#: ./pkg/app/app.go:514 #, c-format msgid "%s: %s: %s" msgstr "" @@ -575,10 +575,6 @@ msgstr "" msgid "ALERTA ALERTA: deleting %s data and config (local/remote)" msgstr "" -#: ./cli/app/list.go:234 -msgid "AUTOUPDATE" -msgstr "" - #. translators: Short description for `server add` command #: ./cli/server/add.go:30 msgid "Add a new server" @@ -611,7 +607,7 @@ msgstr "" msgid "C" msgstr "" -#: ./cli/app/list.go:231 ./cli/app/ps.go:189 +#: ./cli/app/list.go:225 ./cli/app/ps.go:189 msgid "CHAOS" msgstr "" @@ -760,7 +756,7 @@ msgstr "" msgid "DEPLOYED LABELS" msgstr "" -#: ./cli/app/list.go:227 ./cli/internal/deploy.go:78 ./cli/internal/deploy.go:208 +#: ./cli/app/list.go:221 ./cli/internal/deploy.go:78 ./cli/internal/deploy.go:208 msgid "DOMAIN" msgstr "" @@ -853,7 +849,7 @@ msgid "Generate a new copy of the recipe catalogue.\n" " ssh-add ~/.ssh/" msgstr "" -#: ./cli/app/list.go:52 +#: ./cli/app/list.go:51 msgid "Generate a report of all managed apps.\n" "\n" "Use \"--status/-S\" flag to query all servers for the live deployment status." @@ -949,7 +945,7 @@ msgid "List all available commands" msgstr "" #. translators: Short description for `app list` command -#: ./cli/app/list.go:51 +#: ./cli/app/list.go:50 msgid "List all managed apps" msgstr "" @@ -1107,7 +1103,7 @@ msgstr "" msgid "README.md metadata filled in" msgstr "" -#: ./cli/app/list.go:227 ./cli/internal/deploy.go:79 ./cli/internal/deploy.go:209 +#: ./cli/app/list.go:221 ./cli/internal/deploy.go:79 ./cli/internal/deploy.go:209 msgid "RECIPE" msgstr "" @@ -1223,7 +1219,7 @@ msgstr "" msgid "Run app commands" msgstr "" -#: ./cli/app/backup.go:303 ./cli/app/list.go:300 ./cli/app/logs.go:109 ./cli/app/new.go:389 +#: ./cli/app/backup.go:303 ./cli/app/list.go:292 ./cli/app/logs.go:109 ./cli/app/new.go:389 msgid "S" msgstr "" @@ -1235,7 +1231,7 @@ msgstr "" msgid "SECRETS OVERVIEW" msgstr "" -#: ./cli/app/list.go:227 ./cli/internal/deploy.go:80 +#: ./cli/app/list.go:221 ./cli/internal/deploy.go:80 msgid "SERVER" msgstr "" @@ -1260,7 +1256,7 @@ msgstr "" msgid "SSO" msgstr "" -#: ./cli/app/list.go:230 ./cli/app/ps.go:186 +#: ./cli/app/list.go:224 ./cli/app/ps.go:186 msgid "STATUS" msgstr "" @@ -1450,7 +1446,7 @@ msgstr "" msgid "UNDEPLOY" msgstr "" -#: ./cli/app/list.go:233 ./cli/internal/deploy.go:174 +#: ./cli/app/list.go:227 ./cli/internal/deploy.go:174 msgid "UPGRADE" msgstr "" @@ -1548,7 +1544,7 @@ msgstr "" msgid "VALUE" msgstr "" -#: ./cli/app/list.go:232 ./cli/app/ps.go:188 ./cli/app/secret.go:481 ./cli/recipe/version.go:69 ./cli/recipe/version.go:110 +#: ./cli/app/list.go:226 ./cli/app/ps.go:188 ./cli/app/secret.go:481 ./cli/recipe/version.go:69 ./cli/recipe/version.go:110 msgid "VERSION" msgstr "" @@ -1725,7 +1721,7 @@ msgstr "" msgid "add release note? (leave empty to skip)" msgstr "" -#: ./pkg/app/app.go:515 +#: ./pkg/app/app.go:508 #, c-format msgid "adding env vars to %s service config" msgstr "" @@ -2976,7 +2972,7 @@ msgstr "" msgid "generated secrets %s shown again, please take note of them %s" msgstr "" -#: ./pkg/app/compose.go:81 +#: ./pkg/app/compose.go:63 #, c-format msgid "get label '%s'" msgstr "" @@ -3323,7 +3319,7 @@ msgstr "" msgid "labels [flags]" msgstr "" -#: ./cli/app/deploy.go:425 ./cli/app/list.go:188 +#: ./cli/app/deploy.go:425 ./cli/app/list.go:182 msgid "latest" msgstr "" @@ -3372,7 +3368,7 @@ msgstr "" #. translators: `app list` command #. translators: `server list` command -#: ./cli/app/list.go:48 ./cli/server/list.go:23 +#: ./cli/app/list.go:47 ./cli/server/list.go:23 msgid "list [flags]" msgstr "" @@ -3438,7 +3434,7 @@ msgstr "" #. aliases with no spaces in between #. translators: `abra server list` aliases. use a comma separated list of #. aliases with no spaces in between -#: ./cli/app/backup.go:17 ./cli/app/cmd.go:203 ./cli/app/list.go:44 ./cli/app/secret.go:453 ./cli/app/volume.go:21 ./cli/recipe/list.go:19 ./cli/server/list.go:19 +#: ./cli/app/backup.go:17 ./cli/app/cmd.go:203 ./cli/app/list.go:43 ./cli/app/secret.go:453 ./cli/app/volume.go:21 ./cli/recipe/list.go:19 ./cli/server/list.go:19 msgid "ls" msgstr "" @@ -3446,11 +3442,11 @@ msgstr "" #. with no spaces in between #. translators: `abra man` aliases. use a comma separated list of aliases #. with no spaces in between -#: ./cli/app/list.go:323 ./cli/app/move.go:34 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:152 ./cli/server/list.go:106 +#: ./cli/app/list.go:315 ./cli/app/move.go:34 ./cli/app/ps.go:205 ./cli/app/secret.go:553 ./cli/app/secret.go:649 ./cli/recipe/list.go:104 ./cli/recipe/upgrade.go:376 ./cli/recipe/version.go:139 ./cli/run.go:152 ./cli/server/list.go:106 msgid "m" msgstr "" -#: ./cli/app/list.go:322 ./cli/app/ps.go:204 ./cli/app/secret.go:552 ./cli/app/secret.go:648 ./cli/recipe/list.go:103 ./cli/recipe/upgrade.go:375 ./cli/recipe/version.go:138 ./cli/server/list.go:105 +#: ./cli/app/list.go:314 ./cli/app/ps.go:204 ./cli/app/secret.go:552 ./cli/app/secret.go:648 ./cli/recipe/list.go:103 ./cli/recipe/upgrade.go:375 ./cli/recipe/version.go:138 ./cli/server/list.go:105 msgid "machine" msgstr "" @@ -3602,7 +3598,7 @@ msgstr "" msgid "no %s exists, skipping reading gitignore paths" msgstr "" -#: ./pkg/app/compose.go:87 +#: ./pkg/app/compose.go:69 #, c-format msgid "no %s label found for %s" msgstr "" @@ -3946,7 +3942,7 @@ msgstr "" msgid "previous git tags detected, assuming new semver release" msgstr "" -#: ./cli/app/list.go:325 ./cli/app/ps.go:207 ./cli/app/secret.go:555 ./cli/app/secret.go:651 ./cli/recipe/list.go:106 ./cli/recipe/upgrade.go:378 ./cli/recipe/version.go:141 ./cli/server/list.go:108 +#: ./cli/app/list.go:317 ./cli/app/ps.go:207 ./cli/app/secret.go:555 ./cli/app/secret.go:651 ./cli/recipe/list.go:106 ./cli/recipe/upgrade.go:378 ./cli/recipe/version.go:141 ./cli/server/list.go:108 msgid "print machine-readable output" msgstr "" @@ -4006,7 +4002,7 @@ msgstr "" #. with no spaces in between #. translators: `abra recipe` aliases. use a comma separated list of aliases #. with no spaces in between -#: ./cli/app/backup.go:327 ./cli/app/list.go:308 ./cli/app/move.go:346 ./cli/app/run.go:23 ./cli/app/upgrade.go:484 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:649 ./cli/recipe/sync.go:272 +#: ./cli/app/backup.go:327 ./cli/app/list.go:300 ./cli/app/move.go:346 ./cli/app/run.go:23 ./cli/app/upgrade.go:484 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:649 ./cli/recipe/sync.go:272 msgid "r" msgstr "" @@ -4021,12 +4017,12 @@ msgstr "" msgid "read %s as tags for recipe %s" msgstr "" -#: ./pkg/app/app.go:582 ./pkg/config/env.go:50 ./pkg/envfile/envfile.go:42 ./pkg/envfile/envfile.go:80 +#: ./pkg/app/app.go:575 ./pkg/config/env.go:50 ./pkg/envfile/envfile.go:42 ./pkg/envfile/envfile.go:80 #, c-format msgid "read %s from %s" msgstr "" -#: ./pkg/app/app.go:584 +#: ./pkg/app/app.go:577 #, c-format msgid "read 0 command names from %s" msgstr "" @@ -4084,7 +4080,7 @@ msgid "readme: %s, " msgstr "" #. translators: `abra recipe` command for autocompletion -#: ./cli/app/list.go:307 ./cli/app/list.go:314 ./cli/run.go:99 +#: ./cli/app/list.go:299 ./cli/app/list.go:306 ./cli/run.go:99 msgid "recipe" msgstr "" @@ -4324,7 +4320,7 @@ msgstr "" msgid "retrieved %s configs for %s" msgstr "" -#: ./pkg/app/app.go:506 +#: ./pkg/app/app.go:499 #, c-format msgid "retrieved %s for %s" msgstr "" @@ -4339,7 +4335,7 @@ msgstr "" msgid "retrieved %v servers: %s" msgstr "" -#: ./pkg/app/app.go:492 +#: ./pkg/app/app.go:485 #, c-format msgid "retrieved app statuses: %s" msgstr "" @@ -4464,7 +4460,7 @@ msgstr "" #. aliases with no spaces in between #. translators: `abra server` aliases. use a comma separated list of aliases #. with no spaces in between -#: ./cli/app/backup.go:198 ./cli/app/backup.go:263 ./cli/app/backup.go:287 ./cli/app/list.go:331 ./cli/app/logs.go:101 ./cli/app/new.go:358 ./cli/app/restore.go:114 ./cli/app/secret.go:535 ./cli/catalogue/catalogue.go:27 ./cli/catalogue/catalogue.go:310 ./cli/recipe/fetch.go:130 ./cli/recipe/sync.go:24 ./cli/server/server.go:12 +#: ./cli/app/backup.go:198 ./cli/app/backup.go:263 ./cli/app/backup.go:287 ./cli/app/list.go:323 ./cli/app/logs.go:101 ./cli/app/new.go:358 ./cli/app/restore.go:114 ./cli/app/secret.go:535 ./cli/catalogue/catalogue.go:27 ./cli/catalogue/catalogue.go:310 ./cli/recipe/fetch.go:130 ./cli/recipe/sync.go:24 ./cli/server/server.go:12 msgid "s" msgstr "" @@ -4531,7 +4527,7 @@ msgid "secrets are %s shown again, please save them %s" msgstr "" #. translators: `abra server` command for autocompletion -#: ./cli/app/list.go:330 ./cli/app/list.go:337 ./cli/app/new.go:357 ./cli/app/new.go:364 ./cli/run.go:101 +#: ./cli/app/list.go:322 ./cli/app/list.go:329 ./cli/app/new.go:357 ./cli/app/new.go:364 ./cli/run.go:101 msgid "server" msgstr "" @@ -4602,27 +4598,22 @@ msgstr "" msgid "set 'main' as the default branch" msgstr "" -#: ./pkg/app/compose.go:69 -#, c-format -msgid "set label 'coop-cloud.%s.autoupdate' to %s for %s" -msgstr "" - -#: ./pkg/app/compose.go:31 +#: ./pkg/app/compose.go:30 #, c-format msgid "set label 'coop-cloud.%s.chaos' to %v for %s" msgstr "" -#: ./pkg/app/compose.go:42 +#: ./pkg/app/compose.go:41 #, c-format msgid "set label 'coop-cloud.%s.chaos-version' to %v for %s" msgstr "" -#: ./pkg/app/compose.go:52 +#: ./pkg/app/compose.go:51 #, c-format msgid "set label 'coop-cloud.%s.version' to %v for %s" msgstr "" -#: ./pkg/app/compose.go:19 +#: ./pkg/app/compose.go:18 #, c-format msgid "set recipe label 'coop-cloud.%s.recipe' to %s for %s" msgstr "" @@ -4644,15 +4635,15 @@ msgstr "" msgid "show all paths" msgstr "" -#: ./cli/app/list.go:302 +#: ./cli/app/list.go:294 msgid "show app deployment status" msgstr "" -#: ./cli/app/list.go:310 +#: ./cli/app/list.go:302 msgid "show apps of a specific recipe" msgstr "" -#: ./cli/app/list.go:333 +#: ./cli/app/list.go:325 msgid "show apps of a specific server" msgstr "" @@ -4721,12 +4712,12 @@ msgstr "" msgid "skipping generation of %s (generate=false)" msgstr "" -#: ./pkg/app/app.go:690 +#: ./pkg/app/app.go:683 #, c-format msgid "skipping version %s write as already exists in %s.env" msgstr "" -#: ./pkg/app/app.go:684 +#: ./pkg/app/app.go:677 #, c-format msgid "skipping writing version %s because dry run" msgstr "" @@ -4789,7 +4780,7 @@ msgstr "" msgid "ssh: SSH_AUTH_SOCK missing, --publish/-p will fail. see \"abra catalogue generate --help\"" msgstr "" -#: ./cli/app/list.go:299 ./cli/recipe/list.go:45 +#: ./cli/app/list.go:291 ./cli/recipe/list.go:45 msgid "status" msgstr "" @@ -4910,7 +4901,7 @@ msgstr "" msgid "timed out on undeploy (timeout=%v sec)" msgstr "" -#: ./pkg/app/compose.go:98 +#: ./pkg/app/compose.go:80 #, c-format msgid "timeout label: %s" msgstr "" @@ -4999,7 +4990,7 @@ msgstr "" msgid "unable to clean up git clone of %s: %s" msgstr "" -#: ./cli/app/list.go:154 +#: ./cli/app/list.go:148 #, c-format msgid "unable to clone %s: %s" msgstr "" @@ -5013,7 +5004,7 @@ msgstr "" msgid "unable to continue, input required for initial version" msgstr "" -#: ./pkg/app/compose.go:103 +#: ./pkg/app/compose.go:85 #, c-format msgid "unable to convert timeout label %s to int: %s" msgstr "" @@ -5112,7 +5103,7 @@ msgstr "" msgid "unable to parse %s, skipping" msgstr "" -#: ./cli/app/list.go:169 +#: ./cli/app/list.go:163 #, c-format msgid "unable to parse %s, skipping as upgrade option" msgstr "" @@ -5182,7 +5173,7 @@ msgstr "" msgid "unable to retrieve %s resources on %s: %s" msgstr "" -#: ./cli/app/list.go:159 +#: ./cli/app/list.go:153 #, c-format msgid "unable to retrieve tags for %s: %s" msgstr "" @@ -5266,7 +5257,7 @@ msgstr "" msgid "unimplemented call: SetWriteDeadline(%v)" msgstr "" -#: ./cli/app/labels.go:78 ./cli/app/list.go:117 ./cli/app/list.go:118 ./cli/app/list.go:119 ./cli/app/list.go:120 ./cli/app/list.go:121 ./cli/app/list.go:186 ./cli/app/ps.go:125 ./cli/app/ps.go:126 ./cli/app/ps.go:127 ./cli/app/ps.go:128 ./cli/app/ps.go:129 ./cli/server/list.go:65 ./cli/server/list.go:77 +#: ./cli/app/labels.go:78 ./cli/app/list.go:116 ./cli/app/list.go:117 ./cli/app/list.go:118 ./cli/app/list.go:119 ./cli/app/list.go:180 ./cli/app/ps.go:125 ./cli/app/ps.go:126 ./cli/app/ps.go:127 ./cli/app/ps.go:128 ./cli/app/ps.go:129 ./cli/server/list.go:65 ./cli/server/list.go:77 msgid "unknown" msgstr "" @@ -5421,7 +5412,7 @@ msgstr "" msgid "version" msgstr "" -#: ./pkg/app/app.go:688 +#: ./pkg/app/app.go:681 #, c-format msgid "version %s saved to %s.env" msgstr "" @@ -5445,7 +5436,7 @@ msgstr "" msgid "version seems invalid: %s" msgstr "" -#: ./pkg/app/app.go:627 +#: ./pkg/app/app.go:620 #, c-format msgid "version wiped from %s.env" msgstr "" diff --git a/pkg/i18n/locales/es.po b/pkg/i18n/locales/es.po index 7c1c7130..c2c794ed 100644 --- a/pkg/i18n/locales/es.po +++ b/pkg/i18n/locales/es.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2025-10-19 15:32+0200\n" +"POT-Creation-Date: 2025-10-19 15:40+0200\n" "PO-Revision-Date: 2025-09-04 08:14+0000\n" "Last-Translator: chasqui \n" "Language-Team: Spanish " msgstr "" -#: cli/app/list.go:52 +#: cli/app/list.go:51 msgid "" "Generate a report of all managed apps.\n" "\n" @@ -1017,7 +1013,7 @@ msgid "List all available commands" msgstr "📋 Listar todos los comandos disponibles" #. translators: Short description for `app list` command -#: cli/app/list.go:51 +#: cli/app/list.go:50 msgid "List all managed apps" msgstr "📋 Listar todas plataformas 🚀 administradas" @@ -1184,7 +1180,7 @@ msgstr "" msgid "README.md metadata filled in" msgstr "" -#: cli/app/list.go:227 cli/internal/deploy.go:79 cli/internal/deploy.go:209 +#: cli/app/list.go:221 cli/internal/deploy.go:79 cli/internal/deploy.go:209 msgid "RECIPE" msgstr "" @@ -1319,7 +1315,7 @@ msgstr "" msgid "Run app commands" msgstr "💻 Ejecutar comandos en una plataforma 🚀" -#: cli/app/backup.go:303 cli/app/list.go:300 cli/app/logs.go:109 +#: cli/app/backup.go:303 cli/app/list.go:292 cli/app/logs.go:109 #: cli/app/new.go:389 msgid "S" msgstr "" @@ -1332,7 +1328,7 @@ msgstr "" msgid "SECRETS OVERVIEW" msgstr "" -#: cli/app/list.go:227 cli/internal/deploy.go:80 +#: cli/app/list.go:221 cli/internal/deploy.go:80 msgid "SERVER" msgstr "" @@ -1358,7 +1354,7 @@ msgstr "" msgid "SSO" msgstr "" -#: cli/app/list.go:230 cli/app/ps.go:186 +#: cli/app/list.go:224 cli/app/ps.go:186 msgid "STATUS" msgstr "" @@ -1566,7 +1562,7 @@ msgstr "" msgid "UNDEPLOY" msgstr "" -#: cli/app/list.go:233 cli/internal/deploy.go:174 +#: cli/app/list.go:227 cli/internal/deploy.go:174 msgid "UPGRADE" msgstr "" @@ -1655,19 +1651,19 @@ msgid "" "\n" "Available Commands:{{range .Commands}}{{if (or .IsAvailableCommand (eq .Name " "\"help\"))}}\n" -" {{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}" -"{{if .HasAvailableLocalFlags}}\n" +" {{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}{{if ." +"HasAvailableLocalFlags}}\n" "\n" "Flags:\n" -"{{.LocalFlags.FlagUsages | trimTrailingWhitespaces}}{{end}}" -"{{if .HasAvailableInheritedFlags}}\n" +"{{.LocalFlags.FlagUsages | trimTrailingWhitespaces}}{{end}}{{if ." +"HasAvailableInheritedFlags}}\n" "\n" "Global Flags:\n" -"{{.InheritedFlags.FlagUsages | trimTrailingWhitespaces}}{{end}}" -"{{if .HasHelpSubCommands}}\n" +"{{.InheritedFlags.FlagUsages | trimTrailingWhitespaces}}{{end}}{{if ." +"HasHelpSubCommands}}\n" "\n" -"Additional help topics:{{range .Commands}}" -"{{if .IsAdditionalHelpTopicCommand}}\n" +"Additional help topics:{{range .Commands}}{{if ." +"IsAdditionalHelpTopicCommand}}\n" " {{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}" "{{if .HasAvailableSubCommands}}\n" "\n" @@ -1685,7 +1681,7 @@ msgstr "" msgid "VALUE" msgstr "" -#: cli/app/list.go:232 cli/app/ps.go:188 cli/app/secret.go:481 +#: cli/app/list.go:226 cli/app/ps.go:188 cli/app/secret.go:481 #: cli/recipe/version.go:69 cli/recipe/version.go:110 msgid "VERSION" msgstr "" @@ -1879,7 +1875,7 @@ msgstr "agregar [[server] | --local] [flags]" msgid "add release note? (leave empty to skip)" msgstr "" -#: pkg/app/app.go:515 +#: pkg/app/app.go:508 #, c-format msgid "adding env vars to %s service config" msgstr "" @@ -3162,7 +3158,7 @@ msgstr "" msgid "generated secrets %s shown again, please take note of them %s" msgstr "" -#: pkg/app/compose.go:81 +#: pkg/app/compose.go:63 #, c-format msgid "get label '%s'" msgstr "" @@ -3518,7 +3514,7 @@ msgstr "" msgid "labels [flags]" msgstr "etiquetas [flags]" -#: cli/app/deploy.go:425 cli/app/list.go:188 +#: cli/app/deploy.go:425 cli/app/list.go:182 msgid "latest" msgstr "" @@ -3567,7 +3563,7 @@ msgstr "listar [flags]" #. translators: `app list` command #. translators: `server list` command -#: cli/app/list.go:48 cli/server/list.go:23 +#: cli/app/list.go:47 cli/server/list.go:23 msgid "list [flags]" msgstr "listar [flags]" @@ -3633,7 +3629,7 @@ msgstr "" #. aliases with no spaces in between #. translators: `abra server list` aliases. use a comma separated list of #. aliases with no spaces in between -#: cli/app/backup.go:17 cli/app/cmd.go:203 cli/app/list.go:44 +#: cli/app/backup.go:17 cli/app/cmd.go:203 cli/app/list.go:43 #: cli/app/secret.go:453 cli/app/volume.go:21 cli/recipe/list.go:19 #: cli/server/list.go:19 msgid "ls" @@ -3643,14 +3639,14 @@ msgstr "plataformas" #. with no spaces in between #. translators: `abra man` aliases. use a comma separated list of aliases #. with no spaces in between -#: cli/app/list.go:323 cli/app/move.go:34 cli/app/ps.go:205 +#: cli/app/list.go:315 cli/app/move.go:34 cli/app/ps.go:205 #: cli/app/secret.go:553 cli/app/secret.go:649 cli/recipe/list.go:104 #: cli/recipe/upgrade.go:376 cli/recipe/version.go:139 cli/run.go:152 #: cli/server/list.go:106 msgid "m" msgstr "" -#: cli/app/list.go:322 cli/app/ps.go:204 cli/app/secret.go:552 +#: cli/app/list.go:314 cli/app/ps.go:204 cli/app/secret.go:552 #: cli/app/secret.go:648 cli/recipe/list.go:103 cli/recipe/upgrade.go:375 #: cli/recipe/version.go:138 cli/server/list.go:105 msgid "machine" @@ -3813,7 +3809,7 @@ msgstr "" msgid "no %s exists, skipping reading gitignore paths" msgstr "" -#: pkg/app/compose.go:87 +#: pkg/app/compose.go:69 #, c-format msgid "no %s label found for %s" msgstr "" @@ -4171,7 +4167,7 @@ msgstr "" msgid "previous git tags detected, assuming new semver release" msgstr "" -#: cli/app/list.go:325 cli/app/ps.go:207 cli/app/secret.go:555 +#: cli/app/list.go:317 cli/app/ps.go:207 cli/app/secret.go:555 #: cli/app/secret.go:651 cli/recipe/list.go:106 cli/recipe/upgrade.go:378 #: cli/recipe/version.go:141 cli/server/list.go:108 msgid "print machine-readable output" @@ -4233,7 +4229,7 @@ msgstr "" #. with no spaces in between #. translators: `abra recipe` aliases. use a comma separated list of aliases #. with no spaces in between -#: cli/app/backup.go:327 cli/app/list.go:308 cli/app/move.go:346 +#: cli/app/backup.go:327 cli/app/list.go:300 cli/app/move.go:346 #: cli/app/run.go:23 cli/app/upgrade.go:484 cli/catalogue/catalogue.go:302 #: cli/recipe/recipe.go:12 cli/recipe/release.go:649 cli/recipe/sync.go:272 msgid "r" @@ -4250,13 +4246,13 @@ msgstr "" msgid "read %s as tags for recipe %s" msgstr "" -#: pkg/app/app.go:582 pkg/config/env.go:50 pkg/envfile/envfile.go:42 +#: pkg/app/app.go:575 pkg/config/env.go:50 pkg/envfile/envfile.go:42 #: pkg/envfile/envfile.go:80 #, c-format msgid "read %s from %s" msgstr "" -#: pkg/app/app.go:584 +#: pkg/app/app.go:577 #, c-format msgid "read 0 command names from %s" msgstr "" @@ -4314,7 +4310,7 @@ msgid "readme: %s, " msgstr "" #. translators: `abra recipe` command for autocompletion -#: cli/app/list.go:307 cli/app/list.go:314 cli/run.go:99 +#: cli/app/list.go:299 cli/app/list.go:306 cli/run.go:99 msgid "recipe" msgstr "" @@ -4556,7 +4552,7 @@ msgstr "" msgid "retrieved %s configs for %s" msgstr "" -#: pkg/app/app.go:506 +#: pkg/app/app.go:499 #, c-format msgid "retrieved %s for %s" msgstr "" @@ -4571,7 +4567,7 @@ msgstr "" msgid "retrieved %v servers: %s" msgstr "" -#: pkg/app/app.go:492 +#: pkg/app/app.go:485 #, c-format msgid "retrieved app statuses: %s" msgstr "" @@ -4698,7 +4694,7 @@ msgstr "" #. translators: `abra server` aliases. use a comma separated list of aliases #. with no spaces in between #: cli/app/backup.go:198 cli/app/backup.go:263 cli/app/backup.go:287 -#: cli/app/list.go:331 cli/app/logs.go:101 cli/app/new.go:358 +#: cli/app/list.go:323 cli/app/logs.go:101 cli/app/new.go:358 #: cli/app/restore.go:114 cli/app/secret.go:535 cli/catalogue/catalogue.go:27 #: cli/catalogue/catalogue.go:310 cli/recipe/fetch.go:130 cli/recipe/sync.go:24 #: cli/server/server.go:12 @@ -4768,7 +4764,7 @@ msgid "secrets are %s shown again, please save them %s" msgstr "" #. translators: `abra server` command for autocompletion -#: cli/app/list.go:330 cli/app/list.go:337 cli/app/new.go:357 +#: cli/app/list.go:322 cli/app/list.go:329 cli/app/new.go:357 #: cli/app/new.go:364 cli/run.go:101 msgid "server" msgstr "" @@ -4820,8 +4816,8 @@ msgstr "" #: cli/recipe/upgrade.go:228 #, c-format msgid "" -"service %s is at version %s, but pinned to %s, please correct your " -"compose.yml file manually!" +"service %s is at version %s, but pinned to %s, please correct your compose." +"yml file manually!" msgstr "" #: cli/recipe/upgrade.go:224 @@ -4842,27 +4838,22 @@ msgstr "servicios [flags]" msgid "set 'main' as the default branch" msgstr "" -#: pkg/app/compose.go:69 -#, c-format -msgid "set label 'coop-cloud.%s.autoupdate' to %s for %s" -msgstr "" - -#: pkg/app/compose.go:31 +#: pkg/app/compose.go:30 #, c-format msgid "set label 'coop-cloud.%s.chaos' to %v for %s" msgstr "" -#: pkg/app/compose.go:42 +#: pkg/app/compose.go:41 #, c-format msgid "set label 'coop-cloud.%s.chaos-version' to %v for %s" msgstr "" -#: pkg/app/compose.go:52 +#: pkg/app/compose.go:51 #, c-format msgid "set label 'coop-cloud.%s.version' to %v for %s" msgstr "" -#: pkg/app/compose.go:19 +#: pkg/app/compose.go:18 #, c-format msgid "set recipe label 'coop-cloud.%s.recipe' to %s for %s" msgstr "" @@ -4884,15 +4875,15 @@ msgstr "" msgid "show all paths" msgstr "" -#: cli/app/list.go:302 +#: cli/app/list.go:294 msgid "show app deployment status" msgstr "" -#: cli/app/list.go:310 +#: cli/app/list.go:302 msgid "show apps of a specific recipe" msgstr "" -#: cli/app/list.go:333 +#: cli/app/list.go:325 msgid "show apps of a specific server" msgstr "" @@ -4961,12 +4952,12 @@ msgstr "" msgid "skipping generation of %s (generate=false)" msgstr "" -#: pkg/app/app.go:690 +#: pkg/app/app.go:683 #, c-format msgid "skipping version %s write as already exists in %s.env" msgstr "" -#: pkg/app/app.go:684 +#: pkg/app/app.go:677 #, c-format msgid "skipping writing version %s because dry run" msgstr "" @@ -5031,7 +5022,7 @@ msgid "" "generate --help\"" msgstr "" -#: cli/app/list.go:299 cli/recipe/list.go:45 +#: cli/app/list.go:291 cli/recipe/list.go:45 msgid "status" msgstr "" @@ -5153,7 +5144,7 @@ msgstr "" msgid "timed out on undeploy (timeout=%v sec)" msgstr "" -#: pkg/app/compose.go:98 +#: pkg/app/compose.go:80 #, c-format msgid "timeout label: %s" msgstr "" @@ -5243,7 +5234,7 @@ msgstr "" msgid "unable to clean up git clone of %s: %s" msgstr "" -#: cli/app/list.go:154 +#: cli/app/list.go:148 #, c-format msgid "unable to clone %s: %s" msgstr "" @@ -5257,7 +5248,7 @@ msgstr "" msgid "unable to continue, input required for initial version" msgstr "" -#: pkg/app/compose.go:103 +#: pkg/app/compose.go:85 #, c-format msgid "unable to convert timeout label %s to int: %s" msgstr "" @@ -5357,7 +5348,7 @@ msgstr "" msgid "unable to parse %s, skipping" msgstr "" -#: cli/app/list.go:169 +#: cli/app/list.go:163 #, c-format msgid "unable to parse %s, skipping as upgrade option" msgstr "" @@ -5430,7 +5421,7 @@ msgstr "" msgid "unable to retrieve %s resources on %s: %s" msgstr "" -#: cli/app/list.go:159 +#: cli/app/list.go:153 #, c-format msgid "unable to retrieve tags for %s: %s" msgstr "" @@ -5514,11 +5505,10 @@ msgstr "" msgid "unimplemented call: SetWriteDeadline(%v)" msgstr "" -#: cli/app/labels.go:78 cli/app/list.go:117 cli/app/list.go:118 -#: cli/app/list.go:119 cli/app/list.go:120 cli/app/list.go:121 -#: cli/app/list.go:186 cli/app/ps.go:125 cli/app/ps.go:126 cli/app/ps.go:127 -#: cli/app/ps.go:128 cli/app/ps.go:129 cli/server/list.go:65 -#: cli/server/list.go:77 +#: cli/app/labels.go:78 cli/app/list.go:116 cli/app/list.go:117 +#: cli/app/list.go:118 cli/app/list.go:119 cli/app/list.go:180 +#: cli/app/ps.go:125 cli/app/ps.go:126 cli/app/ps.go:127 cli/app/ps.go:128 +#: cli/app/ps.go:129 cli/server/list.go:65 cli/server/list.go:77 msgid "unknown" msgstr "" @@ -5674,7 +5664,7 @@ msgstr "" msgid "version" msgstr "" -#: pkg/app/app.go:688 +#: pkg/app/app.go:681 #, c-format msgid "version %s saved to %s.env" msgstr "" @@ -5699,7 +5689,7 @@ msgstr "" msgid "version seems invalid: %s" msgstr "" -#: pkg/app/app.go:627 +#: pkg/app/app.go:620 #, c-format msgid "version wiped from %s.env" msgstr ""