From 8b5857bafcf1790f31646580b19c75c01fafc66b Mon Sep 17 00:00:00 2001 From: Viktor Kreschenski Date: Wed, 13 Dec 2023 18:00:07 +0100 Subject: [PATCH] Remove lzma from docs --- .github/workflows/ci.yml | 2 +- doc/setup.rst | 6 ------ doc/usage.rst | 15 +++++++-------- requirements.txt | 1 + 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb55484..464ce8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: runs-on: [ubuntu-latest] - python-version: ['3.8'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] name: "🐍 ${{ matrix.python-version }} • ${{ matrix.runs-on }}" runs-on: ${{ matrix.runs-on }} diff --git a/doc/setup.rst b/doc/setup.rst index 522aeab..e676446 100644 --- a/doc/setup.rst +++ b/doc/setup.rst @@ -59,12 +59,6 @@ After the compilation you can find the binary in the ``dist`` directory. You can ./dist/osi_general_validator --help -Make sure to provide the path to the rules when validating trace files to avoid path errors: - -.. code-block:: bash - - python rules2yml.py # Parse and generate rules folder - ./dist/osi_general_validator --rules rules data/small_test.txt.lzma Setup for linux developers ---------------------------- diff --git a/doc/usage.rst b/doc/usage.rst index 6087025..8cec08f 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -34,8 +34,8 @@ After installation you can call the command ``osivalidator`` in your terminal wh Set the buffer size to retrieve OSI messages from trace file. Set it to 0 if you do not want to use buffering at all. To run the validation first you need an OSI trace file which consists of multiple OSI messages. -In the directory ``data`` of the repository we already provide an example trace file which is called ``small_test.txt.lzma`` (a `lzma `_ compressed trace file with the ``$$__$$`` separator which can/should be converted into an ``*.osi`` file). For decompressing lzma compressed files on linux machines run ``lzma -d data/small_test.txt.lzma``. -Use the `txt2osi.py `_ of the OSI repo in the format directory to convert from ``*.txt`` to ``*.osi`` files or from ``*.txt.lzma`` to ``*.osi.lzma``). See usage below: +In the directory ``data`` of the repository we already provide an example trace file which is called ``small_test.txt``. +Use the `txt2osi.py `_ of the OSI repo in the format directory to convert from ``*.txt`` to ``*.osi`` files. See usage below: .. code-block:: bash @@ -52,28 +52,27 @@ Use the `txt2osi.py