Skip to content

feat: emit an event when an S3 bucket is created - #56565

Merged
leftybournes merged 1 commit into
masterfrom
leftybournes/feat/s3_bucket_created_event
Nov 24, 2025
Merged

feat: emit an event when an S3 bucket is created#56565
leftybournes merged 1 commit into
masterfrom
leftybournes/feat/s3_bucket_created_event

Conversation

@leftybournes

Copy link
Copy Markdown
Member

Summary

Emit a BucketCreatedEvent when an S3 bucket is created.

Checklist

@leftybournesleftybournes added this to the Nextcloud 33 milestone Nov 21, 2025
@leftybournes
leftybournes requested a review from a team as a code ownerNovember 21, 2025 08:26
@leftybournesleftybournes added the 3. to review Waiting for reviews label Nov 21, 2025
@leftybournes
leftybournes requested review from Altahrim, CarlSchwan, come-nc and salmart-dev and removed request for a teamNovember 21, 2025 08:26

@CarlSchwanCarlSchwan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please explain the usecase :)

Comment threadlib/public/Files/ObjectStore/Events/BucketCreatedEvent.php
Comment threadlib/public/Files/ObjectStore/Events/BucketCreatedEvent.php Outdated
@leftybournes
leftybournesforce-pushed the leftybournes/feat/s3_bucket_created_event branch from 7ff80e7 to 4a1dd03CompareNovember 21, 2025 08:34
@leftybournes

Copy link
Copy Markdown
MemberAuthor

It's so that listeners can make extra requests on buckets similar to what's being done here (a new app specifically for Google Cloud Storage). GCS has an autoclass feature that's only available for their services. When a bucket is created, it enables autoclass.

Signed-off-by: Kent Delante <kent.delante@proton.me>
@leftybournes
leftybournesforce-pushed the leftybournes/feat/s3_bucket_created_event branch from 4a1dd03 to 96672e1CompareNovember 24, 2025 11:37
@leftybournes

Copy link
Copy Markdown
MemberAuthor

/backport to stable32

@leftybournes

Copy link
Copy Markdown
MemberAuthor

/backport to stable31

@leftybournes

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@leftybournes

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@leftybournes@CarlSchwan@sorbaugh