Update on Statscache and Fedora releng dash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ralph,

I have made quite some changes to statscache[1] and
statscache_plugins[2] to empower a faster prototype of releng dash[3],
currently working with only the AMIs plugin.

I have come up with a layout spec for releng plugin[4] to generate the
UI dynamically with minimum client side code, same code working for
all widgets in the dashboard.

How to test the changes:
1. cd into statscache_plugins/statscahe_plugins, and run 'python -m
unittest tests.releng' to seed initial data for AMIs plugin.
2. cd into statscache/ dir and run the flask server: python statscache/app.py
3. cd into fedora-releng-dash repo dir, and checkout to branch
'statscache', and open index.html in browser.

You should see the AMI widgets in the page.

Also, I think, we need to find a better way to pass the 'frequency'
param to instantiate models and plugins. Also, the data fetching part
could be moved to the plugins to allow plugin level optimizations, if
needed.

Please let me know your thoughts on the above changes.

[1]: https://github.com/fedora-infra/statscache/pull/4
[2]: https://github.com/fedora-infra/statscache_plugins/pull/1
[3]: https://github.com/fedora-infra/fedora-releng-dash/pull/20/
[4]: https://github.com/rtnpro/statscache_plugins/commit/f1ca6c85bf2a4cb22af93b5ae598b99e9eac03d6#diff-cf21a606899291544358244c100d35b1R41

Regards,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux