60 Commits (d10644f3bf9a1b16a3d38b12127ac463cb792955)
 

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