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.
há 5 anos
Matt Baer
6a7fdcb493
Redirect / to code.as fork
há 5 anos
Matt Baer
482a86ec75
Remove GitHub mentions in error messages
há 5 anos
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
há 5 anos
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.
há 5 anos
Gustavo Niemeyer
4a378b52d4
Fix redirection logic.
há 6 anos
Gustavo Niemeyer
f9c1285817
Add redirect to handle improper fsnotify rename.
For details see:
https://github.com/go-fsnotify/fsnotify/issues/1
há 6 anos
Gustavo Niemeyer
52a51a4957
Use new ForceRSA option and drop custom acme patch.
há 6 anos
Gustavo Niemeyer
d396a77f10
Proxy upload pack, due to changes in git itself.
há 6 anos
Gustavo Niemeyer
c70d35213a
Let's Encrypt support.
há 7 anos
alexkappa
44d1b902ee
renamed github flag to username based on feedback
há 9 anos
Gustavo Niemeyer
224efbc020
Add some tests for reference changes.
há 9 anos
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 .
há 9 anos
Gustavo Niemeyer
cac38eedcd
Support vN-unstable branches and tags.
Fixes #25 .
há 9 anos
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.
há 9 anos
Nathan Youngman
06fff2f2c8
add a few comments
há 9 anos
Gustavo Niemeyer
1a40e098f5
Allow dots in subpackages as well.
há 9 anos
alexkappa
76c15c68ce
Added flag for github username.
há 9 anos
alexkappa
8f273bbc21
Adding a domain flag to set the domain name of the app.
há 9 anos
Gustavo Niemeyer
adbf86173c
Add timeouts for client http connections.
há 9 anos
GeertJohan
d0adad6501
Rename field Repo.PackageName to Repo.Name
há 10 anos
GeertJohan
51bc41a128
Update regexp patternNew to allow dot in package name
há 10 anos
Gustavo Niemeyer
966f02619c
Peel-off annotated tags.
há 10 anos
Gustavo Niemeyer
a202dc02e0
Minor polishing before the release.
- Improve Repo methods and fields.
- Bring back documentation redirection on URL fragments.
- Fix hrefs in version map so they point to the SubPath
and take OldFormat into account.
há 10 anos
GeertJohan
8f69a030ee
Change regexp to allow uppercase letters in username/organization name
há 10 anos
GeertJohan
94cfe607cb
Remove dispensable var
há 10 anos
GeertJohan
aa591d48ee
Remove old code
há 10 anos
GeertJohan
af91d449d3
inline goget var
há 10 anos
GeertJohan
4dccdf9073
Drop versioned name feature
há 10 anos
GeertJohan
485a1b25b0
Fix "typo"
há 10 anos
GeertJohan
f2f6cbda4e
Add interface page.
Add VersionList ([]Version) implementing sort.Interface.
Changed hackedRefs to also return a VersionList holding all valid versions for a repo.
Change Repo struct to hold parts and added methods to construct useful strings from those parts.
Comment out the whole nameHasversion() thingie. It was noted as obsolte made it harder to create clean Repo struct.
há 10 anos
GeertJohan
ca4ee5569f
Add missing return statement.
Caused a panic when repo could not be reached.
há 10 anos
GeertJohan
d25e20e4a7
Revert "Send nice error when version number is out of range"
This reverts commit f4151cb744
.
há 10 anos
GeertJohan
f4151cb744
Send nice error when version number is out of range
há 10 anos
GeertJohan
d3f8a12f51
Fix missing return statement
há 10 anos
Gustavo Niemeyer
c1a41612fe
godoc.org is down; redirect to labix.org instead.
há 10 anos
Gustavo Niemeyer
3334c06823
New versioning pattern.
há 10 anos
Gustavo Niemeyer
e688f13d79
Improved version matching.
há 10 anos
Gustavo Niemeyer
95414b2945
Import into repository.
há 10 anos