plexer-cli 0.0.3__tar.gz → 0.0.3.post3__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.
Files changed (29) hide show
  1. plexer_cli-0.0.3/.github/workflows/release_docker_image.yml → plexer_cli-0.0.3.post3/.github/workflows/release.yml +33 -10
  2. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/=1.2 +1 -1
  3. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/PKG-INFO +1 -1
  4. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/main.py +1 -1
  5. plexer_cli-0.0.3/.github/workflows/release.yml +0 -72
  6. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.codacy.yml +0 -0
  7. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  8. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  9. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  10. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/dependabot.yml +0 -0
  11. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/workflows/openssf_scorecard.yml +0 -0
  12. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.github/workflows/run_full_test_suite.yml +0 -0
  13. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.gitignore +0 -0
  14. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/.pre-commit-config.yaml +0 -0
  15. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/CODE_OF_CONDUCT.md +0 -0
  16. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/Dockerfile +0 -0
  17. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/LICENSE +0 -0
  18. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/README.md +0 -0
  19. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/SECURITY.md +0 -0
  20. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/pyproject.toml +0 -0
  21. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/__init__.py +0 -0
  22. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/artifact.py +0 -0
  23. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/const.py +0 -0
  24. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/file_manager.py +0 -0
  25. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/src/plexer_cli/metadata.py +0 -0
  26. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/tests/conftest.py +0 -0
  27. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/tests/test_file_manager.py +0 -0
  28. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/tests/test_metadata.py +0 -0
  29. {plexer_cli-0.0.3 → plexer_cli-0.0.3.post3}/tox.ini +0 -0
@@ -1,22 +1,20 @@
1
- name: Release - Docker Images
1
+ name: Release
2
2
 
3
3
  on:
4
- release:
5
- types: [published]
4
+ push:
5
+ # run only against version tags
6
+ tags:
7
+ - 'v*'
6
8
 
7
9
  jobs:
8
- docker_release:
9
- name: Push Docker Image Release - ${{ github.ref_name }}
10
+ release:
11
+ name: Generate New Release - ${{ github.ref_name }}
10
12
  runs-on: ubuntu-latest
11
13
  environment: release
12
14
 
13
- strategy:
14
- matrix:
15
- container_repos: ["docker.io", "ghcr.io"]
16
-
17
15
  permissions:
18
16
  attestations: write
19
- contents: read
17
+ contents: write # needed to create GH Release
20
18
  id-token: write # IMPORTANT: this permission is mandatory for trusted publishing to PyPI
21
19
  packages: write # required for pushing image to GHCR
22
20
 
@@ -47,6 +45,31 @@ jobs:
47
45
  - name: Build dist artifacts
48
46
  run: hatch build
49
47
 
48
+ # PyPI Release
49
+ # required instead of using hatch due to usage of trusted publishers
50
+ - name: Publish to TestPyPI
51
+ uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
52
+ with:
53
+ repository-url: https://test.pypi.org/legacy/
54
+ print-hash: true
55
+ verbose: true
56
+
57
+ - name: Publish to PyPI
58
+ uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
59
+ with:
60
+ attestations: true
61
+
62
+ # Github Release
63
+ - name: Create Github Release
64
+ uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
65
+ with:
66
+ name:
67
+ files: |
68
+ dist/*
69
+ fail_on_unmatched_files: true
70
+ generate_release_notes: true
71
+ make_latest: true
72
+
50
73
  # Docker Release
51
74
  # REF: https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub-and-github-packages
52
75
  - name: Log in to Docker Hub
@@ -33,7 +33,7 @@ Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
33
33
  Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
34
34
  Downloading pyproject_api-1.8.0-py3-none-any.whl (13 kB)
35
35
  Downloading virtualenv-20.27.0-py3-none-any.whl (3.1 MB)
36
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 46.8 MB/s eta 0:00:00
36
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 146.4 MB/s eta 0:00:00
37
37
  Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
38
38
  Installing collected packages: distlib, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox, tox-gh
39
39
  Successfully installed cachetools-5.5.0 chardet-5.2.0 colorama-0.4.6 distlib-0.3.9 filelock-3.16.1 packaging-24.1 platformdirs-4.3.6 pluggy-1.5.0 pyproject-api-1.8.0 tox-4.23.0 tox-gh-1.4.4 virtualenv-20.27.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexer_cli
3
- Version: 0.0.3
3
+ Version: 0.0.3.post3
4
4
  Summary: Normalize media files for use with Plex Media Server
5
5
  Project-URL: Repository, https://github.com/magneticstain/plexer.git
6
6
  Project-URL: Documentation, https://github.com/magneticstain/plexer#readme
@@ -6,7 +6,7 @@ Main App Entrypoint
6
6
  """
7
7
 
8
8
  __author__ = "magneticstain"
9
- __version__ = "0.0.3"
9
+ __version__ = "0.0.3-3"
10
10
  __license__ = "MIT"
11
11
 
12
12
  import argparse
@@ -1,72 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- push:
5
- # run only against version tags
6
- tags:
7
- - 'v*'
8
-
9
- jobs:
10
- release:
11
- name: Generate New Release - ${{ github.ref_name }}
12
- runs-on: ubuntu-latest
13
- environment: release
14
-
15
- permissions:
16
- attestations: write
17
- contents: write # needed to create GH Release
18
- id-token: write # IMPORTANT: this permission is mandatory for trusted publishing to PyPI
19
- packages: write # required for pushing image to GHCR
20
-
21
- steps:
22
- - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
23
- with:
24
- fetch-depth: 0
25
-
26
- - name: Setup python for build
27
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
28
- with:
29
- python-version: "3.x"
30
-
31
- # run tests
32
- - name: Install tox
33
- run: python -m pip install tox-gh>=1.2
34
-
35
- - name: Setup test suite
36
- run: tox -vv --notest -e test
37
-
38
- - name: Run test suite
39
- run: tox --skip-pkg-install -e test
40
-
41
- # build and publish
42
- - name: Install Hatch
43
- run: pipx install hatch
44
-
45
- - name: Build dist artifacts
46
- run: hatch build
47
-
48
- # PyPI Release
49
- # required instead of using hatch due to usage of trusted publishers
50
- - name: Publish to TestPyPI
51
- uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
52
- with:
53
- repository-url: https://test.pypi.org/legacy/
54
- print-hash: true
55
- verbose: true
56
-
57
- - name: Publish to PyPI
58
- uses: pypa/gh-action-pypi-publish@897895f1e160c830e369f9779632ebc134688e1b # v1.10.2
59
- with:
60
- attestations: true
61
-
62
- # Github Release
63
- - name: Create Github Release
64
- uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
65
- with:
66
- name:
67
- files: |
68
- dist/*
69
- fail_on_unmatched_files: true
70
- generate_release_notes: true
71
- make_latest: true
72
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes