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

S3 publishing dumps all assets into the root of the bucket #228

Open
sdlaver opened this issue Jul 7, 2023 · 0 comments
Open

S3 publishing dumps all assets into the root of the bucket #228

sdlaver opened this issue Jul 7, 2023 · 0 comments

Comments

@sdlaver
Copy link
Contributor

sdlaver commented Jul 7, 2023

The uploaded files have random names, including for:

  • APKs
  • Off-chain JSON metadata
  • image assets
  • etc

This makes it hard to associate files within the bucket - you'd have to scan for which files are off-chain metadata, and then parse those for references to the other files. I'd propose splitting into subdirs based on file type, e.g.:

<bucket root>/metadata/*
<bucket root>/media/*
<bucket root>/files/*

Files would still have random names within these subdirectories.

This would provide a mechanism to easily know what is metadata, and to parse those to locate what the files in media and files correspond to.

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

1 participant