Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STABLE RELEASE - 0.1.0 #264

Merged
merged 87 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
3a77617
0.1.0 alpha 3 (#204)
JarbasAl Dec 29, 2023
23e7021
Increment Version to 0.1.0a4
JarbasAl Dec 29, 2023
77e451a
Update Changelog
JarbasAl Dec 29, 2023
262d9c1
fix/log_spam (#213)
JarbasAl Dec 30, 2023
4c875dd
Increment Version to 0.1.0a5
JarbasAl Dec 30, 2023
c94032e
Update Changelog
JarbasAl Dec 30, 2023
e011854
Feat/ovos logs script (#203)
emphasize Dec 30, 2023
917c74c
Increment Version to 0.1.0a6
JarbasAl Dec 30, 2023
6936b3a
Update Changelog
JarbasAl Dec 30, 2023
26dfca6
refactor/ocp_utils (#215)
NeonJarbas Jan 6, 2024
9e66c73
Increment Version to 0.1.0a7
JarbasAl Jan 6, 2024
731d808
Update Changelog
JarbasAl Jan 6, 2024
220857b
refactor/ocp_utils (#216)
NeonJarbas Jan 8, 2024
5163faf
Increment Version to 0.1.0a8
JarbasAl Jan 8, 2024
17d510a
Update Changelog
JarbasAl Jan 8, 2024
d4d38ed
OCP serialization (#218)
NeonJarbas Jan 12, 2024
13f2767
Increment Version to 0.1.0a9
JarbasAl Jan 12, 2024
cfa1b9a
Update Changelog
JarbasAl Jan 12, 2024
95ec8f7
clarify datetime arg (#219)
emphasize Jan 15, 2024
18f3e47
Increment Version to 0.1.0a10
JarbasAl Jan 15, 2024
2146f73
Update Changelog
JarbasAl Jan 15, 2024
cfcdab8
fix/restore deprecated OCP enums compat (#220)
NeonJarbas Jan 25, 2024
7bdfc7c
Increment Version to 0.1.0a11
JarbasAl Jan 25, 2024
b9a61ff
Update Changelog
JarbasAl Jan 25, 2024
4cfdf05
fix/ocp_playlist (#221)
NeonJarbas Jan 25, 2024
0bc25e9
Increment Version to 0.1.0a12
JarbasAl Jan 25, 2024
29a547a
Update Changelog
JarbasAl Jan 25, 2024
e36b16c
Create dependabot.yml
JarbasAl Jan 28, 2024
623738e
Update pexpect requirement from ~=4.6 to ~=4.9 in /requirements (#223)
dependabot[bot] Jan 30, 2024
773ad88
Update rapidfuzz requirement from ~=2.0 to ~=3.6 in /requirements (#224)
dependabot[bot] Jan 30, 2024
86cb354
Increment Version to 0.1.0a13
JarbasAl Jan 30, 2024
56aabe2
Update Changelog
JarbasAl Jan 30, 2024
59a7b4a
Option for systemd-timesyncd (#200)
builderjer Feb 18, 2024
62a7ec1
Increment Version to 0.1.0a15
JarbasAl Feb 18, 2024
665f885
Update Changelog
JarbasAl Feb 18, 2024
c7006d5
chore(docs): rename readme.md to README.md (#230)
mikejgray Mar 10, 2024
6377dca
Increment Version to 0.1.0a16
JarbasAl Mar 10, 2024
67e7855
Update Changelog
JarbasAl Mar 10, 2024
e711cee
chore(docs): add a long description to PyPi (#229)
mikejgray Mar 10, 2024
7650d62
Increment Version to
JarbasAl Mar 10, 2024
57cecdc
Update Changelog
JarbasAl Mar 10, 2024
04fc16c
feat: mac support for ram cache (#231)
mikejgray Mar 23, 2024
50abd12
Increment Version to
JarbasAl Mar 23, 2024
3b4a9b6
Update Changelog
JarbasAl Mar 23, 2024
404b7fc
Add Damerau-Levenshtein similarity matching (#248)
femelo May 28, 2024
930a701
Increment Version to
JarbasAl May 28, 2024
4bc171a
Update Changelog
JarbasAl May 28, 2024
c839131
deprecate/signal utils (#249)
JarbasAl Jun 2, 2024
a0ca866
Increment Version to
JarbasAl Jun 2, 2024
18940e2
Update Changelog
JarbasAl Jun 2, 2024
d2fc17d
fix/log_spam (#251)
JarbasAl Jun 4, 2024
4f9ff34
Increment Version to
JarbasAl Jun 4, 2024
4994fe8
Update Changelog
JarbasAl Jun 4, 2024
3ddfe5a
fix/dont_lie_about_being_a_uri (#246)
JarbasAl Jun 13, 2024
f7fe7e5
Increment Version to
JarbasAl Jun 13, 2024
f5db421
Update Changelog
JarbasAl Jun 13, 2024
1dbb348
hotfix/skip_release
JarbasAl Jun 13, 2024
81b02ca
Increment Version to
JarbasAl Jun 13, 2024
d87b749
fix/log_level_cfg (#252)
JarbasAl Jun 18, 2024
58e8e55
Increment Version to
JarbasAl Jun 18, 2024
7dfbbef
Update Changelog
JarbasAl Jun 18, 2024
a50c301
new_util/get_sound_duration (#254)
JarbasAl Jun 19, 2024
65a4742
Increment Version to
JarbasAl Jun 19, 2024
12808d1
Update Changelog
JarbasAl Jun 19, 2024
b1519c4
fix/sound_duration (#255)
JarbasAl Jun 21, 2024
92461fd
Increment Version to
JarbasAl Jun 21, 2024
9b56eac
Update Changelog
JarbasAl Jun 21, 2024
e6b416e
fix/ocp_playlist (#256)
JarbasAl Jun 21, 2024
1dfc636
Increment Version to
JarbasAl Jun 21, 2024
3fa1504
Update Changelog
JarbasAl Jun 21, 2024
a05ab7b
feat/ocp_stream_utils (#257)
JarbasAl Jun 21, 2024
0ea660e
Increment Version to
JarbasAl Jun 21, 2024
121391b
Update Changelog
JarbasAl Jun 21, 2024
ce642ff
fix/detect_ovos_gui_app (#258)
JarbasAl Jul 5, 2024
2101d14
Increment Version to
JarbasAl Jul 5, 2024
70c46a3
Update Changelog
JarbasAl Jul 5, 2024
b90285c
fix/playlist_deserialization (#262)
JarbasAl Aug 3, 2024
22d442b
Increment Version to
JarbasAl Aug 3, 2024
c3a52d0
Update Changelog
JarbasAl Aug 3, 2024
8e5d4aa
fix/plugin_stream_extraction (#263)
JarbasAl Aug 3, 2024
9f7ed6a
Increment Version to
JarbasAl Aug 3, 2024
d0d5587
Update Changelog
JarbasAl Aug 3, 2024
e4a3ff7
log module unit test coverage (#260)
NeonDaniel Sep 2, 2024
bd97548
Increment Version to
JarbasAl Sep 2, 2024
7f7c9d0
Update Changelog
JarbasAl Sep 2, 2024
d2613b0
Increment Version to
JarbasAl Sep 2, 2024
9a47ad1
Update version.py
JarbasAl Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/requirements" # Location of package manifests
schedule:
interval: "weekly"
1 change: 0 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
python -m pip install build wheel
- name: Install repo
run: |
pip install -r requirements/test.txt
pip install -e .[extras]
- name: Generate coverage report
run: |
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ jobs:
runs-on: ubuntu-latest
needs: update_version
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: V${{ needs.update_version.outputs.version }}
release_name: Release ${{ needs.update_version.outputs.version }}
body: |
Changes in this Release
${{ needs.update_version.outputs.changelog }}
draft: false
prerelease: true
commitish: dev
- name: Checkout Repository
uses: actions/checkout@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
python-version: [ 3.8, 3.9, "3.10" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -52,7 +52,6 @@ jobs:
python -m pip install build wheel
- name: Install core repo
run: |
pip install -r requirements/test.txt
pip install -e .[extras]
- name: Install test dependencies
run: |
Expand Down
131 changes: 116 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,142 @@
# Changelog

## [V0.0.37a4](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.0.37a4) (2023-12-28)
## [Unreleased](https://github.com/OpenVoiceOS/ovos-utils/tree/HEAD)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.0.37a3...V0.0.37a4)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V...HEAD)

**Merged pull requests:**
**Implemented enhancements:**

- deprecate bus utils [\#207](https://github.com/OpenVoiceOS/ovos-utils/pull/207) ([JarbasAl](https://github.com/JarbasAl))
- feat/ocp\_stream\_utils [\#257](https://github.com/OpenVoiceOS/ovos-utils/pull/257) ([JarbasAl](https://github.com/JarbasAl))
- new\_util/get\_sound\_duration [\#254](https://github.com/OpenVoiceOS/ovos-utils/pull/254) ([JarbasAl](https://github.com/JarbasAl))
- Add Damerau-Levenshtein similarity matching [\#248](https://github.com/OpenVoiceOS/ovos-utils/pull/248) ([femelo](https://github.com/femelo))
- fix/dont\_lie\_about\_being\_a\_uri [\#246](https://github.com/OpenVoiceOS/ovos-utils/pull/246) ([JarbasAl](https://github.com/JarbasAl))

## [V0.0.37a3](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.0.37a3) (2023-12-28)
**Fixed bugs:**

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.0.37a2...V0.0.37a3)
- fix/plugin\_stream\_extraction [\#263](https://github.com/OpenVoiceOS/ovos-utils/pull/263) ([JarbasAl](https://github.com/JarbasAl))
- fix/playlist\_deserialization [\#262](https://github.com/OpenVoiceOS/ovos-utils/pull/262) ([JarbasAl](https://github.com/JarbasAl))
- fix/detect\_ovos\_gui\_app [\#258](https://github.com/OpenVoiceOS/ovos-utils/pull/258) ([JarbasAl](https://github.com/JarbasAl))
- fix/ocp\_playlist [\#256](https://github.com/OpenVoiceOS/ovos-utils/pull/256) ([JarbasAl](https://github.com/JarbasAl))
- fix/sound\_duration [\#255](https://github.com/OpenVoiceOS/ovos-utils/pull/255) ([JarbasAl](https://github.com/JarbasAl))
- fix/log\_level\_cfg [\#252](https://github.com/OpenVoiceOS/ovos-utils/pull/252) ([JarbasAl](https://github.com/JarbasAl))
- fix/log\_spam [\#251](https://github.com/OpenVoiceOS/ovos-utils/pull/251) ([JarbasAl](https://github.com/JarbasAl))
- feat: mac support for ram cache [\#231](https://github.com/OpenVoiceOS/ovos-utils/pull/231) ([mikejgray](https://github.com/mikejgray))

**Closed issues:**

- decouple concerns from bus/workshop [\#205](https://github.com/OpenVoiceOS/ovos-utils/issues/205)
- ROADMAP - ovos-utils 0.1.0 [\#117](https://github.com/OpenVoiceOS/ovos-utils/issues/117)
- "systemctl restart" not working when using with ovos-phal-plugin-system [\#259](https://github.com/OpenVoiceOS/ovos-utils/issues/259)
- add some trivial unit test coverage that log config changes are reacted to [\#253](https://github.com/OpenVoiceOS/ovos-utils/issues/253)
- log.py - New functions are missing test coverage [\#239](https://github.com/OpenVoiceOS/ovos-utils/issues/239)

**Merged pull requests:**

- log module unit test coverage [\#260](https://github.com/OpenVoiceOS/ovos-utils/pull/260) ([NeonDaniel](https://github.com/NeonDaniel))
- deprecate/signal utils [\#249](https://github.com/OpenVoiceOS/ovos-utils/pull/249) ([JarbasAl](https://github.com/JarbasAl))

## [V](https://github.com/OpenVoiceOS/ovos-utils/tree/V) (2024-03-10)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a16...V)

**Merged pull requests:**

- LAST ALPHA [\#206](https://github.com/OpenVoiceOS/ovos-utils/pull/206) ([JarbasAl](https://github.com/JarbasAl))
- chore\(docs\): add a long description to PyPi [\#229](https://github.com/OpenVoiceOS/ovos-utils/pull/229) ([mikejgray](https://github.com/mikejgray))

## [V0.0.37a2](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.0.37a2) (2023-12-18)
## [V0.1.0a16](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a16) (2024-03-10)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.0.37a1...V0.0.37a2)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a15...V0.1.0a16)

**Merged pull requests:**

- chore\(docs\): rename readme.md to README.md [\#230](https://github.com/OpenVoiceOS/ovos-utils/pull/230) ([mikejgray](https://github.com/mikejgray))

## [V0.1.0a15](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a15) (2024-02-18)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a13...V0.1.0a15)

**Merged pull requests:**

- Option for systemd-timesyncd [\#200](https://github.com/OpenVoiceOS/ovos-utils/pull/200) ([builderjer](https://github.com/builderjer))

## [V0.1.0a13](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a13) (2024-01-30)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a12...V0.1.0a13)

**Merged pull requests:**

- Update rapidfuzz requirement from ~=2.0 to ~=3.6 in /requirements [\#224](https://github.com/OpenVoiceOS/ovos-utils/pull/224) ([dependabot[bot]](https://github.com/apps/dependabot))
- Update pexpect requirement from ~=4.6 to ~=4.9 in /requirements [\#223](https://github.com/OpenVoiceOS/ovos-utils/pull/223) ([dependabot[bot]](https://github.com/apps/dependabot))

## [V0.1.0a12](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a12) (2024-01-25)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a11...V0.1.0a12)

**Fixed bugs:**

- update imports for py 3.10 compat [\#202](https://github.com/OpenVoiceOS/ovos-utils/pull/202) ([JarbasAl](https://github.com/JarbasAl))
- fix/ocp\_playlist [\#221](https://github.com/OpenVoiceOS/ovos-utils/pull/221) ([NeonJarbas](https://github.com/NeonJarbas))

## [V0.0.37a1](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.0.37a1) (2023-11-08)
## [V0.1.0a11](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a11) (2024-01-25)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.0.36...V0.0.37a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a10...V0.1.0a11)

**Fixed bugs:**

- elevate sound media role [\#201](https://github.com/OpenVoiceOS/ovos-utils/pull/201) ([emphasize](https://github.com/emphasize))
- fix/restore deprecated OCP enums compat [\#220](https://github.com/OpenVoiceOS/ovos-utils/pull/220) ([NeonJarbas](https://github.com/NeonJarbas))

## [V0.1.0a10](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a10) (2024-01-15)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a9...V0.1.0a10)

**Merged pull requests:**

- clarify datetime arg [\#219](https://github.com/OpenVoiceOS/ovos-utils/pull/219) ([emphasize](https://github.com/emphasize))

## [V0.1.0a9](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a9) (2024-01-12)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a8...V0.1.0a9)

**Implemented enhancements:**

- OCP serialization [\#218](https://github.com/OpenVoiceOS/ovos-utils/pull/218) ([NeonJarbas](https://github.com/NeonJarbas))

## [V0.1.0a8](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a8) (2024-01-08)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a7...V0.1.0a8)

**Implemented enhancements:**

- refactor/ocp\_utils [\#216](https://github.com/OpenVoiceOS/ovos-utils/pull/216) ([NeonJarbas](https://github.com/NeonJarbas))

## [V0.1.0a7](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a7) (2024-01-06)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a6...V0.1.0a7)

**Merged pull requests:**

- refactor/ocp\_utils [\#215](https://github.com/OpenVoiceOS/ovos-utils/pull/215) ([NeonJarbas](https://github.com/NeonJarbas))

## [V0.1.0a6](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a6) (2023-12-30)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a5...V0.1.0a6)

**Implemented enhancements:**

- Feat/ovos logs script [\#203](https://github.com/OpenVoiceOS/ovos-utils/pull/203) ([emphasize](https://github.com/emphasize))

## [V0.1.0a5](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a5) (2023-12-30)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a4...V0.1.0a5)

**Merged pull requests:**

- fix/log\_spam [\#213](https://github.com/OpenVoiceOS/ovos-utils/pull/213) ([JarbasAl](https://github.com/JarbasAl))

## [V0.1.0a4](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a4) (2023-12-29)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.1.0a3...V0.1.0a4)

## [V0.1.0a3](https://github.com/OpenVoiceOS/ovos-utils/tree/V0.1.0a3) (2023-12-29)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-utils/compare/V0.0.38...V0.1.0a3)



Expand Down
87 changes: 87 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# OVOS-utils

collection of simple utilities for use across the mycroft ecosystem

## Install

```bash
pip install ovos_utils
```

## Commandline scripts
### ovos-logs
Small helper tool to quickly navigate the logs, create slices and quickview errors

---------------
- **ovos-logs slice [options]**

**Slice logs of a given time period. Defaults on the last service start (`-s`) until now (`-u`)**

_Different logs can be picked using the `-l` option. All logs will be included if not specified._
_Optionally the directory where the logs are stored (`-p`) and the file where the slices should be dumped (`-f`) can be specified._


_[ex: `ovos-logs slice`]_
<sup>_Slice all logs from service start up until now._</sup>

_[ex: `ovos-logs slice -s 17:05:20 -u 17:05:25`]_
<sup>_Slice all logs from 17:05:20 until 17:05:25._</sup>
<sup>_**no logs in that timeframe in other present logs_</sup>
<img width="1898" alt="Screenshot 2023-12-25 185004" src="https://github.com/emphasize/ovos-utils/assets/25036977/c7918bd6-0e13-46af-8016-55486b9a786e">

_[ex: `ovos-logs slice -s 17:05:20 -u 17:05:25 -l skills`]_
<sup>_Slice skills.log from 17:05:20 until 17:05:25._</sup>

_[ex: `ovos-logs slice -s 17:05:20 -u 17:05:25 -f ~/testslice.log`]_
<sup>_Slice the logs from 17:05:20 until 17:05:25 on all log files and dump the slices in the file ~/testslice.log (default: `~/slice_<timestamp>.log`)._</sup>
<img width="1246" alt="Screenshot 2023-12-25 190732" src="https://github.com/emphasize/ovos-utils/assets/25036977/dda99d8a-2739-4872-b81a-f44902b43d7d">
--------------

- **ovos-logs list [-e|-w|-d|-x] [options]**

**List logs by severity (error/warning/debug/exception). A log level has to be specified - more than one can be listed**

_A start and end date can be specified using the `-s` and `-u` options. Defaults to the last service start until now._
_Different logs can be picked using the `-l` option. All logs will be included if not specified._
_Optionally, the directory where the logs are stored (`-p`) and the file where the slices should be dumped (`-f`) can be passed as arguments._

_[ex: `ovos-logs list -x`]_
<sup>_List the logs with level EXCEPTION (plus tracebacks) from the last service start until now._</sup>
<img width="992" alt="Screenshot 2023-12-25 184321" src="https://github.com/emphasize/ovos-utils/assets/25036977/da8be23a-4268-4647-8dd3-32c1a889440c">

_[ex: `ovos-logs list -w -e -s 20-12-2023 -l bus -l skills`]_
<sup>_List the logs with level WARNING and ERROR from the 20th of December 2023 until now from the logs bus.log and skills.log._</sup>
<img width="1898" alt="Screenshot 2023-12-25 173739" src="https://github.com/emphasize/ovos-utils/assets/25036977/c5703195-4393-4989-ae40-b37638438c92">
---------------------

- **ovos-logs reduce [options]**

**Downsize logs to a given size (in bytes) or remove entries before a given date.**

_Different logs can be included using the `-l` option. If not specified, all logs will be included._
_Optionally the directory where the logs are stored (`-p`) can be specified._

_[ex: `ovos-logs reduce`]_
<sup>_Downsize all logs to 0 bytes_</sup>

_[ex: `ovos-logs reduce -s 1000000`]_
<sup>_Downsize all logs to ~1MB (latest logs)_</sup>

_[ex: `ovos-logs reduce -d "1-12-2023 17:00"`]_
<sup>_Downsize all logs to entries after the specified date/time_</sup>

_[ex: `ovos-logs reduce -s 1000000 -l skills -l bus`]_
<sup>_Downsize skills.log and bus.log to ~1MB (latest logs)_</sup>

---------------------

- **ovos-logs show -l [servicelog]**

**Show logs**

_[ex: `ovos-logs show -l bus`]_
<sup>_Show the logs from bus.log._</sup>

_[ex: wrong servicelog]_
<sup>_**logs shown depending on the logs present in the folder_</sup>

26 changes: 0 additions & 26 deletions examples/change_wakeword.py

This file was deleted.

10 changes: 0 additions & 10 deletions examples/core_status.py

This file was deleted.

29 changes: 0 additions & 29 deletions examples/count_utterances.py

This file was deleted.

Loading
Loading