x/pkgsite: devtools/cmd/seeddb -bypass_license_check #48566
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What are you trying to do?
We are running a private instance of Pkg.go.dev against our internal GitHub Enterprise Server. Like most companies, we do not bother to write
LICENSE
files, but would still like to see the documentation for our projects. This is why we runcmd/frontend -bypass_license_check
.What do you expect?
We also would like to run
devtools/cmd/seeddb
periodically to pull the most up-to-date documentation. However, this tool is hardcoded to always do the license check.I suggest that we add the following flag to
devtools/cmd/seeddb/main.go
:In order to respect this flag,
main.run
needs to be changed so that:The text was updated successfully, but these errors were encountered: