-
Notifications
You must be signed in to change notification settings - Fork 323
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
Implementing reading Data Links #9215
Conversation
"pattern": "^s3://[\\w.~-]+/[/\\w.~-]+$" | ||
"pattern": "^s3://[a-z0-9.-]{3,63}/.{1,1024}$" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The S3 bucket name can only contain lowercase letters, digits, .
and -
. It has to be at least 3 characters long and at most 63 characters long.
There are a few more restrictions - e.g. it cannot start with -
, it cannot contain double --
etc. But I thought that just checking the simple ones is enough - it's just a basic sanity check - even if the bucket name is valid, the bucket could not exist / be not accessible anyway, so this does not need to be comprehensive.
The bucket key can be arbitrary, but it has a limit of 1024 bytes, so the length limit is a heuristic of that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving CODEOWNERS
and changes to the data file in the dashboard codebase.
@radeusgd should the test file not also be owned by the libraries team? |
3a3c924
to
8db4f8a
Compare
@somebody1234 I was not sure, since it's written in TypeScript I thought it may make sense for changes to be approved by someone from GUI. But I guess it could be either way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks a great place to build on top of.
distribution/lib/Standard/AWS/0.0.0-dev/src/S3/S3_Data_Link.enso
Outdated
Show resolved
Hide resolved
I agree lets add it to libs to be able to approve too. |
8db4f8a
to
f93d2e1
Compare
#group_builder.specify "should be able to read a data link with custom credentials and secrets" pending=cloud_setup.pending <| cloud_setup.with_prepared_environment <| | ||
group_builder.specify "should be able to read a data link with custom credentials and secrets" pending="TODO: reading secrets from path" <| cloud_setup.with_prepared_environment <| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is enabled in the next PR.
637a2cc
to
81f9e40
Compare
# Conflicts: # distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Enso_File.enso
Pull Request Description
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.