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

lint: Reenable revive #2874

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Conversation

zmerlynn
Copy link
Collaborator

The way revive was configured, we configured the confidence interval, but didn't enable any checks, it seems. By deleting the message, it reverts to the default revive config, which includes:

  • Comments on exported symbols must be of the right form (this was noticed as lacking in cloudproduct: Register API hooks, move validation/mutation to API #2868)

  • Package comments - I'm guessing from the number of changes that we've never had this linter, but given that certain IDEs expect the package to be offset from the header, having this linter enforces it.

Closes #2873

The way revive was configured, we configured the confidence interval,
but didn't enable any checks, it seems. By deleting the message, it
reverts to the default `revive` config, which includes:

* Comments on exported symbols must be of the right form (this was
noticed as lacking in googleforgames#2868)

* Package comments - I'm guessing from the number of changes that
we've never had this linter, but given that certain IDEs expect the
package to be offset from the header, having this linter enforces it.

Closes googleforgames#2873
@zmerlynn zmerlynn force-pushed the lint-exported-symbols branch from c760ccb to 9b34c3e Compare December 15, 2022 23:55
@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: f5c6a125-5014-45f6-a98a-5541452f4cbc

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 739561b1-33c4-4093-bb64-afc515ea4af1

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/2874/head:pr_2874 && git checkout pr_2874
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.tag=1.29.0-9b34c3e-amd64

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Thanks for working this out!

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gongmax, markmandel, zmerlynn

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:

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

@markmandel markmandel merged commit b2588c9 into googleforgames:main Dec 16, 2022
@zmerlynn zmerlynn deleted the lint-exported-symbols branch December 16, 2022 16:46
@Kalaiselvi84 Kalaiselvi84 added this to the 1.29.0 milestone Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check linter settings for exported symbols
5 participants