typst-pkg-sync 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/PKG-INFO +10 -8
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/README.md +7 -5
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/pyproject.toml +3 -3
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/pyproject.toml.orig +3 -3
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/src/typst_pkg_sync/cli.py +3 -3
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/LICENSE +0 -0
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/src/typst_pkg_sync/__init__.py +0 -0
- {typst_pkg_sync-0.1.0 → typst_pkg_sync-0.2.0}/src/typst_pkg_sync/__main__.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: typst-pkg-sync
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Sync tagged Typst packages from GitHub, GitLab, and Codeberg
|
|
5
5
|
Author: Jan-Philipp Reßler
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
License-File: LICENSE
|
|
8
8
|
Requires-Python: >=3.14
|
|
9
|
-
Project-URL: Repository, https://codeberg.org/ressler/
|
|
10
|
-
Project-URL: Issues, https://codeberg.org/ressler/
|
|
9
|
+
Project-URL: Repository, https://codeberg.org/ressler/typst-pkg-sync
|
|
10
|
+
Project-URL: Issues, https://codeberg.org/ressler/typst-pkg-sync/issues
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
|
|
13
13
|
# typst-pkg-sync
|
|
@@ -34,16 +34,15 @@ uv tool install .
|
|
|
34
34
|
|
|
35
35
|
## Configure
|
|
36
36
|
|
|
37
|
-
On its first run, typst-pkg-sync creates `~/.config/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
file explicitly:
|
|
37
|
+
On its first run, typst-pkg-sync creates `~/.config/typst-pkg-sync/config.toml`
|
|
38
|
+
and exits. Edit the file to add repositories, then run `typst-pkg-sync` again.
|
|
39
|
+
Alternatively, select a config file explicitly:
|
|
41
40
|
|
|
42
41
|
```sh
|
|
43
42
|
typst-pkg-sync --config /path/to/config.toml
|
|
44
43
|
```
|
|
45
44
|
|
|
46
|
-
See the [example configuration](https://codeberg.org/ressler/
|
|
45
|
+
See the [example configuration](https://codeberg.org/ressler/typst-pkg-sync/src/branch/main/config_example.toml)
|
|
47
46
|
for examples, including a self-hosted GitLab repository. GitLab entries can
|
|
48
47
|
set `base_url` and an optional `token_env` per repository.
|
|
49
48
|
|
|
@@ -61,4 +60,7 @@ prefix on a tag is removed from the installed version directory.
|
|
|
61
60
|
Run the sample configuration with `just run` and the code-quality checks with
|
|
62
61
|
`just check`.
|
|
63
62
|
|
|
63
|
+
To release a new version run the recipes `publish` and `tag`. See what they do
|
|
64
|
+
before running them.
|
|
65
|
+
|
|
64
66
|
typst-pkg-sync is licensed under MIT; see [LICENSE](LICENSE).
|
|
@@ -22,16 +22,15 @@ uv tool install .
|
|
|
22
22
|
|
|
23
23
|
## Configure
|
|
24
24
|
|
|
25
|
-
On its first run, typst-pkg-sync creates `~/.config/
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
file explicitly:
|
|
25
|
+
On its first run, typst-pkg-sync creates `~/.config/typst-pkg-sync/config.toml`
|
|
26
|
+
and exits. Edit the file to add repositories, then run `typst-pkg-sync` again.
|
|
27
|
+
Alternatively, select a config file explicitly:
|
|
29
28
|
|
|
30
29
|
```sh
|
|
31
30
|
typst-pkg-sync --config /path/to/config.toml
|
|
32
31
|
```
|
|
33
32
|
|
|
34
|
-
See the [example configuration](https://codeberg.org/ressler/
|
|
33
|
+
See the [example configuration](https://codeberg.org/ressler/typst-pkg-sync/src/branch/main/config_example.toml)
|
|
35
34
|
for examples, including a self-hosted GitLab repository. GitLab entries can
|
|
36
35
|
set `base_url` and an optional `token_env` per repository.
|
|
37
36
|
|
|
@@ -49,4 +48,7 @@ prefix on a tag is removed from the installed version directory.
|
|
|
49
48
|
Run the sample configuration with `just run` and the code-quality checks with
|
|
50
49
|
`just check`.
|
|
51
50
|
|
|
51
|
+
To release a new version run the recipes `publish` and `tag`. See what they do
|
|
52
|
+
before running them.
|
|
53
|
+
|
|
52
54
|
typst-pkg-sync is licensed under MIT; see [LICENSE](LICENSE).
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "typst-pkg-sync"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
requires-python = ">=3.14"
|
|
9
9
|
description = "Sync tagged Typst packages from GitHub, GitLab, and Codeberg"
|
|
10
10
|
readme = "README.md"
|
|
@@ -16,8 +16,8 @@ dependencies = []
|
|
|
16
16
|
name = "Jan-Philipp Reßler"
|
|
17
17
|
|
|
18
18
|
[project.urls]
|
|
19
|
-
Repository = "https://codeberg.org/ressler/
|
|
20
|
-
Issues = "https://codeberg.org/ressler/
|
|
19
|
+
Repository = "https://codeberg.org/ressler/typst-pkg-sync"
|
|
20
|
+
Issues = "https://codeberg.org/ressler/typst-pkg-sync/issues"
|
|
21
21
|
|
|
22
22
|
[project.scripts]
|
|
23
23
|
typst-pkg-sync = "typst_pkg_sync.cli:main"
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "typst-pkg-sync"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
requires-python = ">=3.14"
|
|
9
9
|
description = "Sync tagged Typst packages from GitHub, GitLab, and Codeberg"
|
|
10
10
|
readme = "README.md"
|
|
@@ -14,8 +14,8 @@ authors = [{ name = "Jan-Philipp Reßler" }]
|
|
|
14
14
|
dependencies = []
|
|
15
15
|
|
|
16
16
|
[project.urls]
|
|
17
|
-
Repository = "https://codeberg.org/ressler/
|
|
18
|
-
Issues = "https://codeberg.org/ressler/
|
|
17
|
+
Repository = "https://codeberg.org/ressler/typst-pkg-sync"
|
|
18
|
+
Issues = "https://codeberg.org/ressler/typst-pkg-sync/issues"
|
|
19
19
|
|
|
20
20
|
[project.scripts]
|
|
21
21
|
typst-pkg-sync = "typst_pkg_sync.cli:main"
|
|
@@ -34,7 +34,7 @@ from pathlib import Path
|
|
|
34
34
|
# Constants
|
|
35
35
|
# ---------------------------------------------------------------------------
|
|
36
36
|
|
|
37
|
-
CONFIG_DIR = Path.home() / ".config" / "
|
|
37
|
+
CONFIG_DIR = Path.home() / ".config" / "typst-pkg-sync"
|
|
38
38
|
CONFIG_FILE = CONFIG_DIR / "config.toml"
|
|
39
39
|
DEFAULT_BASE_DIR = Path.home() / ".local/share/typst/packages"
|
|
40
40
|
|
|
@@ -111,11 +111,11 @@ tags = "all"
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
def log_info(msg: str) -> None:
|
|
114
|
-
print(f"\033[32m[INFO]\033[0m
|
|
114
|
+
print(f"\033[32m[INFO]\033[0m {msg}")
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
def log_warn(msg: str) -> None:
|
|
118
|
-
print(f"\033[33m[WARN]\033[0m
|
|
118
|
+
print(f"\033[33m[WARN]\033[0m {msg}")
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
def log_error(msg: str) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|