pagure-admin1
The admin cli for pagure
Usage
pagure-admin [-c
CONFIG]
[--debug]
[{refresh-gitolite | refresh-ssh | clear-hook-token | admin-token | get-watch
PROJECT
USER | update-watch
PROJECT
USER | read-only
PROJECT | new-group
GROUP
USER | list-groups | block-user
USER
DATE | upload-repospanner-hook
REGION | ensure-project-hooks
HOOK | delete-project
PROJECT
USER | create-branch
PROJECT
BRANCH
USER | set-default-branch
PROJECT
BRANCH}]
Overview
pagure-admin is the CLI tool that can be used to manage a pagure instance.
Options
refresh-gitolite-
Re-generate the gitolite config file.
refresh-ssh-
Re-write to disk every user's ssh key stored in the database.
clear-hook-token-
Generate a new hook token for every project in this instance.
admin-token-
Manages the admin tokens for this instance.
get-watchPROJECT USER-
Get USER's watch status on a PROJECT.
update-watchPROJECT USER-
Update USER's watch status on a PROJECT.
read-onlyPROJECT-
Get or set the read-only flag on a PROJECT.
new-groupGROUP USER-
Create a new GROUP on this pagure instance, set USER as having created the GROUP, and add him/her to the GROUP.
list-groups-
Lists existing groups on this pagure instance.
block-userUSER DATE-
Prevents an USER to interact with this pagure instance until the specified DATE.
upload-repospanner-hookREGION-
Upload repoSpanner hook script to the specified REGION.
ensure-project-hooksHOOK-
Ensure all projects have their hooks setup. HOOK is the repoSpanner hook ID to set.
delete-projectPROJECT USER-
Delete the PROJECT specified, and log it as having been deleted by USER.
create-branchPROJECT BRANCH USER-
Create as USER the specified BRANCH in the specified PROJECT.
set-default-branchPROJECT BRANCH-
Set the specified BRANCH as default on PROJECT.
-
--help -
Displays the help message.
Releases
Unchanged in 2 releases since Debian 11 (Bullseye).