113 Commits

Author SHA1 Message Date
yakumo.izuru
ab44d3f5b3 Change godoc path to pkg.go.dev and add a manual page
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

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

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

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

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

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

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@108 922d331f-388e-da47-97a9-ad700dc0b8b9
2023-03-22 18:29:09 +00:00
jonbetti
d8c3ee865d Update deps
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@107 922d331f-388e-da47-97a9-ad700dc0b8b9
2020-07-02 03:38:22 +00:00
jonbetti
6f9daf9509 Add "-watch" flag
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@106 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-23 01:29:56 +00:00
jonbetti
8c393920be Use smaller base image
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@105 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-18 03:36:07 +00:00
jonbetti
793155de97 Build using latest go tool
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@104 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-17 12:09:37 +00:00
jonbetti
39b697f5c0 Fix drone config
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@103 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-08 22:06:11 +00:00
jonbetti
0a2bb13612 Make go module
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@102 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-12-08 22:02:46 +00:00
jonbetti
aae3c62ea3 Fix Drone btrfs boo-boo
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@101 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-14 01:02:34 +00:00
jonbetti
0911c5da71 Upgrade to golang 1.10.3
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@100 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-09 05:03:12 +00:00
jonbetti
919f0024e3 Remove go get from CI steps
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@99 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 19:30:30 +00:00
jonbetti
fd6ba1952e Build Docker image with Drone
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@98 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 19:16:02 +00:00
jonbetti
66ac399c85 Reflect that VCS[ scheme] is always git
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@97 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 18:02:52 +00:00
jonbetti
c63f16a44e Update test
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@96 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-07 17:55:01 +00:00
jonbetti
6cd6f791ce Factor out building the http.Server object
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@95 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:49:40 +00:00
jonbetti
7bcb57927f Fix -nohealthz flag
I imagined the behavior that prefixing a bool flag with "no" turns it
off...

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@94 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:41:38 +00:00
jonbetti
6824c81977 Add healthz endpoint
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@93 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 16:37:39 +00:00
jonbetti
b4a6288037 Embellish docstring
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@92 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 05:04:35 +00:00
jonbetti
d7ff9c6bb6 Add index flag
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@91 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 04:57:36 +00:00
jonbetti
4264d5f355 Clean up vanityserver cmd
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@90 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 04:23:59 +00:00
jonbetti
24b909fc28 HTTPS rewrite is outside scope
This should be handled by a different server than one with a
vanity.Handler installed.

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@89 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:48:49 +00:00
jonbetti
42cf0a6fa5 Split option processing from serving
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@88 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:40:20 +00:00
jonbetti
509e112699 Fix wrap
Note to self: :set nowrap

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@87 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:32:39 +00:00
jonbetti
a5e5dcc8fc Generally, tags start with a <
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@86 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:31:38 +00:00
jonbetti
e0c721dbef Use a more general Option parameter
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@85 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:28:38 +00:00
jonbetti
abae94bb4b Add contribution instructions
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@84 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:25:53 +00:00
jonbetti
4c29ff3c20 Add more documentation
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@83 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:25:38 +00:00
jonbetti
bb4e0a9d70 Update to reflect the current state
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@82 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:09:48 +00:00
jonbetti
bbf68827f0 Update example
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@81 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:04:11 +00:00
jonbetti
dc0dc52f70 Remove stuff I won't use
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@80 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 03:00:04 +00:00
jonbetti
c47b7090c0 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: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@79 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:56:55 +00:00
jonbetti
1643707b50 Add vanityserver
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@78 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:53:44 +00:00
jonbetti
d11e0d6fa6 Add Gogs helpers
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@77 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 02:40:45 +00:00
jonbetti
b73005c27c Add SourceTag and GitHub helpers
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@76 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-05 01:22:56 +00:00
jonbetti
43938ba3b3 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: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@75 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-04 23:28:03 +00:00
jonbetti
e912fc5e6a Pop out the go-import tag
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@74 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-04 22:58:19 +00:00
kare.nuorteva
2ddd9520df 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: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@73 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 16:11:42 +00:00
kare.nuorteva
b7609e0ba2 Makefile: Fix lint
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@72 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:59:30 +00:00
kare.nuorteva
9c68115550 Makefile: fix typo
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@71 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:57:48 +00:00
kare.nuorteva
00f2d41289 README: Add HTTP -> HTTPS redirect
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@70 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:54:49 +00:00
kare.nuorteva
d1ef7b3b6e Refactor sub package redirect
Redirect github.com/user/pkg/sub -> github.com/user/pkg

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@69 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:50:49 +00:00
kare.nuorteva
4aff6f6f24 Rename Example
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@68 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:02:18 +00:00
mremond
2f6a40ea53 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: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@67 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:01:32 +00:00
kare.nuorteva
79815821eb README: Add VCS
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@66 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-20 14:32:20 +00:00
kare.nuorteva
5f00723872 Fix typo in test
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@65 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-20 14:30:06 +00:00
kare.nuorteva
1af4bf2d70 Redirect http traffic to https
git-svn-id: https://svn.yakumo.dev/yakumo.izuru/toyohime/trunk@64 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-09-19 10:42:21 +00:00