mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-11-05 09:16:21 +00:00
feat: improve config backup and update and revert (#737)
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
Some checks failed
docker-build / platform-excludes (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
Improve the backup of the EOS configuration on configuration migration from another version. Backup files now get a backup id based on date and time. Add the configuration backup listing and the revert to the backup to the EOS api. Add revert to backup to the EOSdash admin tab. Improve documentation about install, update and revert of EOS versions. Add EOS execution profiling to make commands and to test description in the development guideline. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
@@ -322,10 +322,7 @@ interfere with the EOS server trying to start EOSdash.
|
||||
docker rm -f akkudoktoreos
|
||||
```
|
||||
|
||||
For detailed Docker instructions, refer to
|
||||
**[Method 3 & 4: Installation with Docker](install.md#method-3-installation-with-docker-dockerhub)**
|
||||
and
|
||||
**[Method 4: Docker Compose](install.md#method-4-installation-with-docker-docker-compose)**.
|
||||
For detailed Docker instructions, refer to [Installation Guideline](install-page)
|
||||
|
||||
### Step 4 - Create the changes
|
||||
|
||||
@@ -421,6 +418,30 @@ resources:
|
||||
make test-system
|
||||
```
|
||||
|
||||
To do profiling use:
|
||||
|
||||
```{eval-rst}
|
||||
.. tabs::
|
||||
|
||||
.. tab:: Windows
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
python tests/single_test_optimization.py --profile
|
||||
|
||||
.. tab:: Linux
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python tests/single_test_optimization.py --profile
|
||||
|
||||
.. tab:: Linux Make
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
make test-profile
|
||||
```
|
||||
|
||||
#### Step 4.5 - Commit the changes
|
||||
|
||||
Add the changed and new files to the commit.
|
||||
|
||||
Reference in New Issue
Block a user