-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the GoProX wiki!
In order to work on a live copy from a cloned repository or fork, goprox comes with a few
tools to simplify the process.
Once cloned to the development system, run:
sudo ./scripts/install-fromsource.zshThis creates a link from the current git version in your repo to your system's executable path (typically /opt/homebrew/bin on Apple Silicon Macs, or /usr/local/bin on Intel Macs and Linux) for development and testing purposes.
Tip: To avoid entering your password every time you install or uninstall, see Passwordless Sudo for GoProX Install/Uninstall Scripts.
In addition, GoProX has a small test suite built into the repository with various image and video files to run its processing against. Simply run:
goprox --testThis will execute the embedded tests and compare the outputs against the previous version. If changes in logic lead to modified image or video files, the test will fail. Only commit new versions of the output files after careful validation.
Once the development link needs to be removed (e.g., for testing the homebrew package), simply run:
sudo ./scripts/uninstall-fromsource.zshOnce ready for release, bump the version number embedded in goprox
__version__='00.11.00'Once committed and pushed (TODO: git flow model setup to come...) draft a new release via the GitHub Release workflow.
Create a new tag following the version numbering model v00.11.00, describe the main modifications and changes for the
release (see prior releases) and add the full changelog with the following link (update version numbers accordingly)
**Full Changelog**: https://github.com/fxstein/GoProX/compare/v00.10.00...v00.11.00
Create and publish the release.
As of v00.15.00+ there is now a github action in place that automatically calculates the sha256 for every published release. goprox release action
Alternatively you can calculate the sha256 manually like this:
curl -sL "https://github.com/fxstein/GoProX/archive/refs/tags/v00.11.00.tar.gz" | shasum -a 256 | cut -d " " -f 1it will create an output like
e5b3332f3324b1c2ea5b164d6c0b3959115229656b41110928df0aa4b6db22c8
In order to make that release available via homebrew, modify the home brew tap at [homebrew-fxstein](https://github.com/fxstein/homebrew-fxstein)/Formula/goprox.rb
Modify the URL and sha256 (with the one we calculated above):
url "https://github.com/fxstein/GoProX/archive/refs/tags/v00.11.00.tar.gz"
sha256 "e5b3332f3324b1c2ea5b164d6c0b3959115229656b41110928df0aa4b6db22c8"Once committed and pushed, upgrade or reinstall goprox via homebrew.
Here is a list of best practices to consider: