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

Cannot retrieve the old version data #3142

Open
highfly22 opened this issue Oct 14, 2022 · 1 comment
Open

Cannot retrieve the old version data #3142

highfly22 opened this issue Oct 14, 2022 · 1 comment

Comments

@highfly22
Copy link

I try to get the file content from old version. But quilte3 always return the latest file.

Steps to reproduce:

Package.set('a')
Package,push()
# modify the file named 'a'
Package.set('a')
Package,push()
Package.browser('repo/repo', "s3://quilt", "oldversion_hash")
Package['a'].get_bytes() return old data

I have enable versioning in the bucket s3://quilt.

How to get the file of old version?

@sir-sigurd
Copy link
Member

I can't reproduce this.

You could check where objects were put for both previous and last revisions of package:
str(quilt3.Package.browse('test/test', registry="s3://quilt")["a"].physical_key) and compare version ids of objects and compare contents of versions.

(also your steps to reproduce doesn't seem be working and complete)

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

No branches or pull requests

2 participants