Commit Graph

742 Commits

Author SHA1 Message Date
Neil Alexander
b4b3609678
Really use the correct endpoint 2018-12-10 11:12:40 +00:00
Neil Alexander
d29b5a074a
Try to use default config file location to find AdminListen when yggdrasilctl is not given an endpoint 2018-12-10 11:09:10 +00:00
Neil Alexander
cd11d2eccd
Produce more meaningful logging from yggdrasilctl when things go wrong 2018-12-10 10:54:41 +00:00
Neil Alexander
dff1dca19c
Add DefaultConfigFile to defaults for yggdrasilctl 2018-12-10 10:20:59 +00:00
Neil Alexander
2928fcb046
Update CHANGELOG.md 2018-12-10 00:42:56 +00:00
Neil Alexander
8aaaeb26eb
Default to /var/run/yggdrasil.sock for admin on Linux, BSDs 2018-12-10 00:37:32 +00:00
Neil Alexander
bbe2f56b74
Default to /var/run/yggdrasil.sock for admin on darwin/macOS 2018-12-10 00:31:31 +00:00
Neil Alexander
74a904d04c
Don't os.Chmod if we suspect the socket belongs to an abstract namespace 2018-12-10 00:26:12 +00:00
Neil Alexander
06c6dfc67f
Complain if socket file already exists 2018-12-10 00:19:21 +00:00
Neil Alexander
f791df4977
Try to chmod 660 the admin socket if using AF_UNIX 2018-12-10 00:00:23 +00:00
Neil Alexander
14f4da764c
Merge pull request #236 from neilalexander/rpmspec
Add starting point for an RPM spec file
2018-12-09 23:36:18 +00:00
Neil Alexander
f6cdb8e38e
Update CHANGELOG.md 2018-12-09 23:35:40 +00:00
Neil Alexander
08ad163dfe
Add starting point for an RPM spec file 2018-12-09 23:10:12 +00:00
Neil Alexander
1892fdc429
Merge pull request #235 from neilalexander/build
Add -t, -c and -l to build script
2018-12-09 22:36:04 +00:00
Neil Alexander
bec044346e
Add -t, -c and -l to build script for specifying DWARF tables, GCFLAGS and LDFLAGS 2018-12-09 22:31:58 +00:00
Neil Alexander
ff49ca6d30
Merge pull request #234 from neilalexander/admin
Allow disabling admin socket
2018-12-09 17:54:37 +00:00
Neil Alexander
6801d713a7
Also don't start if AdminListen is empty 2018-12-09 17:53:31 +00:00
Neil Alexander
5ed197b3ca
Update CHANGELOG.md 2018-12-09 17:48:35 +00:00
Neil Alexander
80d087404f
Allow disabling admin socket with AdminListen="none" 2018-12-09 17:46:48 +00:00
Arceliar
9724dd2351
Merge pull request #232 from neilalexander/yggdrasilctl
Update yggdrasilctl help text
2018-12-09 10:28:11 -06:00
Arceliar
43993a3460
Merge pull request #233 from neilalexander/build
Allow specifying PKGSRC=, PKGVER= and PKGNAME= to build script
2018-12-09 10:26:49 -06:00
Neil Alexander
0fdc814c4a
Allow specifying PKGSRC=, PKGVER= and PKGNAME= to build script 2018-12-09 14:32:24 +00:00
Neil Alexander
e759fb1c38
Update CHANGELOG.md 2018-12-09 13:37:19 +00:00
Neil Alexander
ba4507c02e
Update yggdrasilctl help (fixes #194) 2018-12-09 13:33:18 +00:00
Neil Alexander
40e02f01b0
Merge pull request #230 from neilalexander/module
Fix go.mod for neilalexander/hjson-go
2018-12-08 13:22:54 +00:00
Neil Alexander
34949f7c32
Fix go.mod for neilalexander/hjson-go 2018-12-08 13:21:58 +00:00
Neil Alexander
9eace183c6
Merge pull request #229 from neilalexander/semver
Fix circleci/semver bugs
2018-12-08 11:37:51 +00:00
Neil Alexander
3b2044666d
Fix bug in semver version.sh 2018-12-08 11:31:20 +00:00
Neil Alexander
22e6505079
Fix bug from #228 2018-12-08 11:28:47 +00:00
Neil Alexander
467002bbf7
Merge pull request #228 from neilalexander/semver
Strip v from version during imprint
2018-12-08 11:01:41 +00:00
Neil Alexander
02f98a2592
Only show build name and version if it is known 2018-12-08 11:01:05 +00:00
Neil Alexander
f2d01aa54d
Use bare version in deb/macos packages instead of cut 2018-12-08 10:54:47 +00:00
Neil Alexander
9d0b8ac6f4
Strip v from version during imprint 2018-12-08 10:51:31 +00:00
Neil Alexander
262c93504f
Merge pull request #227 from Arceliar/module
convert to go module
2018-12-08 10:34:55 +00:00
Neil Alexander
5315bc25c5
Return 1 instead of -1 from semver/deb 2018-12-08 10:33:33 +00:00
Neil Alexander
2da3ef420c
Update documentation, remove stray .DS_Store file 2018-12-08 10:30:43 +00:00
Arceliar
af478e0e45 fix very special case bug when trying to dhtPing the root via the admin api 2018-12-08 00:42:13 -06:00
Arceliar
bd2d706745 fix bug from go vet while I'm at it 2018-12-07 20:36:30 -06:00
Arceliar
2d5f99a008 remove working_directory from circleci config, let it use the default, as per their blog post on go modules in 1.11 2018-12-07 20:19:19 -06:00
Arceliar
586781b49c convert to go module 2018-12-07 19:56:04 -06:00
Arceliar
caa7b739af
Merge pull request #226 from neilalexander/imprint
Imprint version number onto builds
2018-12-07 17:37:20 -06:00
Arceliar
ffbdef292f
Fix typo in changelog 2018-12-07 17:30:07 -06:00
Neil Alexander
f99c224171
Update CHANGELOG.md 2018-12-07 22:31:37 +00:00
Neil Alexander
5149c6c349
Show build name and version at startup if available 2018-12-07 22:24:01 +00:00
Neil Alexander
3524c6eff6
Add build name and version to getSelf call on admin socket 2018-12-07 22:22:46 +00:00
Neil Alexander
8e784438c7
Imprint build name and version number if available 2018-12-07 22:20:11 +00:00
Neil Alexander
4bc009d845
Update semver behaviour 2018-12-07 22:17:09 +00:00
Neil Alexander
8bd566d4d8
Remove VERSION 2018-12-07 22:05:36 +00:00
Neil Alexander
d0c2ce90bb
Fix semver when git history is not present 2018-12-07 22:03:57 +00:00
Neil Alexander
4532d0e0c8
Merge pull request #219 from neilalexander/semver
Tag releases in master using CI
2018-12-07 19:38:01 +00:00