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

remove 'automatically generated' strings from repo #1412

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

joelanford
Copy link
Member

Maintainers use an import organizer called 'gci' that ignores files with the string 'automatically generated' when called with its --skip-generated flag.

This commit is the result of the following command:

rg ' automatically generated' -l | xargs -n1 sed -i 's/ automatically generated//g'

None of the changed files are actually generated files. We do not want gci to think they are.

Description of the change:

Motivation for the change:

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /docs
  • Commit messages sensible and descriptive

Maintainers use an import organizer called 'gci' that ignores files with
the string 'automatically generated' when called with its
--skip-generated flag.

This commit is the result of the following command:

```
rg ' automatically generated' -l | xargs -n1 sed -i 's/ automatically generated//g'
```

None of the changed files are _actually_ generated files. We do not want
gci to think they are.

Signed-off-by: Joe Lanford <[email protected]>
@openshift-ci openshift-ci bot requested review from awgreene and theishshah August 15, 2024 21:11
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2024
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.14%. Comparing base (5fb8c1c) to head (36b99fb).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1412   +/-   ##
=======================================
  Coverage   48.14%   48.14%           
=======================================
  Files         134      134           
  Lines       12752    12752           
=======================================
  Hits         6139     6139           
  Misses       5575     5575           
  Partials     1038     1038           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joelanford joelanford added this pull request to the merge queue Aug 15, 2024
@joelanford joelanford removed this pull request from the merge queue due to a manual request Aug 15, 2024
@joelanford joelanford removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2024
@joelanford joelanford added this pull request to the merge queue Aug 15, 2024
@joelanford joelanford removed this pull request from the merge queue due to a manual request Aug 15, 2024
@@ -17,7 +17,7 @@ spec:

### Reading and writing to etcd

Communicate with etcd though its command line utility `etcdctl` or with the API using the automatically generated Kubernetes Service.
Copy link
Contributor

@grokspawn grokspawn Aug 15, 2024

Choose a reason for hiding this comment

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

Is there any cause for concern that these diverge from the source?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so, all just one-time copied test files.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also :whistles: .... the etcd content is duplicated all over this repo.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it's... messy.

@joelanford joelanford enabled auto-merge August 15, 2024 21:30
@joelanford joelanford added this pull request to the merge queue Aug 15, 2024
Copy link
Contributor

openshift-ci bot commented Aug 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grokspawn, joelanford

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [grokspawn,joelanford]

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2024
Merged via the queue into operator-framework:master with commit b12dea8 Aug 15, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants