-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #457 from ciromattia/beta_release_merge_rebased
Beta release merge rebased
- Loading branch information
Showing
27 changed files
with
11,158 additions
and
9,584 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.git | ||
.github | ||
build | ||
dist | ||
KindleComicConverter.egg-info | ||
.dockerignore | ||
.gitignore | ||
.travis.yml | ||
Dockerfile | ||
other | ||
venv | ||
*.md | ||
LICENSE.txt | ||
MANIFEST.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Enable version updates for Docker | ||
- package-ecosystem: "docker" | ||
# Look for a `Dockerfile` in the `root` directory | ||
directory: "/" | ||
# Check for updates once a week | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "beta_release" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "beta_release" ] | ||
schedule: | ||
- cron: '42 22 * * 3' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'python' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Docker | ||
|
||
on: | ||
workflow_dispatch: | ||
#schedule: | ||
# - cron: '39 5 * * *' | ||
push: | ||
# branches: [ master, pipeline_test, docker_test ] | ||
# Publish semver tags as releases. | ||
tags: [ 'v*.*.*' ] | ||
|
||
# Don't trigger if it's just a documentation update | ||
paths-ignore: | ||
- '**.md' | ||
- '**.MD' | ||
- '**.yml' | ||
- 'docs/**' | ||
- 'LICENSE' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.dockerignore' | ||
|
||
|
||
jobs: | ||
build_and_push: | ||
uses: sdr-enthusiasts/common-github-workflows/.github/workflows/build_and_push_image.yml@main | ||
with: | ||
platform_linux_arm32v7_enabled: true | ||
platform_linux_arm64v8_enabled: true | ||
platform_linux_amd64_enabled: true | ||
push_enabled: true | ||
build_nohealthcheck: false | ||
ghcr_repo_owner: ${{ github.repository_owner }} | ||
ghcr_repo: ${{ github.repository }} | ||
secrets: | ||
ghcr_token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: build KCC for Linux | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
# Don't trigger if it's just a documentation update | ||
paths-ignore: | ||
- '**.md' | ||
- '**.MD' | ||
- '**.yml' | ||
- '**.sh' | ||
- 'docs/**' | ||
- 'Dockerfile' | ||
- 'LICENSE' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.dockerignore' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
cache: 'pip' | ||
- name: Install python dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libpng-dev libjpeg-dev p7zip-full python3-pyqt5 squashfs-tools | ||
python -m pip install --upgrade pip setuptools wheel pyinstaller | ||
pip install -r requirements.txt | ||
- name: build binary | ||
run: | | ||
python setup.py build_binary | ||
chmod +x dist/kcc_linux* | ||
- name: upload build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: linux-build | ||
path: dist/kcc_linux* | ||
# issue with this action, disabled and commented out | ||
# see https://github.com/AppImageCrafters/build-appimage/issues/5 | ||
# see https://appimage-builder.readthedocs.io/en/latest/intro/install.html#install-appimagetool | ||
# - name: Build AppImage | ||
# uses: AppImageCrafters/build-appimage-action@master | ||
# env: | ||
# UPDATE_INFO: gh-releases-zsync|ciromattia|kcc|latest|*x86_64.AppImage.zsync | ||
# with: | ||
# recipe: AppImageBuilder.yml | ||
- name: Build AppImage | ||
run: | | ||
wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage | ||
chmod +x appimage-builder-x86_64.AppImage | ||
sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder | ||
appimage-builder --recipe AppImageBuilder.yml --skip-test | ||
env: | ||
UPDATE_INFO: gh-releases-zsync|ciromattia|kcc|latest|*x86_64.AppImage.zsync | ||
|
||
- name: upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: AppImage | ||
path: './*.AppImage*' | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
prerelease: true | ||
generate_release_notes: true | ||
files: | | ||
CHANGELOG.md | ||
LICENSE.txt | ||
dist/kcc_linux* | ||
*.AppImage* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: build KCC for mac os | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
# Don't trigger if it's just a documentation update | ||
paths-ignore: | ||
- '**.md' | ||
- '**.MD' | ||
- '**.yml' | ||
- '**.sh' | ||
- 'docs/**' | ||
- 'Dockerfile' | ||
- 'LICENSE' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.dockerignore' | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
cache: 'pip' | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel pyinstaller | ||
pip install -r requirements.txt | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: npm install -g appdmg | ||
- name: build binary | ||
run: | | ||
python setup.py build_binary | ||
- name: upload build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: mac-os-build | ||
path: dist/*.dmg | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
prerelease: true | ||
generate_release_notes: true | ||
files: | | ||
CHANGELOG.md | ||
LICENSE.txt | ||
dist/*.dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: build KCC for windows | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
# Don't trigger if it's just a documentation update | ||
paths-ignore: | ||
- '**.md' | ||
- '**.MD' | ||
- '**.yml' | ||
- '**.sh' | ||
- 'docs/**' | ||
- 'Dockerfile' | ||
- 'LICENSE' | ||
- '.gitattributes' | ||
- '.gitignore' | ||
- '.dockerignore' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
cache: 'pip' | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel pyinstaller | ||
pip install -r requirements.txt | ||
- name: build binary | ||
run: | | ||
python setup.py build_binary | ||
- name: upload build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: windows-build | ||
path: dist/*.exe | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
prerelease: true | ||
generate_release_notes: true | ||
files: | | ||
CHANGELOG.md | ||
LICENSE.txt | ||
dist/*.exe |
Oops, something went wrong.