Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/publishing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on: push
jobs:
build:
name: Build
permissions:
contents: read
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install pypa/build
run: pip install build
- name: Build a binary wheel and a source tarball
Expand All @@ -22,16 +24,17 @@ jobs:
path: dist/

publish-to-pypi:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/perdoo
name: Publish to PyPI
permissions:
id-token: write
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest

permissions:
contents: read
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
Expand All @@ -40,10 +44,15 @@ jobs:
run: uv sync --group tests
- name: Run tests
run: uv run pytest

collector:
needs: [pytest]
if: always()
needs:
- pytest

permissions: { }
runs-on: ubuntu-latest

steps:
- name: Check for failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.11
rev: v0.12.4
hooks:
- id: ruff-format
- id: ruff-check
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


Perdoo is designed to assist in sorting and organizing your comic collection by utilizing metadata files stored within comic archives.\
Perdoo standardizes all your digital comics into a unified format (cb7, cbt, or cbz).\
Perdoo standardizes all your digital comics into a unified format (cbz).\
It adds and/or updates metadata files using supported services.\
Unlike other tagging tools, Perdoo employs a manual approach when metadata files are absent, prompting users to enter the necessary Publisher/Series/Issue details for search purposes.

Expand Down Expand Up @@ -62,12 +62,6 @@ Unlike other tagging tools, Perdoo employs a manual approach when metadata files
<!-- RICH-CODEX hide_command: true -->
![`uv run Perdoo settings locate --help`](docs/img/perdoo-settings-locate.svg)

</details>
<details><summary>Perdoo settings update</summary>

<!-- RICH-CODEX hide_command: true -->
![`uv run Perdoo settings update --help`](docs/img/perdoo-settings-update.svg)

</details>

## Supported Formats
Expand All @@ -81,9 +75,7 @@ Unlike other tagging tools, Perdoo employs a manual approach when metadata files

### Output Extensions

- .cbt
- .cbz _(Default)_
- .cb7 _(Requires installing `cb7` dependencies: `pipx install perdoo[cb7]`)_
- .cbz

### Metadata Files

Expand Down
108 changes: 49 additions & 59 deletions docs/img/perdoo-archive-view.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 49 additions & 73 deletions docs/img/perdoo-commands.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
174 changes: 49 additions & 125 deletions docs/img/perdoo-import.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 53 additions & 41 deletions docs/img/perdoo-settings-locate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading