114 Commits

Author SHA1 Message Date
yakumo.izuru
5bcf36ba3a Update manual, add rc.d stuff
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@114 922d331f-388e-da47-97a9-ad700dc0b8b9
2024-02-10 01:39:09 +00:00
yakumo.izuru
58ded33a69 Change godoc path to pkg.go.dev and add a manual page
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@113 922d331f-388e-da47-97a9-ad700dc0b8b9
2024-02-09 21:22:42 +00:00
yakumo.izuru
d0690bc7d6 Rename command to toyohime
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@112 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-10-16 13:31:55 +00:00
koizumi.aoi
7eea1aca21 Keeping up with the inside joke
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@111 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-03-30 03:45:51 +00:00
koizumi.aoi
72a094cf84 Rid of the Dockerfile, update README
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@110 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-03-29 04:47:52 +00:00
koizumi.aoi
f4f3bcf625 Rename from vanity to toyohime
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@109 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-03-29 04:44:45 +00:00
koizumi.aoi
5c95c8fdd1 Add configurable listen port and Makefile
Signed-off-by: Aoi K <koizumi.aoi@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/toyohime/trunk@108 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-03-22 18:29:09 +00:00
jonbetti
62cd7abf7a Update deps
git-svn-id: file:///srv/svn/repo/toyohime/trunk@107 922d331f-388e-da47-97a9-ad700dc0b8b9
2020-07-02 03:38:22 +00:00
jonbetti
0d6a16a8d8 Add "-watch" flag
git-svn-id: file:///srv/svn/repo/toyohime/trunk@106 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-23 01:29:56 +00:00
jonbetti
59be7edc65 Use smaller base image
git-svn-id: file:///srv/svn/repo/toyohime/trunk@105 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-18 03:36:07 +00:00
jonbetti
f586182317 Build using latest go tool
git-svn-id: file:///srv/svn/repo/toyohime/trunk@104 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-17 12:09:37 +00:00
jonbetti
2e5d329fe7 Fix drone config
git-svn-id: file:///srv/svn/repo/toyohime/trunk@103 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-08 22:06:11 +00:00
jonbetti
721ef666e8 Make go module
git-svn-id: file:///srv/svn/repo/toyohime/trunk@102 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-08 22:02:46 +00:00
jonbetti
e21d7a0896 Fix Drone btrfs boo-boo
git-svn-id: file:///srv/svn/repo/toyohime/trunk@101 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-14 01:02:34 +00:00
jonbetti
86d64353e6 Upgrade to golang 1.10.3
git-svn-id: file:///srv/svn/repo/toyohime/trunk@100 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-09 05:03:12 +00:00
jonbetti
cc996bef0d Remove go get from CI steps
git-svn-id: file:///srv/svn/repo/toyohime/trunk@99 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 19:30:30 +00:00
jonbetti
41e62311ed Build Docker image with Drone
git-svn-id: file:///srv/svn/repo/toyohime/trunk@98 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 19:16:02 +00:00
jonbetti
af8075602e Reflect that VCS[ scheme] is always git
git-svn-id: file:///srv/svn/repo/toyohime/trunk@97 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 18:02:52 +00:00
jonbetti
8b476faa60 Update test
git-svn-id: file:///srv/svn/repo/toyohime/trunk@96 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 17:55:01 +00:00
jonbetti
e674318cb3 Factor out building the http.Server object
git-svn-id: file:///srv/svn/repo/toyohime/trunk@95 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:49:40 +00:00
jonbetti
fae46b3e21 Fix -nohealthz flag
I imagined the behavior that prefixing a bool flag with "no" turns it
off...

git-svn-id: file:///srv/svn/repo/toyohime/trunk@94 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:41:38 +00:00
jonbetti
faf6868364 Add healthz endpoint
git-svn-id: file:///srv/svn/repo/toyohime/trunk@93 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:37:39 +00:00
jonbetti
952a62c7e8 Embellish docstring
git-svn-id: file:///srv/svn/repo/toyohime/trunk@92 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 05:04:35 +00:00
jonbetti
3c8aff3310 Add index flag
git-svn-id: file:///srv/svn/repo/toyohime/trunk@91 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 04:57:36 +00:00
jonbetti
43bb62fe5b Clean up vanityserver cmd
git-svn-id: file:///srv/svn/repo/toyohime/trunk@90 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 04:23:59 +00:00
jonbetti
4872118f0b HTTPS rewrite is outside scope
This should be handled by a different server than one with a
vanity.Handler installed.

git-svn-id: file:///srv/svn/repo/toyohime/trunk@89 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:48:49 +00:00
jonbetti
3e556645fa Split option processing from serving
git-svn-id: file:///srv/svn/repo/toyohime/trunk@88 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:40:20 +00:00
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