Skip to content

Commit 24d5a0e

Browse files
authored
Merge pull request #348 from gardenlinux/docs/new-readme
Docs: Rework Readme
2 parents 995886a + f480ef0 commit 24d5a0e

2 files changed

Lines changed: 82 additions & 47 deletions

File tree

README.md

Lines changed: 34 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1+
## Garden Linux Python Library
2+
13
![poetry build](https://github.com/gardenlinux/parse_features_lib/actions/workflows/build.yml/badge.svg)
24
![Black Lint](https://github.com/gardenlinux/parse_features_lib/actions/workflows/black.yml/badge.svg)
35
![Test](https://github.com/gardenlinux/parse_features_lib/actions/workflows/pytests.yml/badge.svg)
46
![security check](https://github.com/gardenlinux/parse_features_lib/actions/workflows/bandit.yml/badge.svg)
57

6-
## Garden Linux Python Library
7-
8-
Python tooling to work with [Garden Linux](https://github.com/gardenlinux/gardenlinux) features, flavors, OCI artifacts, repositories, and releases.
9-
It is primarily targeted at Garden Linux developers and CI pipelines rather than end users.
8+
Python tooling to work with
9+
[Garden Linux](https://github.com/gardenlinux/gardenlinux) features, flavors,
10+
OCI artifacts, repositories, and releases. It is primarily targeted at Garden
11+
Linux developers and CI pipelines rather than end users.
1012

11-
The library follows the intent of [Semantic Versioning](https://semver.org) for its public APIs.
13+
The library follows the intent of [Semantic Versioning](https://semver.org) for
14+
its public APIs.
1215

1316
### Features
1417

@@ -21,59 +24,45 @@ The library follows the intent of [Semantic Versioning](https://semver.org) for
2124

2225
## Documentation
2326

24-
Full documentation is available at the **Garden Linux Python Library Documentation** site:
25-
[https://gardenlinux.github.io/python-gardenlinux-lib/](https://gardenlinux.github.io/python-gardenlinux-lib/)
26-
27-
The docs include:
28-
29-
- **Command-Line Interface**: `gl-features-*`, `gl-flavors-*`, `gl-oci`, `gl-s3`, `gl-gh-release`
30-
- **API Reference**: modules, classes, and functions (e.g. `Parser`, `CName`, `Container`, `Repository`)
31-
- **Release documentation**: versioning and release process
32-
33-
## Installation
27+
You can find a full documentation about how to
28+
[install this python library](https://gardenlinux-docs.netlify.app/reference/supporting_tools/python-gardenlinux-lib.html#installation)
29+
and
30+
[use its CLI interface](https://gardenlinux-docs.netlify.app/reference/python-gardenlinux-lib-cli.html)
31+
this on our [documentation hub](https://gardenlinux-docs.netlify.app/).
3432

35-
### Using `poetry` (from Git)
33+
For a detailed API documentation, check
34+
[gardenlinux.github.io/python-gardenlinux-lib/api.html](https://gardenlinux.github.io/python-gardenlinux-lib/)
3635

37-
Add the library as a dependency in your `pyproject.toml`:
36+
# Community
3837

39-
```toml
40-
[tool.poetry.dependencies]
41-
gardenlinux = { git = "https://github.com/gardenlinux/python-gardenlinux-lib", rev = "0.10.5" }
42-
```
38+
To stay up-to-date with recent news about Gardenlinux, subscribe to our mailing
39+
list:
4340

44-
Then install:
41+
https://lists.neonephos.org/g/gardenlinux-discussion
4542

46-
```bash
47-
poetry install
48-
```
43+
For updates and statements regarding security issues, we have a security mailing
44+
list for you:
4945

50-
### Local development setup
46+
https://lists.neonephos.org/g/gardenlinux-security
5147

52-
```bash
53-
git clone https://github.com/gardenlinux/python-gardenlinux-lib.git
54-
cd python-gardenlinux-lib
55-
python -m venv venv
56-
source venv/bin/activate
57-
poetry install
58-
```
48+
For embargoed security related topics, this list is for you:
5949

60-
## Quickstart
50+
https://lists.neonephos.org/g/gardenlinux-security-embargo
6151

62-
### Example: list features for a given `cname`
52+
# Contributing
6353

64-
```python
65-
from gardenlinux.features import Parser
54+
We welcome your contributions to Gardenlinux or any supporting projects.
6655

67-
cname = "aws-gardener_prod"
68-
feature_list = Parser().filter_as_list(cname)
56+
To find our more, visit our
57+
[Contributor Documentation](https://gardenlinux-docs.netlify.app/contributing).
6958

70-
print(f"features of {cname}:")
71-
for feature in feature_list:
72-
print(feature)
73-
```
59+
## Licensing
7460

75-
For more examples and for all CLI tools, see the **Command-Line Interface** and **API Reference** sections in the docs:
76-
[https://gardenlinux.github.io/python-gardenlinux-lib/](https://gardenlinux.github.io/python-gardenlinux-lib/)
61+
Copyright 2025 SAP SE or an SAP affiliate company and GardenLinux contributors.
62+
Please see our [LICENSE](LICENSE.md) for copyright and license information.
63+
Detailed information including third-party components and their
64+
licensing/copyright information is available
65+
[via the REUSE tool](https://reuse.software).
7766

7867
<p align="center">
7968
<img alt="Bundesministerium für Wirtschaft und Energie (BMWE)-EU funding logo" src="https://apeirora.eu/assets/img/BMWK-EU.png" width="400"/>

docs/overview/index.md

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,59 @@ interacting with Garden Linux components. It includes:
3232
- **S3 Integration**: Upload and download artifacts from S3 buckets
3333
- **GitHub Integration**: Create and manage GitHub releases with release notes
3434

35+
## Installation
36+
37+
### Using `poetry` (from Git)
38+
39+
Add the library as a dependency in your `pyproject.toml`:
40+
41+
```toml
42+
[tool.poetry.dependencies]
43+
gardenlinux = { git = "https://github.com/gardenlinux/python-gardenlinux-lib", rev = "0.10.5" }
44+
```
45+
46+
Then install:
47+
48+
```bash
49+
poetry install
50+
```
51+
52+
### Local development setup
53+
54+
```bash
55+
git clone https://github.com/gardenlinux/python-gardenlinux-lib.git
56+
cd python-gardenlinux-lib
57+
python -m venv venv
58+
source venv/bin/activate
59+
poetry install
60+
```
61+
62+
## Quickstart
63+
64+
### Example: list features for a given `cname`
65+
66+
```python
67+
from gardenlinux.features import Parser
68+
69+
cname = "aws-gardener_prod"
70+
feature_list = Parser().filter_as_list(cname)
71+
72+
print(f"features of {cname}:")
73+
for feature in feature_list:
74+
print(feature)
75+
```
76+
77+
For more examples and for all CLI tools, see the **Command-Line Interface** and
78+
**API Reference** sections in the docs:
79+
[https://gardenlinux.github.io/python-gardenlinux-lib/](https://gardenlinux.github.io/python-gardenlinux-lib/)
80+
3581
## Quick Start
3682

3783
### Command-Line Interface
3884

3985
The library provides several command-line tools for common operations. See the
40-
[Command-Line Interface documentation](/reference/python-gardenlinux-lib-cli.md) for detailed
41-
information about all available commands.
86+
[Command-Line Interface documentation](/reference/python-gardenlinux-lib-cli.md)
87+
for detailed information about all available commands.
4288

4389
### Release Management
4490

0 commit comments

Comments
 (0)