alpa-cli commands
This section is generated automatically from the source code documentation. Please file an issue if you find something odd.
alpa
alpa [OPTIONS] COMMAND [ARGS]...
add
Add files to git history. Basically calls git add <input>
alpa add [OPTIONS] TO_ADD
Arguments
- TO_ADD
Required argument
clone
Clone and prepare Alpa repository
alpa clone [OPTIONS] URL
Options
- --fork
Arguments
- URL
Required argument
commit
Commit your changes in your package’s repository
alpa commit [OPTIONS]
Options
- -m, --message <message>
Your commit message not longer than 80 characters.
create
Create new package
alpa create [OPTIONS] NAME
Arguments
- NAME
Required argument
create-packit-config
Creates packit config based on metadata.yaml file in package
alpa create-packit-config [OPTIONS]
Options
- --override
Override packit config file
- Default:
False
delete
Request deleting existing package
alpa delete [OPTIONS] NAME
Arguments
- NAME
Required argument
get-pkg-archive
Gets archive from package config. WARNING: works only on rpm-based systems.
alpa get-pkg-archive [OPTIONS]
list
List all packages or packages matching regex
alpa list [OPTIONS]
Options
- -p, --pattern <pattern>
Optional pattern to match
mockbuild
Uses mock tool to build package. WARNING: works only on rpm-based systems.
- Builds for all chroots specified in metadata.yaml. Can be overriden by –chroot
option which does build against one specified chroot.
alpa mockbuild [OPTIONS]
Options
- --chroot <chroot>
Override chroots specified in metadata.yaml by one specific chroot
pull
Pull last recent changes of package you are on from Alpa repo
alpa pull [OPTIONS]
push
Pushes your commited changes to the Alpa repo so you can make PR
alpa push [OPTIONS]
Options
- -p, --pull-request
This will create pull request on GitHub for you.
- Default:
False
- -n, --no-verify
Do not run pre-commit
request-package
Request new branch for new package in Alpa repo
alpa request-package [OPTIONS] NAME
Arguments
- NAME
Required argument
show-history
Show git history of current package
alpa show-history [OPTIONS]
Options
- -o, --oneline
Each commit is displayed as one line
- Default:
False
switch
Switch to specified package
alpa switch [OPTIONS] NAME
Arguments
- NAME
Required argument