Skip to content

Commit 06f9dac

Browse files
authored
Merge pull request #33 from openSUSE/release/0.10.0
Release 0.10.0
2 parents bfaa74b + b814de5 commit 06f9dac

38 files changed

Lines changed: 353 additions & 86 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ __pycache__/
1111
# Distribution / packaging
1212
.Python
1313
/build/
14+
/docs/build/
1415
develop-eggs/
1516
/dist/
1617
downloads/

CHANGELOG.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,51 @@ Changes for the upcoming release can be found in the
2020

2121
.. towncrier release notes start
2222
23+
Version 0.10.0
24+
==============
25+
26+
Bug Fixes
27+
---------
28+
29+
- Replace placeholders in :command:`cli` main command. This ensures that the placeholders in the environment or application configuration are replaced before the subcommands are executed. This is necessary because the subcommands might rely on these placeholders being resolved. (:gh:`20`)
30+
- Correctly convert ``'*'`` for products in :func:`docbuild.model.doctype.Doctype.xpath`
31+
32+
An XPath ``//*`` created a syntactically correct XPath, but with an
33+
additional and unnecessary ``[@productid='*']`` predicate. (:gh:`31`)
34+
35+
36+
Improved Documentation
37+
----------------------
38+
39+
- Docs: Improve development and user docs (:gh:`18`)
40+
41+
42+
Features
43+
--------
44+
45+
- Implement cloning of Git repositories
46+
47+
All repos are "bare" clones, meaning they do not have a working directory.
48+
This was needed to avoid issues with branches.
49+
50+
The internal logic is available through some CLI commands:
51+
52+
* :command:`docbuild repo clone` - Clone a repository into the permanent storage.
53+
With the help of the :class:`~docbuild.cli.models.repo.Repo` class,
54+
it can handle different notations of repositories, such as HTTP URLs, SSH URLS, or abbreviated URLs (like ``gh://org/repo``).
55+
* :command:`docbuild repo dir` - Shows the directory path for permanent storage.
56+
This is useful for debugging and manual operations.
57+
* :command:`docbuild repo list` - List all repositories in the permanent storage. (:gh:`3`)
58+
- Support ``.xpath`` method in :class:`~docbuild.model.doctype.Doctype` (:gh:`23`)
59+
60+
61+
Code Refactoring
62+
----------------
63+
64+
- Introduce new :file:`callback.py` file to separate :func:`validate_doctypes` function from the build command. (:gh:`19`)
65+
- Refactor subcommands into packages (:gh:`30`)
66+
67+
2368
Version 0.9.0
2469
=============
2570

changelog.d/18.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/19.refactor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/20.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/23.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/3.feature.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

changelog.d/30.refactor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog.d/31.bugfix.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/source/developer/run-testsuite.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Running the Test Suite
22
======================
33

4-
To run the test suite for this project, you need to have completed the setup of your development environment as described in the :ref:`prepare-your-devel-environment` topic.
4+
To run the test suite for this project, you need to have completed the setup of your development environment as described in the :ref:`prepare-devel-env` topic.
55

66
To run the full test suite, use the following command:
77

0 commit comments

Comments
 (0)