-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetcher: new implementation using unlinked files #1061
Commits on Oct 12, 2023
-
zreader: transparent compression helper
This moves some compression detection logic out of libindex's Fetcher implementation into a common spot. The plan is to use it there and also in Updater Fetch implementations to help with future-proofing. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d413174 - Browse repository at this point
Copy the full SHA d413174View commit details -
claircore: add LayerDescription type and FS method
This lays the groundwork for having Indexers not reconstruct their own `tarfs` instances and instead share one. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 031ece5 - Browse repository at this point
Copy the full SHA 031ece5View commit details -
wart: add package to help with API migrations
It occurred to me that while API migrations are occurring in the codebase, a lot of shims are going to be doing the same thing. This package is a landing place for those helpers. This change creates the package and then adds helpers for the Layer/LayerDescription transition. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 9e3010d - Browse repository at this point
Copy the full SHA 9e3010dView commit details -
indexer: add DescriptionRealizer interface
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c73ac54 - Browse repository at this point
Copy the full SHA c73ac54View commit details -
test: implement a test fetcher
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 7ca5cf4 - Browse repository at this point
Copy the full SHA 7ca5cf4View commit details -
As part of the growing pains of splitting the Layer type, we need to check that Layer pointers are getting swapped. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 910dff5 - Browse repository at this point
Copy the full SHA 910dff5View commit details -
libindex: implement new unlinked file fetcher
This fetcher implementation uses the O_TMPFILE flag to open(2) to open files that are not linked into the file system. Doing this means that the layer contents are cleaned up even if the process exits uncleanly. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a844586 - Browse repository at this point
Copy the full SHA a844586View commit details -
fetch: add ghcr and optional decompression support
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for eba5e71 - Browse repository at this point
Copy the full SHA eba5e71View commit details -
fetch: documentation, switch from
*testing.T
totesting.TB
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for fe97f8e - Browse repository at this point
Copy the full SHA fe97f8eView commit details -
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8fbe967 - Browse repository at this point
Copy the full SHA 8fbe967View commit details -
test: remove unused
http.RoundTripper
implementationSigned-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 957a02b - Browse repository at this point
Copy the full SHA 957a02bView commit details -
test: port various other fetcher abstractions to `claircore.LayerDesc…
…ription` There's too many of these things. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 6f27cfc - Browse repository at this point
Copy the full SHA 6f27cfcView commit details -
claircore: update tests for
test
package changesThese tests should probably be audited and removed where they don't make sense anymore. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 46c8758 - Browse repository at this point
Copy the full SHA 46c8758View commit details -
test: add matcher for LayerDescriptions and Digests
This makes gomock a bit nicer to use. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 6375527 - Browse repository at this point
Copy the full SHA 6375527View commit details -
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 62508a0 - Browse repository at this point
Copy the full SHA 62508a0View commit details -
whiteout: fix logs in Resolver test
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 199573a - Browse repository at this point
Copy the full SHA 199573aView commit details -
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 14dca71 - Browse repository at this point
Copy the full SHA 14dca71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26539f2 - Browse repository at this point
Copy the full SHA 26539f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f32073c - Browse repository at this point
Copy the full SHA f32073cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e537ff - Browse repository at this point
Copy the full SHA 9e537ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7baf230 - Browse repository at this point
Copy the full SHA 7baf230View commit details -
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 6d1aa81 - Browse repository at this point
Copy the full SHA 6d1aa81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c22819 - Browse repository at this point
Copy the full SHA 0c22819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bdacd - Browse repository at this point
Copy the full SHA 60bdacdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62862b0 - Browse repository at this point
Copy the full SHA 62862b0View commit details -
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 19e1375 - Browse repository at this point
Copy the full SHA 19e1375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 694fd4b - Browse repository at this point
Copy the full SHA 694fd4bView commit details -
periodic: update layer handling
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 58b6b4a - Browse repository at this point
Copy the full SHA 58b6b4aView commit details