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.
5 yıl önce
Matt Baer
6a7fdcb493
Redirect / to code.as fork
5 yıl önce
Matt Baer
482a86ec75
Remove GitHub mentions in error messages
5 yıl önce
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
5 yıl önce
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.
5 yıl önce
Gustavo Niemeyer
4a378b52d4
Fix redirection logic.
6 yıl önce
Gustavo Niemeyer
f9c1285817
Add redirect to handle improper fsnotify rename.
For details see:
https://github.com/go-fsnotify/fsnotify/issues/1
6 yıl önce
Gustavo Niemeyer
52a51a4957
Use new ForceRSA option and drop custom acme patch.
6 yıl önce
Gustavo Niemeyer
d396a77f10
Proxy upload pack, due to changes in git itself.
6 yıl önce
Gustavo Niemeyer
c70d35213a
Let's Encrypt support.
7 yıl önce
alexkappa
44d1b902ee
renamed github flag to username based on feedback
9 yıl önce
Gustavo Niemeyer
224efbc020
Add some tests for reference changes.
9 yıl önce
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 .
9 yıl önce
Gustavo Niemeyer
cac38eedcd
Support vN-unstable branches and tags.
Fixes #25 .
9 yıl önce
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.
9 yıl önce
Nathan Youngman
06fff2f2c8
add a few comments
9 yıl önce
Gustavo Niemeyer
1a40e098f5
Allow dots in subpackages as well.
9 yıl önce
alexkappa
76c15c68ce
Added flag for github username.
9 yıl önce
alexkappa
8f273bbc21
Adding a domain flag to set the domain name of the app.
9 yıl önce
Gustavo Niemeyer
adbf86173c
Add timeouts for client http connections.
9 yıl önce
GeertJohan
d0adad6501
Rename field Repo.PackageName to Repo.Name
10 yıl önce
GeertJohan
51bc41a128
Update regexp patternNew to allow dot in package name
10 yıl önce
Gustavo Niemeyer
966f02619c
Peel-off annotated tags.
10 yıl önce
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.
10 yıl önce
GeertJohan
8f69a030ee
Change regexp to allow uppercase letters in username/organization name
10 yıl önce
GeertJohan
94cfe607cb
Remove dispensable var
10 yıl önce
GeertJohan
aa591d48ee
Remove old code
10 yıl önce
GeertJohan
af91d449d3
inline goget var
10 yıl önce
GeertJohan
4dccdf9073
Drop versioned name feature
10 yıl önce
GeertJohan
485a1b25b0
Fix "typo"
10 yıl önce
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.
10 yıl önce
GeertJohan
ca4ee5569f
Add missing return statement.
Caused a panic when repo could not be reached.
10 yıl önce
GeertJohan
d25e20e4a7
Revert "Send nice error when version number is out of range"
This reverts commit f4151cb744
.
10 yıl önce
GeertJohan
f4151cb744
Send nice error when version number is out of range
10 yıl önce
GeertJohan
d3f8a12f51
Fix missing return statement
10 yıl önce
Gustavo Niemeyer
c1a41612fe
godoc.org is down; redirect to labix.org instead.
10 yıl önce
Gustavo Niemeyer
3334c06823
New versioning pattern.
10 yıl önce
Gustavo Niemeyer
e688f13d79
Improved version matching.
10 yıl önce
Gustavo Niemeyer
95414b2945
Import into repository.
10 yıl önce