Brendan Abolivier
|
192189f53b
|
Fix built + typo
|
7 years ago |
Brendan Abolivier
|
64b812bb10
|
Optimise push workflow
|
7 years ago |
Brendan Abolivier
|
13a63682a2
|
Doc + optim
|
7 years ago |
Brendan Abolivier
|
b79da1b71c
|
Compute slug in CreateOrUpdateDashboard
|
7 years ago |
Brendan Abolivier
|
fc150cfbb1
|
Compare prefix against dashboards' slugs instead of their names
|
7 years ago |
Brendan Abolivier
|
f33a0f26d7
|
Handle existing clone paths that are not a Git repository
|
7 years ago |
Brendan Abolivier
|
d53ea113fd
|
Remove 'non-fast-forward update' from the known non-errors
|
7 years ago |
Brendan Abolivier
|
46d20cf39e
|
Factorise non-error detection when talking to the Git remote
|
7 years ago |
Brendan Abolivier
|
f2f08e71c9
|
Don't panic on remote repository is empty
|
7 years ago |
Brendan Abolivier
|
2605b3b2a5
|
Typo
|
7 years ago |
Brendan Abolivier
|
751e8d048a
|
Mention that the pusher doesn't delete removed dashboards
|
7 years ago |
Brendan Abolivier
|
9186ca4d09
|
Ignore versions.json
|
7 years ago |
Brendan Abolivier
|
8d175bf33b
|
Add logging
|
7 years ago |
Brendan Abolivier
|
c443402dd8
|
Typo
|
7 years ago |
Brendan Abolivier
|
21a77219bb
|
Add README
|
7 years ago |
Brendan Abolivier
|
d59b526e1e
|
Add ignored prefix to the configurable keys and filter by dashboard name instead of slug
|
7 years ago |
Brendan Abolivier
|
175f05e91f
|
Use ssh user specified in the config for Git auth
|
7 years ago |
Brendan Abolivier
|
343ad16b42
|
Ignore files/dashboards which name start with 'test'
|
7 years ago |
Brendan Abolivier
|
a709690d90
|
Move check of push ref before sync of repo
|
7 years ago |
Brendan Abolivier
|
7ba24c41f2
|
Move pushing to the Grafana API outside of the loop iterating over commits
|
7 years ago |
Brendan Abolivier
|
1391394ac9
|
Filter push events by ref
|
7 years ago |
Brendan Abolivier
|
50a388fcbf
|
Doc pusher
|
7 years ago |
Brendan Abolivier
|
bb592f53a6
|
Add AGPL license
|
7 years ago |
Brendan Abolivier
|
0fa54841f1
|
Add check on nil error in Push + some more doc
|
7 years ago |
Brendan Abolivier
|
56ebf1ece8
|
Doc git
|
7 years ago |
Brendan Abolivier
|
0025d65d89
|
Add missing error check
|
7 years ago |
Brendan Abolivier
|
bd07b371ce
|
Doc Grafana client
|
7 years ago |
Brendan Abolivier
|
24358cae4f
|
Doc config Load
|
7 years ago |
Brendan Abolivier
|
c89381efab
|
Check if err isn't nil to avoid nil pointer dereference
|
7 years ago |
Brendan Abolivier
|
05ac42989e
|
Send overwrite: true in creation/update requests because else the Grafana API does weird stuff
|
7 years ago |
Brendan Abolivier
|
c680c2a359
|
Fix wrong call to HasPrefix
|
7 years ago |
Brendan Abolivier
|
cc1d718d23
|
Check for non-fast-forward update error on push
|
7 years ago |
Brendan Abolivier
|
a353eb97b1
|
Add Content-Type header for non-GET HTTP requests + rename function for more accuracy
|
7 years ago |
Brendan Abolivier
|
8f4a37edb6
|
Fix CLI flags declaration
|
7 years ago |
Brendan Abolivier
|
b58b51b20b
|
Use the Git user specified in the config file
|
7 years ago |
Brendan Abolivier
|
fcc253cb7b
|
Add commits author config to config file
|
7 years ago |
Brendan Abolivier
|
cf8df92574
|
Don't redefine cfg in pusher's main
|
7 years ago |
Brendan Abolivier
|
e5b6f979c2
|
Use config in pusher
|
7 years ago |
Brendan Abolivier
|
a8b70fa099
|
Improve config doc
|
7 years ago |
Brendan Abolivier
|
6f4f0257c5
|
Use config in puller
|
7 years ago |
Brendan Abolivier
|
06b2b3f5d0
|
Allow specifying git user in the configuration
|
7 years ago |
Brendan Abolivier
|
8edca8767c
|
Add configuration loading
|
7 years ago |
Brendan Abolivier
|
39c09b7f77
|
Add config file example and ignore the real config file
|
7 years ago |
Brendan Abolivier
|
c3764d3db1
|
Add .editorconfig
|
7 years ago |
Brendan Abolivier
|
a3309dfee3
|
Don't process commits made by the puller
|
7 years ago |
Brendan Abolivier
|
5ce8802366
|
Pull&commit after pushing to Grafana
|
7 years ago |
Brendan Abolivier
|
484f538cd7
|
Moar doc
|
7 years ago |
Brendan Abolivier
|
28d65661be
|
Don't use command line parameters in puller
|
7 years ago |
Brendan Abolivier
|
ea5674cb5e
|
Doc puller code, fix build and use go-git Commit() function directly
|
7 years ago |
Brendan Abolivier
|
25e56112ee
|
Clean up puller code
|
7 years ago |