Skip to content
Snippets Groups Projects
Commit e04545ff authored by Genial-O's avatar Genial-O
Browse files

misc: merge release 25.0.0

parents c96fcb34 eafd3e05
Branches
Tags 25.1.0.beta
No related merge requests found
Pipeline #320394 passed
# sight 25.0.0
## Bug fixes:
### build
*Bad report generated by code coverage CLI helper.*
This commit addresses several issues and improvements in the algorithm and CLI functionality for generating code coverage reports. Specifically, it fixes the method of identifying the development branch artifact by iterating through all dev branch pipelines and validating their git SHA and coverage job availability.
A `--verbose` option has been added to the CLI for detailed output. Furthermore, the codebase has transitioned from using `os.path` to `pathlib.Path`, simplifying path manipulations.
Additionally, it updates the `python-gitlab` library from version 4.10.0 to 5.3.1 in the requirements.
### ci
*An unexpected encoding exception in code coverage CLI helper.*
*Do not reflow comment with newer versions of uncrustify.*
## Enhancement:
### build
*Improve Windows experience.*
* Launching sheldon from PowerShell or cmd is now possible by executing command line sheldon or sheldon.bat
* Launching sheldon --help no longer produce an error
* Adding howto install Chocolatey and UniGetUI in README
### ci
*Fixed issues with properties parsing.*
*Add support for properties in check_xml hook.*
## New features:
### ci
*Add sight-cov utility to download coverage reports.*
A new CLI is available, `sight-cov.py`. Here is the synopsis:
```shell
usage: sight-cov.py [-h] [-d] [--html] repository merge-request
Download the code coverage report from the latest pipeline of a merge-request.
positional arguments:
repository Name of the repository: "sight", "night", or any private repository.
merge-request Identifier of the merge-request, same as the one present in its URL.
options:
-h, --help show this help message and exit
-d, --diff Compute the diff of the coverage with the dev branch.
--html Html output instead of text.
```
Here is the output of the utility:
```shell
# ~/dev/sight/sight-git/sight-cov.py -d sight 470 --html
Downloading merge-request !470 artifacts for project sight...
Coverage report is available at:
file:///home/user/dev/sight/.coverage/sight%21470%23301939/coverage/index.html
Downloading dev branch artifacts for project sight
Diff coverage report is available at:
file:///home/user/dev/sight/.coverage/report.html
```
# sight 24.1.0
## Bug fixes:
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment