Commit Graph

22 Commits

Author SHA1 Message Date
GeertJohan
485a1b25b0 Fix "typo" 2014-04-05 01:18:49 +02:00
GeertJohan
79b0b7f398 Small updates.
Center footer.
consistent link tags.
Gettings started styling (text size and padding).
2014-04-05 01:00:33 +02:00
GeertJohan
6febd8feda Add footer 2014-04-05 00:29:41 +02:00
GeertJohan
151f2e6f7c Fix fonts.googleapis.com include for https
Put phrases in <p>
2014-04-05 00:16:18 +02:00
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.
2014-04-05 00:00:31 +02:00
GeertJohan
ca4ee5569f Add missing return statement.
Caused a panic when repo could not be reached.
2014-04-04 20:15:12 +02:00
Gustavo Niemeyer
22ed8eb873 Merge pull request #2 from GeertJohan/master
Handle version overflow better. Add missing return.
2014-04-02 17:08:09 -03:00
GeertJohan
ed9d42974f Check for integer overflow in parseVersionPart 2014-04-02 21:51:40 +02:00
GeertJohan
8be904041c Revert "Use strconv and strings to parse version string."
This reverts commit 517a7be269.
2014-04-02 21:50:54 +02:00
GeertJohan
d25e20e4a7 Revert "Send nice error when version number is out of range"
This reverts commit f4151cb744.
2014-04-02 21:50:39 +02:00
GeertJohan
2d60a9d54d Revert "Fix parsing return values for zero parts, and allow zero when len(part) == 1"
This reverts commit fd83e1645f.
2014-04-02 21:50:28 +02:00
GeertJohan
4e5dedf9f0 Add .gitignore 2014-04-02 21:28:33 +02:00
GeertJohan
fd83e1645f Fix parsing return values for zero parts, and allow zero when len(part) == 1 2014-04-02 21:23:19 +02:00
GeertJohan
f4151cb744 Send nice error when version number is out of range 2014-04-02 21:19:03 +02:00
GeertJohan
517a7be269 Use strconv and strings to parse version string.
By using strconv, value out of range problems are catched and a
version part thats too high will not cause trouble.
2014-04-02 21:02:19 +02:00
GeertJohan
d3f8a12f51 Fix missing return statement 2014-04-02 21:01:09 +02:00
Gustavo Niemeyer
0f1e91a464 Add version files. 2014-03-31 16:06:12 -03:00
Gustavo Niemeyer
c1a41612fe godoc.org is down; redirect to labix.org instead. 2014-03-31 14:49:30 -03:00
Gustavo Niemeyer
19383a958b Add README.md to workaround broken godoc.org. 2014-03-31 14:16:32 -03:00
Gustavo Niemeyer
3334c06823 New versioning pattern. 2014-03-29 00:35:54 -03:00
Gustavo Niemeyer
e688f13d79 Improved version matching. 2014-03-25 01:53:10 -03:00
Gustavo Niemeyer
95414b2945 Import into repository. 2014-03-06 06:01:15 -03:00