commit | b8c5eae081cc04e692efe0a17799f37f1d3cc377 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 05 14:35:02 2022 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 05 14:36:00 2022 -0600 |
tree | 42c74332fe9063412444662c10a2a53db7df01e4 | |
parent | f5fc5af54c1c5223504b9c949c2864c76e7b7acf [diff] |
pretty-journal: convert to python3 and format It was reported by a user that they still use this. Convert it to python3, fix the flake8 issues, and format with black. Tested by running on a few `journalctl -o json-pretty` entries from my own system. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2689b0e21fb1aae9564c531e0eda69e8eeead571
The goal of this repository is to collect the two-minute hacks you write to automate interactions with OpenBMC systems.
It's highly likely the scripts don't meet your needs - they could be undocumented, dysfunctional or utterly broken. Please help us improve!
Then this repository aims to be the default destination for your otherwise un-homed scripts. As such we are setting the bar for submission pretty low, and we aim to make the process as easy as possible.
Please use gerrit for all patches to this repository:
Do note that you will need to be party to the OpenBMC CLA before your contributions can be accepted. See Gerrit Setup and CLA for more information.
So long as your patches look sane with a cursory glance you can expect them to be applied. We may push back in the event that similar tools already exist or there are egregious issues.
We don't ask for much, but you need to give us at least a Signed-off-by, use SPDX markers in your source files and put your work under an Apache 2.0 compatible license.
There's no standard way to install the scripts housed here, and adding parts of the repository to your PATH might be a bit of a dice-roll. We may also move or remove scripts from time to time as part of housekeeping. It's probably best to copy things out if you need stability.