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