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 година
GeertJohan
ca4ee5569f
Add missing return statement.
Caused a panic when repo could not be reached.
пре 10 година
Gustavo Niemeyer
22ed8eb873
Merge pull request #2 from GeertJohan/master
Handle version overflow better. Add missing return.
пре 10 година
GeertJohan
ed9d42974f
Check for integer overflow in parseVersionPart
пре 10 година
GeertJohan
8be904041c
Revert "Use strconv and strings to parse version string."
This reverts commit 517a7be269
.
пре 10 година
GeertJohan
d25e20e4a7
Revert "Send nice error when version number is out of range"
This reverts commit f4151cb744
.
пре 10 година
GeertJohan
2d60a9d54d
Revert "Fix parsing return values for zero parts, and allow zero when len(part) == 1"
This reverts commit fd83e1645f
.
пре 10 година
GeertJohan
4e5dedf9f0
Add .gitignore
пре 10 година
GeertJohan
fd83e1645f
Fix parsing return values for zero parts, and allow zero when len(part) == 1
пре 10 година
GeertJohan
f4151cb744
Send nice error when version number is out of range
пре 10 година
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.
пре 10 година
GeertJohan
d3f8a12f51
Fix missing return statement
пре 10 година
Gustavo Niemeyer
0f1e91a464
Add version files.
пре 10 година
Gustavo Niemeyer
c1a41612fe
godoc.org is down; redirect to labix.org instead.
пре 10 година
Gustavo Niemeyer
19383a958b
Add README.md to workaround broken godoc.org.
пре 10 година
Gustavo Niemeyer
3334c06823
New versioning pattern.
пре 10 година
Gustavo Niemeyer
e688f13d79
Improved version matching.
пре 10 година
Gustavo Niemeyer
95414b2945
Import into repository.
пре 10 година