-
Notifications
You must be signed in to change notification settings - Fork 70
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
Implement caching of records returned from registry clients #809
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Oct 20, 2023
Merged
mkaput
changed the title
Cache records returned by registry clients
Implement caching of records returned from registry clients
Oct 20, 2023
mkaput
force-pushed
the
spr/main/97fc578f
branch
2 times, most recently
from
October 23, 2023 06:18
10d387b
to
99fdd2e
Compare
This was referenced Oct 23, 2023
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 23, 2023 17:59
99fdd2e
to
c75e92f
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 25, 2023
This implementation focuses solely on local registries, and it has almost no security. --- **Stack**: - #819 - #818 - #809 - #808 - #807 - #806 - #805 - #803 - #802 - #799 - #798 - #793 - #790 ⬅⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.*
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
October 25, 2023 12:21
a0d0ae3
to
ec66146
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 25, 2023 12:21
c75e92f
to
95e0a46
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 25, 2023
There are some rough untested edges, but in general this command is capable of building a local registry from scratch 🎉 --- **Stack**: - #819 - #818 - #809 - #808 - #807 - #806 - #805 - #803 - #802 - #799 - #798 - #793 ⬅⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.*
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 27, 2023 12:44
95e0a46
to
d293563
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 27, 2023
These tests depend on both #790 and #793, hence they come in separate PR. --- **Stack**: - #819 - #818 - #809 - #808 - #807 - #806 - #805 - #803 - #802 - #799 - #798 ⬅⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.*
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
October 27, 2023 13:24
661603a
to
f6f6ee8
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 27, 2023 13:24
d293563
to
8268aa2
Compare
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
October 27, 2023 14:16
f6f6ee8
to
e5f7598
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 27, 2023 14:16
8268aa2
to
b7b62c1
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 30, 2023 16:14
74e0606
to
09a9e0f
Compare
This was referenced Oct 30, 2023
Merged
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
October 30, 2023 17:56
fd6251b
to
2e18bf7
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 30, 2023 17:56
09a9e0f
to
12c9170
Compare
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
October 31, 2023 08:19
2e18bf7
to
5f110a7
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
October 31, 2023 08:19
12c9170
to
5b767e2
Compare
maciektr
approved these changes
Nov 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
November 7, 2023 14:26
5f110a7
to
24894d7
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
November 7, 2023 14:26
5b767e2
to
89b884a
Compare
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
November 8, 2023 08:57
24894d7
to
f0228e2
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
2 times, most recently
from
November 8, 2023 10:39
d2e41f1
to
a9a4b50
Compare
Merged
mkaput
force-pushed
the
spr/main/afcc7328
branch
from
November 9, 2023 15:25
32c0736
to
42f4f49
Compare
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
November 9, 2023 15:25
a9a4b50
to
3df7e3a
Compare
maciektr
approved these changes
Nov 10, 2023
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 13, 2023
This PR lays groundwork for implementing caching of `RegistryClient` instances. It just sets up all the types and refactors, no caching is done yet. There is also a small functional change: local registry client does not print `Unpacking` status in normal mode. This wasn't a big deal, and it allowed removing the `is_offline` method from `RegistryClient`. --- **Stack**: - #892 - #846 - #845 - #844 - #819 - #818 - #809 - #808 ⬅⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.* Signed-off-by: Marek Kaput <[email protected]>
NOTE: Nothing is cached actually yet, because no registry client uses hooks provided by this code. This will come in subsequent PRs. commit-id:97fc578f
mkaput
force-pushed
the
spr/main/97fc578f
branch
from
November 13, 2023 10:03
3df7e3a
to
266de6b
Compare
szymmis
approved these changes
Nov 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: Nothing is cached actually yet, because no registry client uses hooks provided by this code. This will come in subsequent PRs.
Stack:
Clone
forFilesystem
#845AsyncFileLockGuard
#844