grafana-toolbox / grafana-import

Import and export Grafana dashboards using the Grafana HTTP API and grafana-client, supporting dashboard-as-code workflows.
https://community.panodata.org/t/grafana-import-import-and-export-grafana-dashboards/295
Apache License 2.0
13 stars 6 forks source link

Software tests and CI. Ad hoc operation mode. "Builder" and "live reload" features. #7

Open amotl opened 4 months ago

amotl commented 4 months ago

About

Coming from GH-3, we would like to add a few more items to this project.

Details

Software Tests

I think the application dearly needs software tests. Otherwise, we can't easily bring in any further changes.

Features

On the page of actual features, we would like to add:

amotl commented 4 months ago

Hi again,

those patches implement the proposals outlined above. We hope they will be received well. We've used the new features on a few occasions already, and we really love them, making Grafana Dashboard authoring a breeze.

We are confident the behaviour does not significantly change for existing users compared to release 0.2.0, but of course, we want to make sure that a new release would be maximally compatible with the previous one, in order not to cause any downstream havocs.

Which procedure would you favor for that, @peekjef72?

peekjef72 commented 4 months ago

We are confident the behaviour does not significantly change for existing users compared to release 0.2.0, but of course, we want to make sure that a new release would be maximally compatible with the previous one, in order not to cause any downstream havocs.

Which procedure would you favor for that, @peekjef72?

  • Just release 0.3.0 to PyPI, and if something breaks on your or other ends, the designated advice is to report it to the issue tracker, and downgrade by using pip install grafana-import==0.2.0, to re-gain compatibility without further ado.
  • Run a testing release using version 0.3.0dev1, to give people a chance to evaluate the new release before having a GA release.

Hi Andreas, I think we can use the first procedure. Tell me when the release of 0.3.0 is ready. For security constraints in my company, I can't access to github repos directly (can git clone). So it is more confortable for me to work on this at week-end...

amotl commented 4 months ago

Thank you very much.

I can't access GitHub repos directly very well during the week.

Maybe you can also add me as a member on the PyPI project, so I can quicky run bugfix releases if something goes south? I am also amotl there.

peekjef72 commented 4 months ago

Hi. I invite you on pipy for grafana-import and grafana-snapshot to become maintainer. I will transfer grafana-snapshot to grafana-toolbox repos surely today : I'm currently working on a branch 0.3.0 that is functioning on grafana v 10.x ! still in synchronizing work done at job (without github access) and home repos :there should be a better method but not found yet...

JFPIK-

Le ven. 26 avr. 2024, 23:19, Andreas Motl @.***> a écrit :

Thank you very much.

I can't access GitHub repos directly very well during the week.

Maybe you can also add me as a member on the PyPI project, so I can quicky run bugfix releases if something goes south? I am also amotl there.

— Reply to this email directly, view it on GitHub https://github.com/grafana-toolbox/grafana-import/issues/7#issuecomment-2080131320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGB3MJT4WL6RIG57TS5UR3Y7LAFVAVCNFSM6AAAAABGQUXMH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGEZTCMZSGA . You are receiving this because you were mentioned.Message ID: @.***>

amotl commented 4 months ago

Hi JFPIK,

please take your time, and thanks a stack!

I'm currently working on a branch 0.3.0 for grafana-snapshot that is functioning on grafana v10.x. Still in synchronizing work done at job (without github access) and home repos. There should be a better method but not found yet...

Good luck! Let me know if I can support you in any ways.

Cheers, Andreas.

amotl commented 4 months ago

In other news, we started to present the modernizations of grafana-import to the Grafana Community as a preview, after merging the recent feature PRs. Are you also a member of the Grafana Community Forum, so we can reference your handle more appropriately instead of linking to GitHub?

Feel also free to join our workbench forum, where we are rambling, well, in workbench modes, mostly across the boundaries of different projects. You are welcome to join and do the same if you like that idea.

peekjef72 commented 4 months ago

Are you also a member of the Grafana Community Forum, so I can reference your handle more appropriately instead of linking to GitHub?

No I didn't have one : I just created an access with my github account so peekjef72 is now "existing". anyway the article you already wrote is fine (and far enough) thanks !

Le sam. 27 avr. 2024 à 12:44, Andreas Motl @.***> a écrit :

In other news, I started to present the modernizations of grafana-import to the Grafana Community as a preview, after merging the recent feature PRs.

https://community.grafana.com/t/backing-up-or-committing-dashboards-to-github/26194/9

Are you also a member of the Grafana Community Forum, so I can reference your handle more appropriately instead of linking to GitHub?

— Reply to this email directly, view it on GitHub https://github.com/grafana-toolbox/grafana-import/issues/7#issuecomment-2080448512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGB3MKJWNTBFUA5FT5DFALY7N6RBAVCNFSM6AAAAABGQUXMH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGQ2DQNJRGI . You are receiving this because you were mentioned.Message ID: @.***>