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

enforce rfc1123 label compatibility for olm.package.name #1307

Merged

Conversation

grokspawn
Copy link
Contributor

@grokspawn grokspawn commented May 13, 2024

Description of the change:

Motivation for the change:
in the interest of facilitating package name uniqueness with FBC catalogs, it's in our best interests to have the key attribute able to satisfy the requirements of metadata.name which some storage requires. There is already prior art which prevents compliance with the more stringent RFC1035 (https://dev.operatorhub.io/operator/3scale-community-operator) but there is no currently published operator in public catalogs which fails RFC1123 label compliance in olm.package.name, so this PR would make that a requirement going forward.

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

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 13, 2024
Copy link
Contributor

openshift-ci bot commented May 13, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2024
Copy link

codecov bot commented May 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (master@9fdedc2). Click here to learn what that means.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1307   +/-   ##
=========================================
  Coverage          ?   50.08%           
=========================================
  Files             ?      132           
  Lines             ?    12745           
  Branches          ?        0           
=========================================
  Hits              ?     6383           
  Misses            ?     5307           
  Partials          ?     1055           

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

Signed-off-by: Jordan Keister <jordan@nimblewidget.com>
@grokspawn grokspawn marked this pull request as ready for review May 13, 2024 18:13
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 13, 2024
@openshift-ci openshift-ci bot requested review from awgreene and oceanc80 May 13, 2024 18:13
@grokspawn grokspawn changed the title enforce rfc1123 compatibility for olm.package.name enforce rfc1123 label compatibility for olm.package.name May 13, 2024
@grokspawn grokspawn requested a review from joelanford May 13, 2024 18:21
Copy link
Contributor

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

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

lgtm - nice one!!! thank you =D

Copy link
Contributor

openshift-ci bot commented May 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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,perdasilva]

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

@grokspawn
Copy link
Contributor Author

@perdasilva I think this repo needs the leading slash on bot commands, e.g. '/lgtm'. 😞

@perdasilva
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 14, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6bb0a3e into operator-framework:master May 14, 2024
12 checks passed
@grokspawn
Copy link
Contributor Author

Thanks @perdasilva!

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants