On Wed, 2019-05-01 at 23:53 +0200, Matthias Klumpp wrote:
Hello! Since last week, all of PureOS infrastructure is now switched to the latest, mostly Python-based version of Laniakea[1].
This is great news. Congratulations Matthias!
Laniakea also contains a message-bus based on ZeroMQ and JSON to let modules running on other machines know about changes and react to events when running in a more isolated environment. This also allows notifications via email or Matrix.
Do we intend to send messages to email and/or Matrix? If so, perhaps we use a separate Laniakea channel for Matrix so as not to flood the PureOS channel. I suppose we can use the pureos-changes mailing list for messages too? pureos-project seems like it might be better left to higher level topics.
<snip>
The Laniakea message piblishing code also has not been ported yet, so modules can not communicate with each other via ZeroMQ. This should not ceuase any issues, but when it is finally implemented, we will get a new Matrix bot to notify about archive changes immediately.
+1
## What's next? ### Create an integration test framework for Laniakea We need better testing, or rather, any testing for some Laniakea modules and larger pieces of the codebase. Since a large chunk of Laniakea is interfacing with existing code or with its own modules, we need some way to do intergration testing properly.
When you say integration testing, what do you mean? Do you mean how the various components of Laniakea fit together?
### More unit testing! The Python code doesn't have many tests written yet, so this needs to be added as well.
I think a description of the test framework you use (TAP? PyTest), and then a TEMPLATE python script might be a great way to get folks to contribute. I know I would.
### Bring back software.po.n (webswview) The web application just needs to be rewritten. This is a work in progress at time.
What is the framework for the web app? Is it Angular, Vue, or perhaps something from Python like flask?
### Package for Debian Laniakea should be available from withing Debian. This is a long-term goal as it requires at least some stability of the database schemas and more and better testing. Also, the JavaScript dependencies of the web modules need to be sorted out properly. Ultimately though, at some point you can just apt install Laniakea to create your own Debian derivative.
I think a lot of derivative would use this if you could just apt-get install laniakea. It ought to make their lives much, much easier. I know this would have helped Maemo when Nokia essentially abandoned it.
## What can I do? Contribute! Either by writing code for Laniakea (documentation is currently updated to reflect the Python changes)
URL? Are you using Readthedocs?
or filing bugs.
I filed a bug. You fixed it too quickly. :P
If you see anything weird happening in PureOS infrastructure that hasn't happened before, please file a bug in the PureOS bugtracker[6] or against Laniakea directly if you know it is to blame already.
Happy hacking! Matthias
Cheers,
Jeremiah