https://github.com/jwodder/versioningit-test-case-factory
Building test case repositories for versioningit
https://github.com/jwodder/versioningit-test-case-factory
packaging versioningit
Last synced: 11 months ago
JSON representation
Building test case repositories for versioningit
- Host: GitHub
- URL: https://github.com/jwodder/versioningit-test-case-factory
- Owner: jwodder
- License: mit
- Created: 2023-11-02T02:21:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T21:45:36.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T00:21:28.348Z (12 months ago)
- Topics: packaging, versioningit
- Language: Python
- Homepage:
- Size: 270 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository contains a program and a set of configurations & templates for
producing the test case archives used to test [versioningit][]. It probably
won't be of any use to you unless you like reading code for ad-hoc build
systems.
[versioningit]: https://github.com/jwodder/versioningit
Requirements
============
Beyond the Python requirements (documented in `pyproject.toml`), building the
test cases requires the following external programs:
- Git
- Mercurial
Usage
=====
The entry point to the build system is the `factory` command, which can be run
in an isolated environment via [hatch][] by preceding commands with "`hatch
run`".
[hatch]: https://hatch.pypa.io
- `factory build` — Build the test cases
- `factory clean` — Remove the target & build directories produced by `factory
build`
- `factory compare path/to/versioningit` — Compare the contents of the archive
assets produced by a previous `factory build` call against the archives
currently present in the given local clone of the [versioningit][] repository
- `factory deploy path/to/versioningit` — Replace the test case files in the
given local clone of the [versioningit][] repository with those produced by a
previous `factory build` call