Commit Graph
47 Commits
Author SHA1 Message Date
Florian Schade 5486216350 fix: cobra viper flags and env 2025-12-19 12:15:48 +01:00
Jörn Friedrich DreyerandFlorian Schade 3a2a38870c ignore some viper errors
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 61707ab6d0 double check required args
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade d0e51010bf replace more .Value.String() occurences
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 032c218789 replace .Value.String() with .GetString(...)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 8564fa4536 fix opencloud version flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade eebccf7c78 fix opencloud trash flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 6204c6b3cb fix opencloud init flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 35b3e51052 fix opencloud decomposedfs flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade 94a49aa404 fix opencloud benchmark flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Jörn Friedrich DreyerandFlorian Schade f7681b36dd fix opencloud backup flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-12-15 16:40:27 +01:00
Florian Schade efb7e73195 fix(cli): fix varius cmds
- cmd backup consistency, fix flags
- revisions purge, fix flags
2025-12-15 16:40:27 +01:00
Florian Schade 5824d8df34 fix(cli): hydrate shared configurations such as commons before running any service command 2025-12-15 16:40:27 +01:00
Florian Schade 9904e5b932 enhancement(cli): group commands by topic 2025-12-15 16:40:27 +01:00
Florian Schade 879de39129 fix: list service child commands the service is called without arguments 2025-12-15 16:40:27 +01:00
Christian RichterandFlorian Schade 0fa3a2a7f8 prevent overwrite of RunE
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:27 +01:00
Christian RichterandFlorian Schade a9b1bea4f8 override RunE function of root subcommands to ensure that help is shown when no arguments are given
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:27 +01:00
Christian RichterandFlorian Schade 07c160f67c refactor oc runtime server from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 67981d8f9a refactor version cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 7be33b0607 refactor interims DefaultAppCobra to DefaultApp
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 6d054c527c migrate trash cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade d89054484d migrate oc root cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 7c2eb19050 migrate services.go from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 3f73faa3fe migrate shares cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 4794deb0ae migrate revisions cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade dfa2577cf0 migrate list cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 83bbcfb4ed migrate benchmark cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 3cb002977f migrate backup cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 56324caba1 migrate decomposedfs cli command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 1e970499af migrate oc init command from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Christian RichterandFlorian Schade 35900f8875 migrate posix cli commands from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:26 +01:00
Viktor ScharfandGitHub e7d8f3f446 show edition in the opncloud version output (#2019) 2025-12-12 15:01:25 +01:00
André Duffeck 5c6eaf9b96 Only remove obsolete IDs from the index 2025-06-27 11:19:53 +02:00
André Duffeck adc09da4c7 Fix typo 2025-06-26 08:50:49 +02:00
André Duffeck c0e09f76c8 Add a "posixfs consistency" command
This command checks posixfs storages for inconsistencies and fixes them.
2025-06-26 08:50:49 +02:00
Ralf Haferkamp 96684df32d Adjust to new tablewriter release 2025-05-19 19:26:38 +02:00
André Duffeck d772aea84a Adapt to changed signatures in reva 2025-03-13 08:51:42 +01:00
Jörn Friedrich Dreyer 74b6078158 bump reva, change decomposeds3 drivername
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-02-20 11:07:31 +01:00
André Duffeck 19438f719b Adapt to reva changes 2025-02-20 09:54:34 +01:00
André Duffeck d49631d14c Delete the migrate command. It's no longer needed (for now) 2025-02-20 09:54:18 +01:00
André Duffeck 61e2a99998 Adapt to changed signature in reva 2025-02-13 10:07:17 +01:00
André Duffeck 57fa8eb43c Switch from ocis/s3ng to decomposed/decomposed_s3 storage drivers
ocis/s3ng are still supported for backwards compatibility reasons, but
they need to be configured using the decomposed/decomposed_s3 options.
2025-01-24 11:04:23 +01:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
André Duffeck 1fff27f281 Rebrand pkg 2025-01-20 09:34:32 +01:00
Jörn Friedrich DreyerandFlorian Schade b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer a46fd132bd use OC_ env prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer 26aafdfd08 change binary name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 14:17:23 +01:00