Matt Baer
16294edeb5
Fix tree and blob URLs for Gitea / Gogs
The directory structure for viewing branches and code on Gitea / Gogs is
different from GitHub. This fixes that, so the Source Code link on the
gopkg webpage works, as well as the URLs to lines in the source code
included in GoDoc.
před 5 roky
Matt Baer
cd8b76423e
Link to this fork in the footer
před 5 roky
Matt Baer
6a7fdcb493
Redirect / to code.as fork
před 5 roky
Matt Baer
482a86ec75
Remove GitHub mentions in error messages
před 5 roky
Matt Baer
595f6e6a43
Find repos at /{repo}/go-{repo}
...instead of /go-{repo}/{repo}
This works better for us, as we have /writeas/go-writeas and
/snapas/go-snapas
před 5 roky
Matt Baer
e844dec5c7
Mention this fork's changes in README
před 5 roky
Matt Baer
cf2ea52159
Add vi temp files to gitignore
před 5 roky
Matt Baer
c1f5d067a2
Add --src flag
Allows you to configure a different code hosting site besides
github.com, like one powered by Gitea or Gogs.
před 5 roky
Matt Baer
91da7c59de
Merge remote-tracking branch 'alexkappa/master'
před 5 roky
Gustavo Niemeyer
4a378b52d4
Fix redirection logic.
před 6 roky
Gustavo Niemeyer
f9c1285817
Add redirect to handle improper fsnotify rename.
For details see:
https://github.com/go-fsnotify/fsnotify/issues/1
před 6 roky
Gustavo Niemeyer
52a51a4957
Use new ForceRSA option and drop custom acme patch.
před 6 roky
Gustavo Niemeyer
d396a77f10
Proxy upload pack, due to changes in git itself.
před 6 roky
Gustavo Niemeyer
c70d35213a
Let's Encrypt support.
před 7 roky
alexkappa
44d1b902ee
renamed github flag to username based on feedback
před 9 roky
Gustavo Niemeyer
65998c5554
New godoc.org's go-source support by Gary Burd.
This also includes further tweaks to unify the handling of
FullVersion across the go-get and the package page rendering.
před 9 roky
Gustavo Niemeyer
224efbc020
Add some tests for reference changes.
před 9 roky
Gustavo Niemeyer
f99b4a1b2a
Handle symref capability and repos with no master.
Besides enabling support for repositories with no master branch
defined, this will also make a bare "git clone" on a gopkg.in
repository create a local branch with the proper content and name.
Fixes #20 .
před 9 roky
Gustavo Niemeyer
cac38eedcd
Support vN-unstable branches and tags.
Fixes #25 .
před 9 roky
Gary Burd
1249271eb3
Add support for the go-source meta tag.
See https://github.com/golang/gddo/pull/212 for the corresponding
change to godoc.org.
před 9 roky
Gustavo Niemeyer
cda7bad625
Merge pull request #26 from libgo/code-read
A few minor tweaks.
před 9 roky
Nathan Youngman
2ed03dbf05
revisions based on @niemeyer's review
před 9 roky
Nathan Youngman
b1f2f8e0fd
minimal README
před 9 roky
Nathan Youngman
06fff2f2c8
add a few comments
před 9 roky
Nathan Youngman
a706b00c10
use gopkg.in/check.v1
před 9 roky
Gustavo Niemeyer
2b9b369f9a
Add LICENSE file.
Closes #1 .
před 9 roky
Gustavo Niemeyer
1a40e098f5
Allow dots in subpackages as well.
před 9 roky
alexkappa
76c15c68ce
Added flag for github username.
před 9 roky
alexkappa
8f273bbc21
Adding a domain flag to set the domain name of the app.
před 9 roky
Gustavo Niemeyer
f9c08a5b59
Fix Version.IsValid.
Fixes #15 .
před 9 roky
Gustavo Niemeyer
adbf86173c
Add timeouts for client http connections.
před 9 roky
Gustavo Niemeyer
538a704495
Query godoc.org concurrently and timeout.
před 10 roky
Gustavo Niemeyer
828a3107e2
Resolve conflicts from Geert-Johan's godot branch.
před 10 roky
Gustavo Niemeyer
5920fdae04
Drop debugging left over.
před 10 roky
GeertJohan
c5b57c5f48
Screenscrap package name from godoc.org
před 10 roky
GeertJohan
d0adad6501
Rename field Repo.PackageName to Repo.Name
před 10 roky
GeertJohan
9a0818c3f5
Change template.Execute error logging
před 10 roky
GeertJohan
8f75e370d8
s/apiPkg/result
před 10 roky
GeertJohan
d22ea164e2
Rename identifiers used with gddo search api
před 10 roky
GeertJohan
ee829b2fb1
Save gopkgPath before for loop
před 10 roky
GeertJohan
c60021a937
Moved synopsis to header
před 10 roky
GeertJohan
e9cedd50cb
Some styling changes
před 10 roky
GeertJohan
48d36c04db
Add package synopsis.
před 10 roky
GeertJohan
51bc41a128
Update regexp patternNew to allow dot in package name
před 10 roky
GeertJohan
f45719d227
Strip out go. from clean package name.
před 10 roky
Gustavo Niemeyer
2e785d367f
Strip out go- and -go from clean package name.
před 10 roky
Gustavo Niemeyer
84fc7be938
interface.go => page.go (avoid "Go interface")
před 10 roky
Gustavo Niemeyer
678762bb84
Allow uppercase usernames.
před 10 roky
Gustavo Niemeyer
b660e6cc1b
Merge back from GitHub's master.
před 10 roky
Gustavo Niemeyer
53dd2f8a45
Add "For more details" note.
před 10 roky