1
0
mirror of https://github.com/regclient/regclient.git synced 2025-04-18 22:44:00 +03:00

5 Commits

Author SHA1 Message Date
Brandon Mitchell
eea06e2a5c
Refactoring the type package
I feel like I need to explain, this is all to move the descriptor package.
The platform package could not use the predefined errors in types because of a circular dependency from descriptor.
The most appropriate way to reorg this is to move descriptor out of the type package since it was more complex than a self contained type.
When doing that, type aliases were needed to avoid breaking changes to existing users.
Those aliases themselves caused circular dependency loops because of the media types and errors, so those were also pulled out to separate packages.
All of the old values were aliased and deprecated, and to fix the linter, those deprecations were fixed by updating the imports... everywhere.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-03-04 15:43:18 -05:00
Brandon Mitchell
4c1e999343
Validate the ref in various APIs
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2023-11-11 19:23:58 -05:00
Brandon Mitchell
5fa181ff08 regclient linting, scheme API rename
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-02-04 15:25:14 -05:00
Brandon Mitchell
f539a23f76 Image copy on some schemes pushes manifest first
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2022-01-16 19:25:55 -05:00
Brandon Mitchell
1d93bf7bb6 Moving regclient package to top level
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2021-12-29 14:51:11 -05:00