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

Grant crates.io access to CDN logs #380

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

jdno
Copy link
Member

@jdno jdno commented Jan 17, 2024

We are working on using the logs from our CDNs to count crate downloads on crates.io. Whenever a log archive is uploaded to the bucket, a notification is sent to an SQS queue. crates.io then downloads the log, parses it, and updates the download counts.

For this to work, crates.io needs access to the S3 bucket with the logs. This change grants read-only access to individual log archives.

See #372 for details.

@jdno jdno force-pushed the cdn-logs-access branch 2 times, most recently from 9a05506 to 023ce49 Compare January 17, 2024 14:41
We are working on using the logs from our CDNs to count crate downloads
on crates.io. Whenever a log archive is uploaded to the bucket, a
notification is sent to an SQS queue. crates.io then downloads the log,
parses it, and updates the download counts.

For this to work, crates.io needs access to the S3 bucket with the logs.
This change grants read-only access to individual log archives.

See rust-lang#372 for details.
@jdno jdno merged commit 1425a79 into rust-lang:master Jan 31, 2024
3 checks passed
@jdno jdno deleted the cdn-logs-access branch January 31, 2024 14:56
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