Browse Source

ysvd -> vaind

Stephen McQuay 3 years ago
parent
commit
a1f6e15f28
4 changed files with 11 additions and 15 deletions
  1. 6
    10
      cmd/vaind/main.go
  2. 1
    1
      licence.txt
  3. 3
    3
      readme.md
  4. 1
    1
      vain.go

cmd/ysvd/main.go → cmd/vaind/main.go View File

@@ -1,5 +1,5 @@
1 1
 /*
2
-ysvd, a webserver for hosting go get vanity urls.
2
+vaind, a webserver for hosting go get vanity urls.
3 3
 
4 4
 The go get command searches for the following header when searching for
5 5
 packages:
@@ -13,7 +13,7 @@ https://golang.org/cmd/go/#hdr-Remote_import_paths
13 13
 
14 14
 API
15 15
 
16
-Assume an instance of ysvd at example.org. In order to add a package
16
+Assume an instance of vaind at example.org. In order to add a package
17 17
 example.org/foo that points at bitbucket.org/example/foo (a mercurial
18 18
 repository) POST the following json object:
19 19
 
@@ -33,10 +33,6 @@ that looks like:
33 33
 
34 34
 The json object sent to server can have two fields: "repo" and "vcs". "repo" is
35 35
 required; leaving off the "vcs" member defaults to "git".
36
-
37
-Naming
38
-
39
-The "ysv" in ysvd stands for You're so Vain, the song by Carly Simon.
40 36
 */
41 37
 package main
42 38
 
@@ -51,13 +47,13 @@ import (
51 47
 	"github.com/kelseyhightower/envconfig"
52 48
 )
53 49
 
54
-const usage = `ysvd
50
+const usage = `vaind
55 51
 
56 52
 environment vars:
57 53
 
58
-YSV_PORT: tcp listen port
59
-YSV_HOST: hostname to use
60
-YSV_DB: path to json database
54
+VAIN_PORT: tcp listen port
55
+VAIN_HOST: hostname to use
56
+VAIN_DB: path to json database
61 57
 `
62 58
 
63 59
 type config struct {

+ 1
- 1
licence.txt View File

@@ -10,7 +10,7 @@ are permitted provided that the following conditions are met:
10 10
     * Redistributions in binary form must reproduce the above copyright notice,
11 11
       this list of conditions and the following disclaimer in the documentation
12 12
       and/or other materials provided with the distribution.
13
-    * Neither the name of ysv nor the names of its contributors
13
+    * Neither the name of vaind nor the names of its contributors
14 14
       may be used to endorse or promote products derived from this software
15 15
       without specific prior written permission.
16 16
 

+ 3
- 3
readme.md View File

@@ -1,11 +1,11 @@
1 1
 # vain
2 2
 
3
-`ysvd` is a vanity url server for use by the `go` tool.
3
+`vaind` is a vanity url server for use by the `go` tool.
4 4
 
5 5
 ## installation
6 6
 
7
-    $ go get mcquay.me/vain/cmd/ysvd
7
+    $ go get mcquay.me/vain/cmd/vaind
8 8
 
9 9
 ## running server
10 10
 
11
-    $ ysvd
11
+    $ vaind

+ 1
- 1
vain.go View File

@@ -1,6 +1,6 @@
1 1
 // Package vain implements a vanity service for use by the the go tool.
2 2
 //
3
-// The executable, cmd/ysvd, is located in the respective subdirectory.
3
+// The executable, cmd/vaind, is located in the respective subdirectory.
4 4
 package vain
5 5
 
6 6
 import (

Loading…
Cancel
Save