We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add safeguard against accidental overwriting of a previously created project on S3.
Some initial thoughts on implementation
Create lib-level code and related data:s3:integrate command that:
data:s3:integrate
bucket@s3_path/.project_id
project_id
config/datakit-data.json
s3_path
Update data push and pull to always run a preliminary check of project_id from local config against bucket@s3_path/.project_id
push
pull
The text was updated successfully, but these errors were encountered:
Agreed we should do this for v0.2.0. Removing Question label
v0.2.0
Sorry, something went wrong.
zstumgoren
No branches or pull requests
Add safeguard against accidental overwriting of a previously created project on S3.
Implementation
Some initial thoughts on implementation
Create S3 integration code
Create lib-level code and related
data:s3:integrate
command that:bucket@s3_path/.project_id
existsproject_id
setting inconfig/datakit-data.json
bucket@s3_path/.project_id
with the unique hashInitialization
data:s3:integrate
bucket@s3_path/.project_id
exists:config/datakit-data.json
without theproject_id
settings3_path
already exists, that they should update the setting and rundata:s3:integrate
data:s3:integrate
:project_id
setting inconfig/datakit-data.json
bucket@s3_path/.project_id
with the unique hashPush/Pull
Update data
push
andpull
to always run a preliminary check ofproject_id
from local config againstbucket@s3_path/.project_id
The text was updated successfully, but these errors were encountered: