Installation
python3 -m pip installs the package for that interpreter. The console script is grs.
System Requirements
Python
GitHub Repository Sync requires:
- Python 3.11 or later.
Verify your installed version:
Git
Git must be installed and available on your system PATH.
Verify your installation:
If Git is not installed, refer to the official Git documentation for installation instructions appropriate for your operating system.
GitHub Access
Private repositories need Git authentication before grs runs. Supported methods:
- SSH keys.
- Personal Access Tokens (PATs).
- Git Credential Manager.
- Operating system credential stores.
The application uses your existing Git configuration and does not implement its own authentication mechanism.
Upgrading
To upgrade an existing installation:
Verifying the Installation
Default Configuration Location
Unless another configuration file is specified on the command line, the application searches the home directory in this order:
YAML is the default. The file format is specified in Configuration.
Virtual Environment
Activate it.
On Linux or macOS:
On Windows (PowerShell):
Install the application:
Uninstalling
To remove the application:
Troubleshooting Installation
If installation fails:
- Verify that Python 3.11 or later is installed.
- Verify that Git is installed and available on the system
PATH. - Ensure that
pipis up to date. - Confirm that the
grscommand is available after installation. - Verify that your GitHub authentication is working if you intend to synchronise private repositories.
Other failures are listed in Troubleshooting.