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

build: remove generated swagger documentation #105291

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

rickystewart
Copy link
Collaborator

This documentation hasn't been generated for about a year since we upgraded to Go 1.19. I haven't been able to find an owner for this stuff and no one seems to be able to confirm that this documentation is even used for anything. I think it's very confusing for there to appear to be generated documentation that in fact isn't generated at all and which is already stale and not kept up-to-date with the code, so I think the best option for us is to delete it. If this is important, then someone will notice it's missing, and hopefully that will motivate someone to own this.

Epic: none
Release note: None

This documentation hasn't been generated for about a year since we
upgraded to Go 1.19. I haven't been able to find an owner for this stuff
and no one seems to be able to confirm that this documentation is even
used for anything. I think it's very confusing for there to appear to be
generated documentation that in fact isn't generated at all and which
is already stale and not kept up-to-date with the code, so I think the
best option for us is to delete it. *If* this is important, then someone
will notice it's missing, and hopefully that will motivate someone to
own this.

Epic: none
Release note: None
@rickystewart rickystewart requested review from rail and a team June 21, 2023 16:17
@rickystewart rickystewart requested review from a team as code owners June 21, 2023 16:17
@blathers-crl
Copy link

blathers-crl bot commented Jun 21, 2023

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?

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

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rickystewart
Copy link
Collaborator Author

bors r=rail

@craig
Copy link
Contributor

craig bot commented Jun 21, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jun 21, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jun 21, 2023

Build succeeded:

@craig craig bot merged commit ca88e5e into cockroachdb:master Jun 21, 2023
6 of 7 checks passed
rickystewart added a commit to rickystewart/cockroach that referenced this pull request May 24, 2024
We stopped generating the Swagger documentation 2 years ago in cockroachdb#86049
to allow us to upgrade to Go 1.19. A year later, in cockroachdb#105291, we then
deleted the stale tree. To date no one has complained or even noticed
this documentation missing, we've moved on to Go 1.22, and we've had 2
years of releases. Time to just remove support for Swagger altogether,
including the build dependency and the `go:swagger` directives.

I kept the "structured" documentation comments. It may or may not be
out-of-date, but it doesn't seem to be hurting anyone.

Epic: none
Release note: None
rickystewart added a commit to rickystewart/cockroach that referenced this pull request May 24, 2024
We stopped generating the Swagger documentation 2 years ago in cockroachdb#86049
to allow us to upgrade to Go 1.19. A year later, in cockroachdb#105291, we then
deleted the stale tree. To date no one has complained or even noticed
this documentation missing, we've moved on to Go 1.22, and we've had 2
years of releases. Time to just remove support for Swagger altogether,
including the build dependency and the `go:swagger` directives.

I kept the "structured" documentation comments. It may or may not be
out-of-date, but it doesn't seem to be hurting anyone.

Epic: none
Release note: None
craig bot pushed a commit that referenced this pull request May 24, 2024
124674: build: remove `swagger` r=rail a=rickystewart

We stopped generating the Swagger documentation 2 years ago in #86049 to allow us to upgrade to Go 1.19. A year later, in #105291, we then deleted the stale tree. To date no one has complained or even noticed this documentation missing, we've moved on to Go 1.22, and we've had 2 years of releases. Time to just remove support for Swagger altogether, including the build dependency and the `go:swagger` directives.

I kept the "structured" documentation comments. It may or may not be out-of-date, but it doesn't seem to be hurting anyone.

Epic: none
Release note: None

Co-authored-by: Ricky Stewart <ricky@cockroachlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants