-
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
Add AsyncFileLockGuard
#844
Merged
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 30, 2023
Merged
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
October 31, 2023 08:19
c95c9bb
to
c825636
Compare
mkaput
force-pushed
the
spr/main/ba8e1f16
branch
from
October 31, 2023 08:19
8d01594
to
dbc5232
Compare
mkaput
force-pushed
the
spr/main/ba8e1f16
branch
from
November 7, 2023 14:19
dbc5232
to
8fd47a4
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 7, 2023 14:21
c825636
to
b3e6ce2
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 8, 2023 08:57
b3e6ce2
to
06cecd1
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
2 times, most recently
from
November 8, 2023 10:39
094c31c
to
78efb00
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 8, 2023 10:39
06cecd1
to
4197544
Compare
Merged
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 9, 2023 15:25
78efb00
to
ec27844
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 9, 2023 15:25
4197544
to
e16fa52
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 <marek.kaput@swmansion.com>
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 13, 2023 10:03
e16fa52
to
deffacc
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/ebda97d6
branch
from
November 13, 2023 13:30
deffacc
to
75f0a8e
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 13, 2023 13:30
0125e5b
to
10f3e44
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 13, 2023 14:01
10f3e44
to
d647317
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 13, 2023 14:01
75f0a8e
to
8445138
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 14, 2023 15:49
d647317
to
a32da82
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 14, 2023 15:49
8445138
to
1d6bc6a
Compare
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 15, 2023 13:12
1d6bc6a
to
c1e0523
Compare
mkaput
force-pushed
the
spr/main/bc758880
branch
from
November 15, 2023 13:12
a32da82
to
5f69d77
Compare
This data structure will be later used in Tokio-based code which writes to the file protected by this guard. Signed-off-by: Marek Kaput <marek.kaput@swmansion.com> commit-id:ebda97d6
mkaput
force-pushed
the
spr/main/ebda97d6
branch
from
November 16, 2023 10:16
c1e0523
to
fa8650e
Compare
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.
This data structure will be later used in Tokio-based code which writes to the file protected by this guard.
Signed-off-by: Marek Kaput marek.kaput@swmansion.com
Stack:
checksum
field toPackageLock
and add Builder pattern there #909Clone
forFilesystem
#845AsyncFileLockGuard
#844 ⬅