Skip to content

Remove overwrite of Notice from code-generator - #729

Open
knottnt wants to merge 1 commit into
aws-controllers-k8s:mainfrom
knottnt:chore/remove-notice-overwrite
Open

Remove overwrite of Notice from code-generator#729
knottnt wants to merge 1 commit into
aws-controllers-k8s:mainfrom
knottnt:chore/remove-notice-overwrite

Conversation

@knottnt

@knottnt knottnt commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
In some cases contributors may add their own entries the service controller's NOTICE file. This PR updates the code-generator's build-controller.sh script to no longer overwrite those additions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow
ack-prow Bot requested review from a-hilaly and jlbutler August 12, 2026 19:23
@ack-prow ack-prow Bot added the approved label Aug 12, 2026
@knottnt

knottnt commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

/test pipes-controller-test

@knottnt

knottnt commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

/test dynamodb-controller-test

@knottnt

knottnt commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

/retest

cp "$ROOT_DIR"/CONTRIBUTING.md "$SERVICE_CONTROLLER_SOURCE_PATH"/CONTRIBUTING.md
cp "$ROOT_DIR"/GOVERNANCE.md "$SERVICE_CONTROLLER_SOURCE_PATH"/GOVERNANCE.md
cp "$ROOT_DIR"/LICENSE "$SERVICE_CONTROLLER_SOURCE_PATH"/LICENSE
cp "$ROOT_DIR"/NOTICE "$SERVICE_CONTROLLER_SOURCE_PATH"/NOTICE

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.

if we wanted to be nitty, could skip copy only if the file already exists... but i think this is fine.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We do already populate the Notice with the controller-bootstrap tool. So, it should already exist once the repo is setup.

https://github.com/aws-controllers-k8s/controller-bootstrap/blob/main/templates/NOTICE.tpl

@ack-prow

ack-prow Bot commented Aug 12, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlbutler, knottnt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants