-
Notifications
You must be signed in to change notification settings - Fork 71
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 records caching on HttpRegistryClient level #819
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 23, 2023
Merged
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/ca3e5f93
branch
from
October 25, 2023 12:21
e854b6f
to
f5d20ce
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
October 25, 2023 12:21
f2f469e
to
c8220ea
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/bc758880
branch
from
October 27, 2023 12:44
c8220ea
to
1df1beb
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
October 27, 2023 12:44
f5d20ce
to
3b300c3
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/bc758880
branch
from
October 27, 2023 13:24
1df1beb
to
f2bd5d4
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
October 27, 2023 14:16
1529ca2
to
cfe44d5
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
October 27, 2023 14:16
f2bd5d4
to
3c828a9
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
October 27, 2023 14:51
3c828a9
to
8d40f5e
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
October 27, 2023 15:52
8d40f5e
to
ca23a28
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
October 30, 2023 16:14
ca23a28
to
8348f7b
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
October 30, 2023 16:14
1ee6e2f
to
0f9d6b5
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
November 7, 2023 14:27
2cb880a
to
b62b9f8
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 7, 2023 14:27
44c40e4
to
2b76407
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
November 8, 2023 08:57
b62b9f8
to
423eb95
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 8, 2023 08:57
2b76407
to
094c31c
Compare
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
November 8, 2023 10:39
423eb95
to
e7b3c11
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 8, 2023 10:39
094c31c
to
78efb00
Compare
Merged
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 9, 2023 15:25
78efb00
to
ec27844
Compare
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 <marek.kaput@swmansion.com>
mkaput
force-pushed
the
spr/main/ca3e5f93
branch
from
November 13, 2023 10:03
c2e84ea
to
4d96c55
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 13, 2023 10:03
ec27844
to
0125e5b
Compare
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 13, 2023
NOTE: Nothing is cached actually yet, because no registry client uses hooks provided by this code. This will come in subsequent PRs. --- **Stack**: - #892 - #846 - #845 - #844 - #819 - #818 - #809 ⬅⚠️ *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/ca3e5f93
branch
from
November 13, 2023 13:30
4d96c55
to
d67d59f
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 13, 2023 13:30
0125e5b
to
10f3e44
Compare
maciektr
approved these changes
Nov 13, 2023
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 13, 2023 14:01
10f3e44
to
d647317
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 14, 2023 15:49
d647317
to
a32da82
Compare
Signed-off-by: Marek Kaput <marek.kaput@swmansion.com> commit-id:bc758880
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 15, 2023 13:12
a32da82
to
5f69d77
Compare
szymmis
approved these changes
Nov 15, 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.
Signed-off-by: Marek Kaput marek.kaput@swmansion.com
Stack:
checksum
field toPackageLock
and add Builder pattern there #909Clone
forFilesystem
#845AsyncFileLockGuard
#844