87 Commits

Author SHA1 Message Date
jonbetti
2524b874df Fix wrap
Note to self: :set nowrap

git-svn-id: file:///srv/svn/repo/toyohime/trunk@87 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:32:39 +00:00
jonbetti
0e2aaeea33 Generally, tags start with a <
git-svn-id: file:///srv/svn/repo/toyohime/trunk@86 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:31:38 +00:00
jonbetti
f68c3c6bf4 Use a more general Option parameter
git-svn-id: file:///srv/svn/repo/toyohime/trunk@85 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:28:38 +00:00
jonbetti
7669f77df1 Add contribution instructions
git-svn-id: file:///srv/svn/repo/toyohime/trunk@84 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:25:53 +00:00
jonbetti
7d3e0272ad Add more documentation
git-svn-id: file:///srv/svn/repo/toyohime/trunk@83 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:25:38 +00:00
jonbetti
6741b0f62a Update to reflect the current state
git-svn-id: file:///srv/svn/repo/toyohime/trunk@82 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:09:48 +00:00
jonbetti
f00351ef0f Update example
git-svn-id: file:///srv/svn/repo/toyohime/trunk@81 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:04:11 +00:00
jonbetti
e09dc4b8d9 Remove stuff I won't use
git-svn-id: file:///srv/svn/repo/toyohime/trunk@80 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:00:04 +00:00
jonbetti
f3867871c0 Formally forked
Once my code becomes sufficiently different, I'll take all rights since
I'm not a huge fan of BSD 3-clause. It already is functionally very
different than Kare's code.

git-svn-id: file:///srv/svn/repo/toyohime/trunk@79 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:56:55 +00:00
jonbetti
00da147dee Add vanityserver
git-svn-id: file:///srv/svn/repo/toyohime/trunk@78 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:53:44 +00:00
jonbetti
44a5244794 Add Gogs helpers
git-svn-id: file:///srv/svn/repo/toyohime/trunk@77 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:40:45 +00:00
jonbetti
c5862e5226 Add SourceTag and GitHub helpers
git-svn-id: file:///srv/svn/repo/toyohime/trunk@76 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 01:22:56 +00:00
jonbetti
4d77f362ea Don't check URLs
I'm going to pump an http.ServeMux to this and that can do my checks for
me.

git-svn-id: file:///srv/svn/repo/toyohime/trunk@75 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-04 23:28:03 +00:00
jonbetti
f50d8ea86b Pop out the go-import tag
git-svn-id: file:///srv/svn/repo/toyohime/trunk@74 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-04 22:58:19 +00:00
kare.nuorteva
86974d94cd Use Travis build stages for lint and test builds
- Lint build runs scripts in ci directory.
- Test build runs go test kkn.fi/vanity
- Test build is only run if Lint succeeds
- Run all stages (Lint & Test) with Go 1.9

git-svn-id: file:///srv/svn/repo/toyohime/trunk@73 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 16:11:42 +00:00
kare.nuorteva
3cd1c026a8 Makefile: Fix lint
git-svn-id: file:///srv/svn/repo/toyohime/trunk@72 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:59:30 +00:00
kare.nuorteva
1bb417b6e8 Makefile: fix typo
git-svn-id: file:///srv/svn/repo/toyohime/trunk@71 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:57:48 +00:00
kare.nuorteva
a34208f62b README: Add HTTP -> HTTPS redirect
git-svn-id: file:///srv/svn/repo/toyohime/trunk@70 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:54:49 +00:00
kare.nuorteva
c5a903a3fb Refactor sub package redirect
Redirect github.com/user/pkg/sub -> github.com/user/pkg

git-svn-id: file:///srv/svn/repo/toyohime/trunk@69 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:50:49 +00:00
kare.nuorteva
55652d606f Rename Example
git-svn-id: file:///srv/svn/repo/toyohime/trunk@68 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:02:18 +00:00
mremond
c04bf0744a Support packages that are not hosted in repos root (#1)
VCSroot should point to a repository, not to the package full path.

git-svn-id: file:///srv/svn/repo/toyohime/trunk@67 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:01:32 +00:00
kare.nuorteva
d3cb2a54b5 README: Add VCS
git-svn-id: file:///srv/svn/repo/toyohime/trunk@66 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-20 14:32:20 +00:00
kare.nuorteva
09ce752899 Fix typo in test
git-svn-id: file:///srv/svn/repo/toyohime/trunk@65 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-20 14:30:06 +00:00
kare.nuorteva
4592a31b7f Redirect http traffic to https
git-svn-id: file:///srv/svn/repo/toyohime/trunk@64 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-19 10:42:21 +00:00
kare.nuorteva
e6a35511c3 Index page is not found
git-svn-id: file:///srv/svn/repo/toyohime/trunk@63 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-18 21:48:01 +00:00
kare.nuorteva
0454fab36d Refactor var and func names
git-svn-id: file:///srv/svn/repo/toyohime/trunk@62 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-18 20:04:28 +00:00
kare.nuorteva
6fb02c09aa Fix request host handling
git-svn-id: file:///srv/svn/repo/toyohime/trunk@61 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-18 19:50:46 +00:00
kare.nuorteva
bad819ff57 Vanity is now a library instead of an app
While at it:
	- Replace vanity server with an http.Handler
	- Rename kkn.fi/cmd/vanity to kkn.fi/vanity
	- Update README
	- Rewrite Makefile
	- Upgrade to Go 1.9

git-svn-id: file:///srv/svn/repo/toyohime/trunk@60 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-18 18:46:42 +00:00
kare.nuorteva
d80dc78f1d Set http cache header
git-svn-id: file:///srv/svn/repo/toyohime/trunk@59 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-12 20:09:57 +00:00
kare.nuorteva
ad0ef881bc Remove global variables from main
git-svn-id: file:///srv/svn/repo/toyohime/trunk@58 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:48:12 +00:00
kare.nuorteva
aaa7fee49d Rename goImportMeta to goMetaTag
git-svn-id: file:///srv/svn/repo/toyohime/trunk@57 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:45:00 +00:00
kare.nuorteva
96ceaa1feb Remove find()
git-svn-id: file:///srv/svn/repo/toyohime/trunk@56 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:42:07 +00:00
kare.nuorteva
30ca4db7fd Add godoc to path() and move func
git-svn-id: file:///srv/svn/repo/toyohime/trunk@55 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:39:55 +00:00
kare.nuorteva
f8178e1f7c Rename name() to path()
git-svn-id: file:///srv/svn/repo/toyohime/trunk@54 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:38:42 +00:00
kare.nuorteva
8f7b8f9211 Simplify name()
git-svn-id: file:///srv/svn/repo/toyohime/trunk@53 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:36:52 +00:00
kare.nuorteva
5eacc10bfb Close opened file
git-svn-id: file:///srv/svn/repo/toyohime/trunk@52 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:36:13 +00:00
kare.nuorteva
166c73ed22 Siplify link functions
git-svn-id: file:///srv/svn/repo/toyohime/trunk@51 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-09 14:35:52 +00:00
kare.nuorteva
ffbea07c5b Update CHANGELOG
git-svn-id: file:///srv/svn/repo/toyohime/trunk@50 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 16:27:58 +00:00
kare.nuorteva
550d9d29f2 Rename public to private
git-svn-id: file:///srv/svn/repo/toyohime/trunk@49 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 16:16:43 +00:00
kare.nuorteva
c1da167620 Remove internal package
git-svn-id: file:///srv/svn/repo/toyohime/trunk@48 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 16:08:26 +00:00
kare.nuorteva
7cc98609b8 Fix GoDoc url bug
git-svn-id: file:///srv/svn/repo/toyohime/trunk@47 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 15:53:18 +00:00
kare.nuorteva
bf3ebf8d74 Replace config with a map
git-svn-id: file:///srv/svn/repo/toyohime/trunk@46 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 15:36:23 +00:00
kare.nuorteva
acfead7543 Remove VCS struct
git-svn-id: file:///srv/svn/repo/toyohime/trunk@45 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-05-07 13:59:28 +00:00
kare.nuorteva
bbbc3be934 Update GoDoc link
git-svn-id: file:///srv/svn/repo/toyohime/trunk@44 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-25 13:25:48 +00:00
kare.nuorteva
657c0998c0 Update ChangeLog
git-svn-id: file:///srv/svn/repo/toyohime/trunk@43 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 18:15:54 +00:00
kare.nuorteva
1f1974ba93 Rename package files
git-svn-id: file:///srv/svn/repo/toyohime/trunk@42 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:57:15 +00:00
kare.nuorteva
e7c8a58c90 Remove unused code
git-svn-id: file:///srv/svn/repo/toyohime/trunk@41 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:56:38 +00:00
kare.nuorteva
2f1ea6945c Add internal Makefile
git-svn-id: file:///srv/svn/repo/toyohime/trunk@40 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:55:11 +00:00
kare.nuorteva
4899489d1a Update GoDoc path
git-svn-id: file:///srv/svn/repo/toyohime/trunk@39 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:50:46 +00:00
kare.nuorteva
06b9e1360b Update Travis CI settings
git-svn-id: file:///srv/svn/repo/toyohime/trunk@38 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:40:53 +00:00