Code Monkey home page Code Monkey logo

Comments (7)

garyburd avatar garyburd commented on May 30, 2024

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.

emmaly avatar emmaly commented on May 30, 2024

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.

garyburd avatar garyburd commented on May 30, 2024

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.

emmaly avatar emmaly commented on May 30, 2024

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.

garyburd avatar garyburd commented on May 30, 2024

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.

emmaly avatar emmaly commented on May 30, 2024

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.

garyburd avatar garyburd commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.