Brendan Abolivier
|
175f05e91f
|
Use ssh user specified in the config for Git auth
|
7 vuotta sitten |
Brendan Abolivier
|
343ad16b42
|
Ignore files/dashboards which name start with 'test'
|
7 vuotta sitten |
Brendan Abolivier
|
a709690d90
|
Move check of push ref before sync of repo
|
7 vuotta sitten |
Brendan Abolivier
|
7ba24c41f2
|
Move pushing to the Grafana API outside of the loop iterating over commits
|
7 vuotta sitten |
Brendan Abolivier
|
1391394ac9
|
Filter push events by ref
|
7 vuotta sitten |
Brendan Abolivier
|
50a388fcbf
|
Doc pusher
|
7 vuotta sitten |
Brendan Abolivier
|
bb592f53a6
|
Add AGPL license
|
7 vuotta sitten |
Brendan Abolivier
|
0fa54841f1
|
Add check on nil error in Push + some more doc
|
7 vuotta sitten |
Brendan Abolivier
|
56ebf1ece8
|
Doc git
|
7 vuotta sitten |
Brendan Abolivier
|
0025d65d89
|
Add missing error check
|
7 vuotta sitten |
Brendan Abolivier
|
bd07b371ce
|
Doc Grafana client
|
7 vuotta sitten |
Brendan Abolivier
|
24358cae4f
|
Doc config Load
|
7 vuotta sitten |
Brendan Abolivier
|
c89381efab
|
Check if err isn't nil to avoid nil pointer dereference
|
7 vuotta sitten |
Brendan Abolivier
|
05ac42989e
|
Send overwrite: true in creation/update requests because else the Grafana API does weird stuff
|
7 vuotta sitten |
Brendan Abolivier
|
c680c2a359
|
Fix wrong call to HasPrefix
|
7 vuotta sitten |
Brendan Abolivier
|
cc1d718d23
|
Check for non-fast-forward update error on push
|
7 vuotta sitten |
Brendan Abolivier
|
a353eb97b1
|
Add Content-Type header for non-GET HTTP requests + rename function for more accuracy
|
7 vuotta sitten |
Brendan Abolivier
|
8f4a37edb6
|
Fix CLI flags declaration
|
7 vuotta sitten |
Brendan Abolivier
|
b58b51b20b
|
Use the Git user specified in the config file
|
7 vuotta sitten |
Brendan Abolivier
|
fcc253cb7b
|
Add commits author config to config file
|
7 vuotta sitten |
Brendan Abolivier
|
cf8df92574
|
Don't redefine cfg in pusher's main
|
7 vuotta sitten |
Brendan Abolivier
|
e5b6f979c2
|
Use config in pusher
|
7 vuotta sitten |
Brendan Abolivier
|
a8b70fa099
|
Improve config doc
|
7 vuotta sitten |
Brendan Abolivier
|
6f4f0257c5
|
Use config in puller
|
7 vuotta sitten |
Brendan Abolivier
|
06b2b3f5d0
|
Allow specifying git user in the configuration
|
7 vuotta sitten |
Brendan Abolivier
|
8edca8767c
|
Add configuration loading
|
7 vuotta sitten |
Brendan Abolivier
|
39c09b7f77
|
Add config file example and ignore the real config file
|
7 vuotta sitten |
Brendan Abolivier
|
c3764d3db1
|
Add .editorconfig
|
7 vuotta sitten |
Brendan Abolivier
|
a3309dfee3
|
Don't process commits made by the puller
|
7 vuotta sitten |
Brendan Abolivier
|
5ce8802366
|
Pull&commit after pushing to Grafana
|
7 vuotta sitten |
Brendan Abolivier
|
484f538cd7
|
Moar doc
|
7 vuotta sitten |
Brendan Abolivier
|
28d65661be
|
Don't use command line parameters in puller
|
7 vuotta sitten |
Brendan Abolivier
|
ea5674cb5e
|
Doc puller code, fix build and use go-git Commit() function directly
|
7 vuotta sitten |
Brendan Abolivier
|
25e56112ee
|
Clean up puller code
|
7 vuotta sitten |
Brendan Abolivier
|
0c9a6d112d
|
Move pull into a non-main function
|
7 vuotta sitten |
Brendan Abolivier
|
c776a2f822
|
Add pusher
|
7 vuotta sitten |
Brendan Abolivier
|
a97f834ae8
|
Rename go-git import
|
7 vuotta sitten |
Brendan Abolivier
|
bd148feba3
|
Fix error thrown when there's nothing to push
|
7 vuotta sitten |
Brendan Abolivier
|
c91176d9c9
|
Remove commented import
|
7 vuotta sitten |
Brendan Abolivier
|
71a03f599d
|
Finished poller
|
7 vuotta sitten |
Brendan Abolivier
|
04885adb2a
|
Basic Grafana client
|
7 vuotta sitten |