Skip to content

Commit

Permalink
fix: Rename project from containers-sugar to sugar and improve docs (#98
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xmnlab authored Dec 13, 2023
1 parent 256c8e0 commit 45c51bb
Show file tree
Hide file tree
Showing 35 changed files with 295 additions and 304 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* containers-sugar version:
* sugar version:
* Python version:
* Operating System:

Expand Down
6 changes: 3 additions & 3 deletions .makim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ groups:
targets:
build:
help: Build the documentation
run: mkdocs build --config-file docs/mkdocs.yaml
run: mkdocs build --config-file mkdocs.yaml

preview:
help: Preview the documentation
dependencies:
- target: docs-build
run: mkdocs serve --watch docs --config-file docs/mkdocs.yam
- target: docs.build
run: mkdocs serve --watch docs --config-file mkdocs.yaml

package:
help: helper commands for handling the package
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
name: mypy
entry: mypy
language: system
files: "src/containers_sugar/"
files: "src/sugar/"
pass_filenames: true
types:
- python
Expand All @@ -52,7 +52,7 @@ repos:
name: vulture
entry: vulture
language: system
files: "src/containers_sugar/"
files: "src/sugar/"
description: Find unused Python code.
pass_filenames: true
types:
Expand Down
6 changes: 3 additions & 3 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
{
"replacements": [
{
"files": ["src/containers_sugar/__init__.py"],
"files": ["src/sugar/__init__.py"],
"from": "__version__ = '.*' # semantic-release",
"to": "__version__ = '${nextRelease.version}' # semantic-release",
"results": [
{
"file": "src/containers_sugar/__init__.py",
"file": "src/sugar/__init__.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
Expand Down Expand Up @@ -65,7 +65,7 @@
"assets": [
"pyproject.toml",
"docs/changelog.md",
"src/containers_sugar/__init__.py"
"src/sugar/__init__.py"
],
"message": "chore(release): ${nextRelease.version}"
}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"python.formatting.blackPath": "/home/xmn/mambaforge/envs/containers-sugar/bin/blue",
"python.formatting.blackPath": "/home/xmn/mambaforge/envs/sugar/bin/blue",
"python.formatting.provider": "black"
}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# containers-sugar
# sugar

Simplify the usage of containers.

Expand All @@ -23,7 +23,7 @@ configuration file. So the command line would be very simple.


* Free software: BSD 3 Clause
* Documentation: https://osl-incubator.github.io/containers-sugar
* Documentation: https://osl-incubator.github.io/sugar


## Features
Expand Down Expand Up @@ -68,7 +68,7 @@ The current available **ext** commands are:

## How to use it

First you need to place the config file `.containers-sugar.yaml` in the root
First you need to place the config file `.sugar.yaml` in the root
of your project. This is an example of a configuration file:

```yaml
Expand Down Expand Up @@ -100,10 +100,10 @@ groups:
- name: service1
```
**NOTE**: containers-sugar has an convenient alias `sugar` that helps to
**NOTE**: sugar has an convenient alias `sugar` that helps to
keep the command line shorter, where **k** stands for *containers*,
**x** stands for *su* (*shu* sound), and **gr** stands for *gar*.
In another words, you can use `containers-sugar` or `sugar` CLI.
In another words, you can use `sugar` or `sugar` CLI.

Some examples of how to use it:

Expand Down
71 changes: 71 additions & 0 deletions artwork/poc/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions artwork/poc/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/v1/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/v1/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 45c51bb

Please sign in to comment.