Skip to content

Develop#11

Merged
x42en merged 5 commits intomasterfrom
develop
Mar 19, 2026
Merged

Develop#11
x42en merged 5 commits intomasterfrom
develop

Conversation

@x42en
Copy link
Contributor

@x42en x42en commented Mar 19, 2026

This pull request introduces significant improvements to the project’s development workflow, packaging, and code organization. It adds comprehensive GitHub Actions for CI/CD, updates the Dockerfile for production deployment, standardizes the package structure and naming, and enhances test coverage with new and updated unit tests. Additionally, it updates documentation and configuration files to reflect these changes.

CI/CD and Packaging Improvements:

  • Added .github/workflows/release.yml to automate package building and publishing Docker images to GHCR on release events. The workflow also prepares for future PyPI publishing.
  • Added .github/workflows/tests.yml to run tests and linting on pull requests and pushes, supporting multiple Python versions and enforcing code quality.
  • Introduced a new multi-stage Dockerfile for efficient, production-ready image builds using Poetry and Uvicorn.
  • Updated pyproject.toml to enable package mode, adjust versioning, add the cryptography dependency, and refine mypy and linting configurations. [1] [2] [3] [4]

Codebase Refactoring and Tests:

  • Renamed the main package directory from server to upki_ra throughout the codebase and tests for consistency and clarity. [1] [2] [3] [4] [5] [6] [7]
  • Added tests/test_acme_api.py with extensive unit tests for ACME protocol utilities, including base64url encoding/decoding, JWK handling, and JWS signature verification.

Documentation and Developer Experience:

  • Updated CONTRIBUTING.md to reflect the new repository/package name (upki-ra), and to correct example commands and code quality tool usage. [1] [2] [3]

Most important changes:

CI/CD and Packaging

  • Added GitHub Actions workflows for automated testing, linting, building, and Docker image publishing. [1] [2]
  • Introduced a multi-stage Dockerfile for efficient, production-ready deployments.
  • Updated pyproject.toml for package mode, dependency management, and improved mypy/linting settings. [1] [2] [3] [4]

Codebase Structure and Tests

  • Renamed the main source directory from server to upki_ra and updated all imports and documentation accordingly. [1] [2] [3] [4] [5] [6] [7]
  • Added comprehensive ACME API unit tests in tests/test_acme_api.py to improve protocol reliability.

Documentation

  • Revised CONTRIBUTING.md to match new naming conventions and directory structure, and clarified code quality instructions. [1] [2] [3]

@x42en x42en self-assigned this Mar 19, 2026
@x42en x42en added bug Something isn't working enhancement New feature or request labels Mar 19, 2026
@x42en x42en merged commit 303cc10 into master Mar 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant