Skip to content

util/interval: update doc.go for bazel#118491

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:docs-for-interval-btree
May 2, 2024
Merged

util/interval: update doc.go for bazel#118491
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:docs-for-interval-btree

Conversation

@ajwerner
Copy link
Copy Markdown
Contributor

Relates to #118490.

Epic: None

Release note: None

@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jan 30, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

I was unable to automatically find a reviewer. You can try CCing one of the following members:

  • A person you worked with closely on this PR.
  • The person who created the ticket, or a CRDB organization member involved with the ticket (author, commenter, etc.).
  • Join our community slack channel and ask on #contributors.
  • Try find someone else from here.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@blathers-crl blathers-crl bot added O-community Originated from the community X-blathers-untriaged blathers was unable to find an owner labels Jan 30, 2024
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@ajwerner
Copy link
Copy Markdown
Contributor Author

@nvanbenschoten maybe you're interested in this one.

3. Include a go generate declaration that invokes the gen.sh script with the
type name as the first argument and the package name as the second argument.
4. Invoke go generate.
This is done for documentation purposes and will require a corresponding entry
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.

TBH I'm not 100% certain why we do this; I'm just documenting the procedure as I understand it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The go:generate stanzas are generally "legacy" bits of code. Generally the go:generate pre-dated the existence of the Bazel code generation. There isn't an expectation that one be added assuming you are writing new code.

@ajwerner
Copy link
Copy Markdown
Contributor Author

@rickystewart maybe you'll like this one too? Feel free to bors it if you like it.

3. Include a go generate declaration that invokes the gen.sh script with the
type name as the first argument and the package name as the second argument.
4. Invoke go generate.
This is done for documentation purposes and will require a corresponding entry
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The go:generate stanzas are generally "legacy" bits of code. Generally the go:generate pre-dated the existence of the Bazel code generation. There isn't an expectation that one be added assuming you are writing new code.

Relates to cockroachdb#118490.

Epic: None

Release note: None
@ajwerner ajwerner force-pushed the docs-for-interval-btree branch from 324dc3a to 8228707 Compare January 31, 2024 16:49
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jan 31, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

Thank you for updating your pull request.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Copy link
Copy Markdown
Contributor Author

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @rickystewart)


pkg/util/interval/generic/doc.go line 27 at r1 (raw file):

Previously, rickystewart (Ricky Stewart) wrote…

The go:generate stanzas are generally "legacy" bits of code. Generally the go:generate pre-dated the existence of the Bazel code generation. There isn't an expectation that one be added assuming you are writing new code.

Removed.

@ajwerner
Copy link
Copy Markdown
Contributor Author

ajwerner commented Mar 6, 2024

@rickystewart want to merge this now?

@ajwerner
Copy link
Copy Markdown
Contributor Author

ajwerner commented Mar 7, 2024

@rickystewart I no longer have the power to bors, so if you'd give 'er a bors r+ it'd be appreciated.

@yuzefovich yuzefovich removed the X-blathers-untriaged blathers was unable to find an owner label May 2, 2024
@yuzefovich
Copy link
Copy Markdown
Member

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 2, 2024

@craig craig bot merged commit ef87a4e into cockroachdb:master May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-community Originated from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants