Skip to content
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

Remove .tar extension from blob and config file names #419

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

umohnani8
Copy link
Member

@umohnani8 umohnani8 commented Feb 19, 2018

The config file was being saved as digest.tar for the directory transport.
This is misleading as the config file is not a tar archive.
Dropped the .tar extension from all files now, including blobs.
The user can use a tool like file to determine the format of the files in the directory.

Fixes issue containers/buildah#481

Signed-off-by: umohnani8 umohnani@redhat.com

@umohnani8
Copy link
Member Author

@mtrmac @runcom PTAL

@mtrmac
Copy link
Collaborator

mtrmac commented Feb 19, 2018

Makes sense overall, but this is an incompatible change, so it should increase the version number.

Can you prepare a parallel PR to fix the skopeo tests, please?

(Highlighting: This will break existing automated consumers of the dir: format, they will need to adjust.)

@rhatdan
Copy link
Member

rhatdan commented Feb 19, 2018

LGTM

@TomSweeneyRedHat
Copy link
Member

TomSweeneyRedHat commented Feb 19, 2018

FYI Buildah uses the dir: format pretty heavily in its bats tests.

@TomSweeneyRedHat
Copy link
Member

Change LGTM, Travis is unhappy and we'll need to roll into the other projects.

@umohnani8
Copy link
Member Author

@mtrmac I had to incorporate the changes from your PR #412 into this to fix the error occurring in the skopeo tests.

The config file was being saved as digest.tar for the directory transport.
This is misleading as the config file is not a tar archive.
Dropped the .tar extension from all files now, including blobs.
The user can use a tool like file to determine the format of the files in the directory.

Signed-off-by: umohnani8 <umohnani@redhat.com>
@umohnani8
Copy link
Member Author

Increased the version number to 1.1 from 1.0

@mtrmac
Copy link
Collaborator

mtrmac commented Feb 20, 2018

LGTM pending tests. Thanks!

Approved with PullApprove

@umohnani8
Copy link
Member Author

@runcom PTAL

@rhatdan
Copy link
Member

rhatdan commented Feb 21, 2018

@umohnani8 Why is test blowing up?

@runcom
Copy link
Member

runcom commented Feb 22, 2018

LGTM

Approved with PullApprove

@runcom runcom merged commit f7ea1dc into containers:master Feb 22, 2018
@runcom
Copy link
Member

runcom commented Feb 22, 2018

@umohnani8 go ahead and fix containers/skopeo#479

asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 4, 2018
skopeo removed the expectation that the file ends in .tar, which is not
consistent with the tar spec.

containers/image#419
fixes: #3705
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 4, 2018
skopeo removed the expectation that the file ends in .tar, which is not
consistent with the tar spec.

containers/image#419
fixes: #3703
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 6, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703

[WIP] Alternative: read version file

Version comparisons, done right

Version comparator and unittests
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 11, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703

[WIP] Alternative: read version file

Version comparisons, done right

Version comparator and unittests
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 12, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 12, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 12, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703
asmacdo added a commit to asmacdo/pulp_docker that referenced this pull request Jun 18, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703
pcreech pushed a commit to pulp/pulp_docker that referenced this pull request Jun 18, 2018
Adds comparators for a new class Version which represents a skopeo
directory transport version. This will allow us to easily support
future changes.

containers/image#419
fixes: #3703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants