Commit Graph

84 Commits

Author SHA1 Message Date
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.
2018-10-10 14:59:28 -04:00
cd8b76423e Link to this fork in the footer 2018-09-25 10:12:47 -04:00
6a7fdcb493 Redirect / to code.as fork 2018-09-25 10:08:12 -04:00
482a86ec75 Remove GitHub mentions in error messages 2018-09-23 17:37:02 -04:00
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
2018-09-23 17:31:39 -04:00
e844dec5c7 Mention this fork's changes in README 2018-09-23 17:12:02 -04:00
cf2ea52159 Add vi temp files to gitignore 2018-09-23 16:32:48 -04:00
c1f5d067a2 Add --src flag
Allows you to configure a different code hosting site besides
github.com, like one powered by Gitea or Gogs.
2018-09-23 16:31:11 -04:00
91da7c59de Merge remote-tracking branch 'alexkappa/master' 2018-09-23 16:10:29 -04:00
Gustavo Niemeyer
4a378b52d4 Fix redirection logic. 2018-03-27 13:17:44 -03:00
Gustavo Niemeyer
f9c1285817 Add redirect to handle improper fsnotify rename.
For details see:

https://github.com/go-fsnotify/fsnotify/issues/1
2018-03-21 22:34:56 -03:00
Gustavo Niemeyer
52a51a4957 Use new ForceRSA option and drop custom acme patch. 2018-03-21 15:02:43 -03:00
Gustavo Niemeyer
d396a77f10 Proxy upload pack, due to changes in git itself. 2018-03-21 15:02:04 -03:00
Gustavo Niemeyer
c70d35213a Let's Encrypt support. 2017-02-08 14:29:23 -02:00
alexkappa
44d1b902ee renamed github flag to username based on feedback 2015-01-27 16:58:21 +01:00
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.
2015-01-13 14:53:00 -02:00
Gustavo Niemeyer
224efbc020 Add some tests for reference changes. 2015-01-12 23:22:38 -02:00
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.
2015-01-09 20:39:57 -02:00
Gustavo Niemeyer
cac38eedcd Support vN-unstable branches and tags.
Fixes #25.
2015-01-09 15:54:39 -02:00
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.
2014-11-25 16:49:28 -08:00
Gustavo Niemeyer
cda7bad625 Merge pull request #26 from libgo/code-read
A few minor tweaks.
2014-09-27 19:57:37 -03:00
Nathan Youngman
2ed03dbf05 revisions based on @niemeyer's review 2014-09-24 17:44:47 -06:00
Nathan Youngman
b1f2f8e0fd minimal README 2014-09-23 22:24:57 -06:00
Nathan Youngman
06fff2f2c8 add a few comments 2014-09-23 22:22:44 -06:00
Nathan Youngman
a706b00c10 use gopkg.in/check.v1 2014-09-23 21:19:56 -06:00
Gustavo Niemeyer
2b9b369f9a Add LICENSE file.
Closes #1.
2014-09-03 17:56:29 -03:00
Gustavo Niemeyer
1a40e098f5 Allow dots in subpackages as well. 2014-09-03 17:56:22 -03:00
alexkappa
76c15c68ce Added flag for github username. 2014-07-01 21:04:26 +02:00
alexkappa
8f273bbc21 Adding a domain flag to set the domain name of the app. 2014-07-01 16:37:48 +02:00
Gustavo Niemeyer
f9c08a5b59 Fix Version.IsValid.
Fixes #15.
2014-07-01 10:44:54 -03:00
Gustavo Niemeyer
adbf86173c Add timeouts for client http connections. 2014-07-01 10:14:15 -03:00
Gustavo Niemeyer
538a704495 Query godoc.org concurrently and timeout. 2014-04-08 10:17:48 -03:00
Gustavo Niemeyer
828a3107e2 Resolve conflicts from Geert-Johan's godot branch. 2014-04-06 22:05:41 -03:00
Gustavo Niemeyer
5920fdae04 Drop debugging left over. 2014-04-06 21:39:25 -03:00
GeertJohan
c5b57c5f48 Screenscrap package name from godoc.org 2014-04-06 19:25:50 +02:00
GeertJohan
d0adad6501 Rename field Repo.PackageName to Repo.Name 2014-04-06 18:36:53 +02:00
GeertJohan
9a0818c3f5 Change template.Execute error logging 2014-04-06 18:18:17 +02:00
GeertJohan
8f75e370d8 s/apiPkg/result 2014-04-06 18:16:22 +02:00
GeertJohan
d22ea164e2 Rename identifiers used with gddo search api 2014-04-06 18:15:45 +02:00
GeertJohan
ee829b2fb1 Save gopkgPath before for loop 2014-04-06 18:12:17 +02:00
GeertJohan
c60021a937 Moved synopsis to header 2014-04-06 17:46:43 +02:00
GeertJohan
e9cedd50cb Some styling changes 2014-04-06 17:42:34 +02:00
GeertJohan
48d36c04db Add package synopsis. 2014-04-05 13:59:28 +02:00
GeertJohan
51bc41a128 Update regexp patternNew to allow dot in package name 2014-04-05 13:39:38 +02:00
GeertJohan
f45719d227 Strip out go. from clean package name. 2014-04-05 13:34:49 +02:00
Gustavo Niemeyer
2e785d367f Strip out go- and -go from clean package name. 2014-04-05 03:09:51 -03:00
Gustavo Niemeyer
84fc7be938 interface.go => page.go (avoid "Go interface") 2014-04-05 02:17:27 -03:00
Gustavo Niemeyer
678762bb84 Allow uppercase usernames. 2014-04-05 02:11:45 -03:00
Gustavo Niemeyer
b660e6cc1b Merge back from GitHub's master. 2014-04-05 02:04:09 -03:00
Gustavo Niemeyer
53dd2f8a45 Add "For more details" note. 2014-04-05 01:21:45 -03:00