Skip to content

Conversation

@oliviermeslin
Copy link

Hi Onyxia team,

The S3 access snippets in R with R (aws.s3 and paws) were not working because listing buckets on S3 storages with many buckets does not seem to work for some reason. I propose a correction, along with a few comments.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2025

@oliviermeslin
Copy link
Author

@garronej , @ddecrulle : I'm quite aware that username <- gsub("user-", "", Sys.getenv("KUBERNETES_NAMESPACE")) is not the proper way to retrieve the username (and it won't work anyway for project namespaces). But I really think it is useful to show how to list the content of a bucket (get_bucket(username, region = "")). Do you know how to do it in a less hacky way?

@fcomte
Copy link
Contributor

fcomte commented Mar 5, 2025

Hello ,

We don't like those script in the opensource project.
We can only merge the removal of the bucket list function.
Sorry

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