Sebastiaan van Stijn
1df8feb2e4
Merge pull request #6345 from thaJeztah/bump_x_sync
...
vendor: golang.org/x/sync v0.16.0
2025-08-22 21:05:54 +02:00
Sebastiaan van Stijn
c7cbac58b3
vendor: golang.org/x/sync v0.16.0
...
Brings in the errgroup implementation for reverted auto-recover from panics.
full diff: https://github.com/golang/sync/compare/v0.14.0...v0.16.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 14:26:38 +02:00
Sebastiaan van Stijn
e8e4588f64
Merge pull request #6344 from thaJeztah/remove_builder_newprunecommand
...
cli/command/trust: remove deprecated NewPruneCommand
2025-08-22 12:41:14 +02:00
Sebastiaan van Stijn
d317bc30be
cli/command/trust: remove deprecated NewPruneCommand
...
These were deprecated in 7032f5922e , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 12:35:36 +02:00
Sebastiaan van Stijn
832a3754e5
Merge pull request #6342 from thaJeztah/deprecate_builder_NewPruneCommand
...
cli/command/builder: deprecate NewPruneCommand
2025-08-22 12:35:08 +02:00
Sebastiaan van Stijn
4d4533abaa
Merge pull request #6338 from thaJeztah/cleanup_formatters
...
cli/command: inline vars and use struct literals in formatting functions
2025-08-22 12:25:14 +02:00
Sebastiaan van Stijn
7032f5922e
cli/command/builder: deprecate NewPruneCommand
...
This patch deprecates exported NewPruneCommand and moves the
implementation details to an unexported function.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 12:18:27 +02:00
Sebastiaan van Stijn
2966159873
Merge pull request #6339 from thaJeztah/rm_deprecated_formatting
...
cli/command/*: remove deprecated formatting-related functions and types
2025-08-22 12:10:26 +02:00
Sebastiaan van Stijn
65e7ece518
Merge pull request #6337 from thaJeztah/pretty_io
...
cli/command/system: prettyPrintVersion: accept a plain io.Writer
2025-08-22 11:31:33 +02:00
Sebastiaan van Stijn
5bb8ab4e6f
cli/command/trust: remove deprecated formatting functions
...
These were deprecated in 95c9b1b13b , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:43:27 +02:00
Sebastiaan van Stijn
8969b57500
cli/command/task: remove deprecated formatting functions
...
These were deprecated in c3ee82fdc3 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:42:53 +02:00
Sebastiaan van Stijn
c6f4573153
cli/command/service: remove deprecated formatting functions
...
These were deprecated in 9f453d3fea , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:42:24 +02:00
Sebastiaan van Stijn
04bcae3a8c
cli/command/secret: remove deprecated formatting functions
...
These were deprecated in f3088e37a0 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:41:52 +02:00
Sebastiaan van Stijn
c592932f47
cli/command/registry: remove deprecated formatting functions
...
These were deprecated in 83371c2014 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:41:11 +02:00
Sebastiaan van Stijn
264080d2fc
cli/command/plugin: remove deprecated formatting functions
...
These were deprecated in bf47419852 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:40:43 +02:00
Sebastiaan van Stijn
e5a0fb09a3
cli/command/node: remove deprecated formatting functions
...
These were deprecated in 123ef81f7d , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:40:09 +02:00
Sebastiaan van Stijn
7b172fcf53
cli/command/network: remove deprecated formatting functions
...
These were deprecated in e3903a1ac8 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:39:35 +02:00
Sebastiaan van Stijn
d223ec3b56
cli/command/image: remove deprecated formatting functions
...
These were deprecated in 15cf4fa912 , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:38:56 +02:00
Sebastiaan van Stijn
206a8da307
cli/command/container: remove deprecated formatting functions
...
These were deprecated in 907507e22a and
fdc90caeee , which are part of the v28.4
release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:38:09 +02:00
Sebastiaan van Stijn
f969adf63f
cli/command/config: remove deprecated formatting functions
...
These were deprecated in e626f778ec , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:36:11 +02:00
Sebastiaan van Stijn
e416418e70
cli/command/checkpoint: remove deprecated formatting functions
...
These were deprecated in d861b78a8a , which
is part of the v28.4 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:34:17 +02:00
Sebastiaan van Stijn
efd6e7b6e0
cli/command/system: prettyPrintVersion: accept a plain io.Writer
...
We're only writing to a single stream, so may as well just let it
take an io.writer.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:22:56 +02:00
Sebastiaan van Stijn
f72ec26693
cli/command/trust: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:11 +02:00
Sebastiaan van Stijn
6de2cdd1af
cli/command/task: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:11 +02:00
Sebastiaan van Stijn
e308036440
cli/command/service: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:11 +02:00
Sebastiaan van Stijn
12d30bb50c
cli/command/secret: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:11 +02:00
Sebastiaan van Stijn
863b5633f3
cli/command/registry: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:11 +02:00
Sebastiaan van Stijn
aa39a7e7be
cli/command/plugin: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:10 +02:00
Sebastiaan van Stijn
1a433cdbdb
cli/command/node: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:10 +02:00
Sebastiaan van Stijn
3d2bd97a82
cli/command/config: formatWrite: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:10 +02:00
Sebastiaan van Stijn
70033b78d4
cli/command/checkpoint: formatWrite: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:10 +02:00
Sebastiaan van Stijn
8cb8056efa
cli/command/image: historyWrite: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:10 +02:00
Sebastiaan van Stijn
7589722e93
cli/command/network: formatWrite: inline vars and use struct literals
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:19:09 +02:00
Sebastiaan van Stijn
e06e758d5f
cli/command/system: TestVersionFormat: use table-test and struct literal
...
- Use a table-test to more easily allow adding test-cases
- Use the test-name itself as name for the golden file
- Use a struct-literal to create the fixture for formatting.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-22 09:11:35 +02:00
Sebastiaan van Stijn
58bb45c37f
Merge pull request #6336 from thaJeztah/internalize_formatters
...
cli/command/*: deprecate formatting-related functions and types
2025-08-22 08:29:16 +02:00
Sebastiaan van Stijn
95c9b1b13b
cli/command/trust: deprecate formatting-related functions and types
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
This deprecates the following types and functions:
- `SignedTagInfo`
- `SignerInfo`
- `NewTrustTagFormat`
- `NewSignerInfoFormat`
- `TagWrite`
- `SignerInfoWrite`
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:26 +02:00
Sebastiaan van Stijn
c3ee82fdc3
cli/command/task: deprecate NewTaskFormat, FormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:26 +02:00
Sebastiaan van Stijn
9f453d3fea
cli/command/service: deprecate NewFormat, InspectFormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:26 +02:00
Sebastiaan van Stijn
f3088e37a0
cli/command/secret: deprecate NewFormat, FormatWrite, InspectFormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:25 +02:00
Sebastiaan van Stijn
83371c2014
cli/command/registry: deprecate NewSearchFormat, SearchWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:25 +02:00
Sebastiaan van Stijn
bf47419852
cli/command/plugin: deprecate NewFormat, FormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:25 +02:00
Sebastiaan van Stijn
123ef81f7d
cli/command/node: deprecate NewFormat, FormatWrite, InspectFormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:25 +02:00
Sebastiaan van Stijn
e626f778ec
cli/command/config: deprecate NewFormat, FormatWrite, InspectFormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:25 +02:00
Sebastiaan van Stijn
d861b78a8a
cli/command/checkpoint: deprecate NewFormat, FormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:24 +02:00
Sebastiaan van Stijn
15cf4fa912
cli/command/image: deprecate NewHistoryFormat, HistoryWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 15:25:24 +02:00
Sebastiaan van Stijn
e3903a1ac8
cli/command/network: deprecate NewFormat, FormatWrite
...
It's part of the presentation logic of the cli, and only used internally.
We can consider providing utilities for these, but better as part of
separate packages.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 14:31:27 +02:00
Sebastiaan van Stijn
b0d1d94711
Merge pull request #6330 from thaJeztah/internalize_ParseEnvFile
...
opts: deprecate ParseEnvFile
2025-08-21 13:35:39 +02:00
Sebastiaan van Stijn
8c0440a653
Merge pull request #6335 from thaJeztah/rm_exported_cobra_funcs
...
cli/command/*: remove deprecated cobra command constructors
2025-08-21 13:13:19 +02:00
Sebastiaan van Stijn
40e605a3b2
Merge pull request #6334 from thaJeztah/commands_nolock
...
internal/commands: remove mutexes / synchronisation and copy
2025-08-21 13:11:17 +02:00
Sebastiaan van Stijn
873609d790
cli/command/*: remove deprecated cobra command constructors
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-08-21 11:12:28 +02:00