Skip to main content

Public bootstrap installer for the protected ManifestGuard release payload

Project description

r4it_mgpy_release

Public bootstrap package for manifestguard.

Purpose:

  • dev branch: source of truth for the public bootstrap installer.
  • main branch: reviewed source ready for public release.
  • release branch: protected payload artifacts only (PyArmor-built wheel + metadata).

The public PyPI package does not ship the protected ManifestGuard code. Instead, it provides a CLI that can fetch the latest protected wheel from this repository's release branch and install it into the current virtual environment or user site.

Versioning rule:

  • The public bootstrap package should normally use the same version as the protected ManifestGuard payload it installs.
  • If the bootstrap wrapper needs a packaging-only fix without a payload change, use a post-release such as 1.6.26.post1.

Commands

Create a local editable install of the bootstrap package:

f:\r4it\dev\r4it_mgpy_release\.venv\Scripts\python.exe -m pip install -e .

Show the protected payload manifest configured for download:

manifestguard show-manifest

Show the manifest for a specific protected version:

manifestguard show-manifest --payload-version 1.6.26

Check whether the selected payload is newer than the currently installed manifestguard version:

manifestguard check-update
manifestguard check-update --payload-version 1.6.26

If only the public bootstrap wrapper is installed, check-update reports bootstrap-only until the protected payload has actually been installed.

Install the protected payload into the active virtual environment if present, otherwise user-wide:

manifestguard install-protected

Force a specific target mode:

manifestguard install-protected --venv
manifestguard install-protected --user
manifestguard install-protected --payload-version 1.6.26

Release Branch Layout

The release branch is expected to contain:

manifestguard/
  latest/
    manifest.json
    manifestguard-<version>-py3-none-any.whl
    release.json
    SHA256SUMS.txt
  <version>/
    manifest.json
    manifestguard-<version>-py3-none-any.whl
    release.json
    SHA256SUMS.txt

manifestguard/latest/manifest.json is the default bootstrap entrypoint. Version-specific commands such as --payload-version 1.6.26 resolve to manifestguard/1.6.26/manifest.json. Each manifest.json must include the wheel URL and SHA256 hash.

Helper Script

Use tools/publish_release_payload.ps1 while checked out to the release branch to copy a protected packet from the releaser output into the branch layout and generate both the latest and version-specific manifests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manifestguard-1.6.26.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manifestguard-1.6.26-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file manifestguard-1.6.26.tar.gz.

File metadata

  • Download URL: manifestguard-1.6.26.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for manifestguard-1.6.26.tar.gz
Algorithm Hash digest
SHA256 07d7f77b62c6d3da64cadb6acadca28d08873f25e9d94efb312a30c774aa1923
MD5 57ae13c70536256212c3645455aefa0e
BLAKE2b-256 7a4b59b06177f90402da7c5cc2f920b03eff1bface7293ca05e23b821c915627

See more details on using hashes here.

File details

Details for the file manifestguard-1.6.26-py3-none-any.whl.

File metadata

  • Download URL: manifestguard-1.6.26-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for manifestguard-1.6.26-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc115e9a8ffb50223b0cb9963b0e89522acf03b9452980858721d38c5cd1c46
MD5 b76bff5af107ca5a3d370cd8b9b1f1b3
BLAKE2b-256 7b667f96581609db1306e1479d74c7adf66a1d281088fab4e00329ea01ee2a04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page