gddo icon indicating copy to clipboard operation
gddo copied to clipboard

gosrc: fossil support

Open dncohen opened this issue 6 years ago • 2 comments

I think I have the go-import meta tag correct for a fossil vanity domain. But I can't seem to get the go-source meta tag correct.

I'm testing with src.d10.dev/getvain. I try https://godoc.org/?q=src.d10.dev%2Fgetvain but there I get "No packages found."

I must be missing something. I'd appreciate any help to get it right. (I.e. is there a way to make godoc.org more verbose about what went wrong?)

dncohen avatar May 15 '19 16:05 dncohen

More details... When I search godoc.org for src.d10.dev/getvain, it makes a request and the server returns

		<meta name="go-import" content="src.d10.dev/getvain fossil https://src.d10.dev/getvain" />
		<meta name="go-source" content="src.d10.dev/getvain https://src.d10.dev/getvain https://src.d10.dev/getvain/dir{/dir}?ci=tip&type=tree https://src.d10.dev/getvain/doc/tip{/dir}/{file}" />

But I don't see any further queries in the log, so I don't believe godoc.org is following any of the URLs in the meta tag.

dncohen avatar May 15 '19 16:05 dncohen

I see now that gddo doesn't support all the vcs that "go get" does. Consider this a feature request for fossil-scm to eventually be included.

dncohen avatar May 16 '19 09:05 dncohen