1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

257 Commits

Author SHA1 Message Date
58d82473ce feat: use goreleaser 2021-12-21 01:51:52 -08:00
f43d23e354 Merge pull request #55 from bgp/fix/revert-defer-in-rtrmon
Revert defer unlock in select/case
2021-10-31 17:55:43 +01:00
1833aceccf Revert defer unlock in select/case
Hindsight... Agree with lspgn here, it is confusing that there is
a non-local effect (lock being held) that you will only hit when
you add code later in the same function.

I do not like the style of the alternatives (anonymous functions
called immediately) either.
2021-10-31 17:05:57 +01:00
f0b864089d Merge pull request #52 from ties/fix/change-defers-in-rtrmon
defer unlocks in rtrmon as well
2021-10-31 11:29:48 +01:00
3822cf8807 Do not defer unlock 'over' channel communication 2021-10-31 11:26:09 +01:00
4ddfd7f215 defer unlocks in rtrmon iff unlock happens before return 2021-10-30 16:16:32 +02:00
992471aac2 Merge pull request #51 from mellowdrifter/master
Use defers for mutexs
2021-10-30 16:11:24 +02:00
c3045da803 Merge branch 'master' of github.com:mellowdrifter/stayrtr 2021-10-30 09:53:13 -04:00
3726782f68 Use defers for locks 2021-10-30 09:52:55 -04:00
406a710de1 Merge pull request #50 from ties/fix/doc-fix-typos-in-rtrmon-doc
Fix a typo in the README section on rtrmon
2021-10-29 08:44:43 +01:00
765f8a17d4 Fix a typo in the README section on rtrmon 2021-10-29 09:42:56 +02:00
5ee7f75622 Move slurm into json file 2021-10-29 04:46:29 +00:00
644fb871a3 Move slurm into json file 2021-10-28 20:39:19 -04:00
a875e54242 Remove unused cruft and add tests 2021-10-28 08:21:38 +00:00
e64644ff62 update to 1.16 2021-10-27 21:05:35 -04:00
91228f65e3 remove unused 2021-10-27 20:59:40 -04:00
d5023c1899 Merge pull request #47 from mellowdrifter/master
GOMAXPROCS
2021-10-27 23:28:32 +01:00
0b738b8ee2 GOMAXPROCS 2021-10-27 18:16:16 -04:00
65b170c7f2 Merge pull request #45 from bgp/update_fail
Fix intial sync stuff
2021-10-27 04:48:15 +00:00
1952c19b32 Merge pull request #46 from bgp/disable_cgo_build
Invert the usual CGO_ENABLED behavior to default to off.
2021-10-27 04:43:42 +00:00
a9fde96027 Invert the usual CGO_ENABLED behavior to default to off. 2021-10-27 04:42:36 +00:00
5878317f6e Catch error and simplify the initial sync stuff 2021-10-27 04:36:47 +00:00
2455723c87 Make the refresh faster when update fails 2021-10-26 15:20:17 +00:00
70aef8f20c Merge pull request #41 from bgp/cleanup
Refresh and cleanup junk
2021-10-26 15:30:45 +01:00
614d6e027d Merge pull request #40 from bgp/crash
Crash
2021-10-26 15:25:52 +01:00
76eac7450a Refresh faster when the VRPs weren't downloaded on init 2021-10-26 14:14:55 +00:00
6332b3ee71 Fix the crash in #39 2021-10-26 13:37:56 +00:00
cc539c43a5 Trim paths. Don't need all that cruft. 2021-10-26 11:34:39 +00:00
e5d3cf3d07 Update dependencies 2021-10-26 11:15:29 +00:00
683f7f2369 Merge pull request #37 from mellowdrifter/master
Don't abuse main() with too much crap. Just let it be an entrypoint.
2021-10-26 06:42:17 +00:00
c55254b8ff Controversial 2021-10-25 21:26:49 -04:00
1994189e1b Merge pull request #36 from mellowdrifter/master
More test code
2021-10-26 02:04:02 +01:00
783f2eaf9f More test code 2021-10-25 20:52:41 -04:00
fb912e5c18 Merge pull request #35 from bgp/feature/add-codeql-actions
Add codeql actions
2021-10-25 20:07:31 +01:00
041a1c52f3 Remove ineffectual assign 2021-10-25 20:21:07 +02:00
e5c5a99a0c check for err 2021-10-25 20:19:28 +02:00
0a9217aaad Use local variable for password, not argument
Use the local variable (possibly containing a password from the
environment) for the SSH password.
2021-10-25 20:16:16 +02:00
a8759efa62 add codeql scanning 2021-10-25 19:54:48 +02:00
fa2fb297c6 golang 1.16 2021-10-25 19:54:15 +02:00
f7828abc92 Merge pull request #28 from bgp/feature/doc-rtrmon-a-bit
Document rtrmon a bit
2021-10-25 18:51:57 +01:00
bd1a7d232f Document rtrmon behaviour and metrics
* Add how to run rtrmon in the README
  * Basic explanation of rtrmon metrics in the README
2021-10-25 19:45:16 +02:00
ec86a40d5b Merge pull request #34 from mellowdrifter/master
Move to TDD for clients
2021-10-25 00:39:54 +01:00
968c0d5db1 Move to TDD for clients 2021-10-24 19:30:55 -04:00
f86223c789 Merge pull request #33 from mellowdrifter/master
Create outline for client testing
2021-10-24 20:42:27 +01:00
7b8d456a55 Merge branch 'master' of github.com:mellowdrifter/stayrtr 2021-10-24 15:26:51 -04:00
fe8a0f4632 initial client test set up 2021-10-24 15:26:47 -04:00
b25915a1d6 Merge pull request #32 from mellowdrifter/master
ifs to switch
2021-10-24 16:49:33 +02:00
e4acfc2178 ifs to switch 2021-10-24 10:46:03 -04:00
9f1bb9df52 Merge pull request #31 from mellowdrifter/master
More cleanup
2021-10-24 16:41:40 +02:00
a72ccbe4ad More cleanup 2021-10-24 10:37:42 -04:00