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

Include the git blob id of the dir-index bundle in the ETag #7360

Merged
merged 2 commits into from
May 25, 2020

Conversation

ribasushi
Copy link
Contributor

While the content of raw files retrieved via the gateway should never
change, the look and feel of the directory index can and will change
between versions of go-ipfs.

Incorporate the hash of assets/bindata.go into the ETag when appropriate

@Stebalien this is what we spoke about last year @ camp. Goes with @jessicaschilling's recent changes.

While the content of raw files retrieved via the gateway should never
change, the look and feel of the directory index can and will change
between versions of go-ipfs.

Incorporate the hash of assets/bindata.go into the ETag when appropriate
@ribasushi ribasushi requested review from lidel and Stebalien May 25, 2020 18:47
@ribasushi
Copy link
Contributor Author

Context: #6465 (review)

@@ -0,0 +1,5 @@
package assets
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a comment here to say that this shouldn't be edited?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ done

@Stebalien Stebalien merged commit 707b550 into master May 25, 2020
@Stebalien
Copy link
Member

Thanks!

@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
@hacdias hacdias deleted the feat/better_dir_etag branch May 9, 2023 10:59
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.

2 participants