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
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# available at https://github.com/gt-sse-center/copier-UvScaffolding.
#

_commit: v0.3.4
_commit: v0.5.6
_src_path: .
author_email: github@DavidBrownell.com
author_name: David Brownell
Expand All @@ -15,6 +15,7 @@ coverage_badge_gist_username: davidbrownell
github_host: https://github.com
github_repo_name: FileBackup
github_username: davidbrownell
install_ty: false
license: MIT
project_name: FileBackup
python_package_name: FileBackup
Expand Down
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
4. Invoke via '....'
5. See error

## Expected behavior
A clear and concise description of what you expected to happen.
Expand All @@ -25,7 +26,7 @@ If applicable, add screenshots to help explain your problem.

## Environment (please complete the following information):
- OS: [e.g. iOS]
- Python Version: [e.g. 3.13, 3.12, 3.11, etc.]
- Python Version: [e.g. 3.14, 3.13, 3.12, 3.11, etc.]
- FileBackup Version [e.g. 1.2.3]

## Additional context
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/release_impl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ runs:
using: composite
steps:
- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: false # No uv.lock or requirements.txt files, so nothing to cache on

- name: Download Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: dist
merge-multiple: true
Expand All @@ -59,7 +59,7 @@ runs:
# Commit code coverage
- name: Create Code Coverage Badge
if: ${{ inputs.coverage_badge_gist_token != '' && inputs.coverage_badge_gist_id != '' }}
uses: schneegans/dynamic-badges-action@v1.7.0
uses: schneegans/dynamic-badges-action@v1.8.0
with:
auth: ${{ inputs.coverage_badge_gist_token }}
gistID: ${{ inputs.coverage_badge_gist_id }}
Expand Down Expand Up @@ -102,7 +102,7 @@ runs:

- name: Upload Signatures
if: ${{ inputs.minisign_private_key != '' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: Minisign signatures
path: ./dist/*.minisig
Expand Down
39 changes: 21 additions & 18 deletions .github/workflows/CICD_impl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python_version }}
enable-cache: true
Expand All @@ -78,7 +78,7 @@ jobs:
COVERAGE_FILE: .coverage.${{ matrix.os }}.${{ matrix.python_version }}

- name: Upload Coverage Data
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: .coverage.${{ matrix.os }}.${{ matrix.python_version }}
path: .coverage.${{ matrix.os }}.${{ matrix.python_version }}
Expand All @@ -98,18 +98,18 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Install Dependencies
run: uv sync --frozen

- name: Download Coverage Data
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
merge-multiple: true

Expand All @@ -126,7 +126,7 @@ jobs:
echo "**Total coverage:** ${TOTAL}%" >> $GITHUB_STEP_SUMMARY

- name: Upload Coverage Data
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: .coverage.json
path: .coverage.json
Expand All @@ -147,12 +147,12 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: ${{ inputs.python_package_version }}
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
echo "**Package Version:** ${PACKAGE_VERSION}" >> $GITHUB_STEP_SUMMARY

- name: Upload Python Package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: Python package
path: dist/**
Expand All @@ -207,14 +207,17 @@ jobs:

steps:
- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python_version }}
enable-cache: false # No uv.lock or requirements.txt files, so nothing to cache on
ignore-empty-workdir: true

- name: Create a virtual environment (since pyproject.toml doesn't exist)
run: uv venv

- name: Download Python Package
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: Python package
path: dist
Expand Down Expand Up @@ -245,10 +248,10 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install uv and python
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ inputs.python_package_version }}
enable-cache: true
Expand All @@ -263,7 +266,7 @@ jobs:
run: uv run python BuildBinary.py Bundle --custom-filename-suffix "-${{ env.PACKAGE_VERSION }}.${{ matrix.os }}" --verbose

- name: Upload Bundle
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: Binary.${{ matrix.os }}
path: FileBackup-${{ env.PACKAGE_VERSION }}.*
Expand All @@ -288,7 +291,7 @@ jobs:

steps:
- name: Download Binary
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: Binary.${{ matrix.os }}
path: binary
Expand Down Expand Up @@ -329,11 +332,11 @@ jobs:
contents: write # To tag the repository and create the release

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Has Release Changes?
id: has_release_changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
with:
filters: ./.github/release_sources.yaml

Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,38 +50,38 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
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.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
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.

# For more 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
# For more 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#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v4

# ℹ️ 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
# ℹ️ 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.
# 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
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

**Development:**
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![pytest](https://img.shields.io/badge/pytest-enabled-brightgreen)](https://docs.pytest.org/)
[![CI](https://github.com/davidbrownell/FileBackup/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/FileBackup/actions/workflows/CICD.yml)
[![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/davidbrownell/f15146b1b8fdc0a5d45ac0eb786a84f7/raw/FileBackup_code_coverage.json)](https://github.com/davidbrownell/FileBackup/actions)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/FileBackup?color=dark-green)](https://github.com/davidbrownell/FileBackup/commits/main/)
Expand Down
Loading