-
Notifications
You must be signed in to change notification settings - Fork 31
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
[BUG] Images imported with digests fail to re-appear on the other archival process #250
Comments
@KaminFay thank you for submitting this issue. Unfortunately and fortunately, I was able to reproduce this issue and we will start to look at releasing as fix for it as well. |
Just wanted to follow up on this, figured I'd spend some time to see if I can figure out whats going on here. I may be off base but I think my fix is working and I should have a PR for you guys tomorrow. But heres the gist of it:
var baseRef, hash string
parts := strings.SplitN(ref, "@", 2)
baseRef = parts[0]
if len(parts) > 1 {
hash = parts[1]
}
And when split:
Proposed Solution:
parts := strings.Split(ref, "@")
baseRef = strings.Join(parts[:len(parts)-1], "@")
if len(parts) > 1 {
hash = parts[len(parts)-1]
} |
Clearly took me a minute to get the signing / commit log fixed on that one. Sorry about the spam on that one. Let me know if this is the solution you'd be looking for or if Im looking at the problem wrong. |
Closing as resolved per PR #259! |
Environmental Info:
Hauler Version:
Describe the Bug:
Steps to Reproduce:
Note taking a look at the index for the first haul:
Expected Behavior:
hauler store info
and are served viahauler store serve registry
when they are uncompressed from a tar.zstActual Behavior:
Additional Context:
Temporary Fix:
I'm going to take a look at the code base to see if I can figure out whats going on with this and if I can submit a simple fix. But just wanted it on the public radar.
The text was updated successfully, but these errors were encountered: