Comments (7)
GoPkgDoc cannot find the package because the meta tag includes the .vcs qualifier. See http://golang.org/cmd/go/#Remote_import_path_syntax where it states that the .vcs qualifier should not be included.
Try replacing
<meta name="go-import" content="bumbleserver.org/client git https://bitbucket.org/bumble/bumble-golang-client.git">
with
<meta name="go-import" content="bumbleserver.org/client git https://bitbucket.org/bumble/bumble-golang-client">
Let me know if that works. If it does, I'll talk to the Go team about what the correct thing is to do (update GoPkgDoc and the documentation to match what go tool does or update the go tool to match the documentation).
from gddo.
I've made that change (remove the .git suffix in the meta tag) to bumbleserver.org/client and it also failed. Just in case, I also tried www.bumbleserver.org/client and www.bumbleserver.org/client/ and all gave a "Not Found - Oh snap! Our team of gophers could not find a package with import path "bumbleserver.org/client"." error. There is a 302 from bumbleserver.org/* to www.bumbleserver.org/* but I expect that to be handled just fine, but I did test the www prefix just in case. I'm changing the .git back as it was so I don't introduce any unexpected behavior for existing usage.
from gddo.
I added code on the the server to remove the .git suffix from "https://bitbucket.org/bumble/bumble-golang-client.git". This fixes the problem. Can you please test this again?
I took a look at how "go get" removes the .git suffix. I prefer not to duplicate the "go get" logic for something that's out of spec.
from gddo.
I tried it just now, but it failed with the same error. Just to be clear, I'm using this import path: bumbleserver.org/client
from gddo.
Perhaps there's another problem in addition to the .git qualifier. Can you please leave the .git qualifier off so that I can debug it?
from gddo.
I succeeded in creating this: http://go.pkgdoc.org/bumbleserver.org/testabc
I also succeeded in getting bumbleserver.org/router and bumbleserver.org/common to work. But bumbleserver.org/client continues to fail. I think it's a caching issue. I assume if I wait a while and try again that it'll succeed.
from gddo.
Yeah, I think that the document was cached. Unfortunately, the problem resolved itself before I could put code in place to test the theory.
from gddo.
Related Issues (20)
- Importing github.com/paranoidguy/databunker/src HOT 3
- godoc.org: shows wrong import path for forked Go projects HOT 4
- Where cmd/internal/diff in godoc
- Wrong instruction in Rate Limiting HOT 1
- Godoc issue with go.mongodb.org/mongo-driver HOT 2
- Unable to set connections.max.reauth.ms HOT 2
- Unhelpful message "Error getting package files from api.github.com."
- search result page links to https://go-search.org with expired TLS cert from feb 23
- talksapp: accept markdown-based present files for talks.godoc.org HOT 6
- I can't figure out why you're hiding the scrollbar from the site, you idiot HOT 1
- The password cannot be a single character
- Public API api.godoc.org/packages sets 'import count' to zero for all packages
- Marxist propaganda on the website HOT 1
- Run lint not work on https://godoc.org
- Broken documentation for filebeat/beater/PluginFactory HOT 1
- bulk insert is not supported
- GoDoc.org shows out of date package github:temporalio/temporal-go-sdk HOT 3
- Typo in package validator page @https://godoc.org/gopkg.in/bluesuncorp/validator.v5#hdr-Baked_In_Validators_and_Tags HOT 1
- Typo on page 'package bsontype' HOT 1
- Alpha channel problem when converting png to avif
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gddo.