This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/solver
guillaume da7b77ed5c Re-implement docker registry parsing
Dagger used to rely on registry.ParseNormalize function to extract registry domains from images / registry URLs.
However, it contained some flaws for private registries.
This PR fixes that by implementing a test suite around it, and tweaks the splitReposSearchTerm function from the docker CLI.

The logic of splitReposSearchTerm is kept, and enhanced to fit to all of our use cases.
In case of a bad matching, a clear error is returned

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-01-19 02:03:17 +01:00
..
fs.go cleanup: move packages to top level, change vanity URL 2021-05-25 16:54:00 -07:00
registryauth_test.go Re-implement docker registry parsing 2022-01-19 02:03:17 +01:00
registryauth.go Re-implement docker registry parsing 2022-01-19 02:03:17 +01:00
secretsprovider.go Migrate dagger.#Secret and dagger.#Stream to new format 2021-12-01 17:33:35 -08:00
socketprovider_unix.go Migrate dagger.#Secret and dagger.#Stream to new format 2021-12-01 17:33:35 -08:00
socketprovider_windows.go Migrate dagger.#Secret and dagger.#Stream to new format 2021-12-01 17:33:35 -08:00
socketprovider.go Migrate dagger.#Secret and dagger.#Stream to new format 2021-12-01 17:33:35 -08:00
solver.go Fix nits + comments 2022-01-06 19:40:38 -07:00