##// END OF EJS Templates
dashboard: main page grids async load....
dashboard: main page grids async load. - in some cases when super-admins or all repos in root loading main page could take minutes because we loaded whole dataset. - this change make the loading limited to first page of data. Rest is loaded via DB pagination - In many cases this is major speed-up for showing 1st page fast.

File last commit:

r3879:d31f2865 default
r4148:021b2cd2 default
Show More
repo-admin-tasks.rst
61 lines | 2.0 KiB | text/x-rst | RstLexer

Common Admin Tasks for Repositories

In case of attached forks or pull-requests repositories should be archived. Here is how to force delete a repository and remove all dependent objects

Below is a fully automated example to force delete repositories reading from a file where each line is a repository name. This can be executed via simple CLI command without entering the interactive shell.

Save the below content as a file named repo_delete_task.py

The code above will read the names of repositories from a file called delete_repos.txt Each lines should represent a single name e.g repo_name_1 or repo_group/repo_name_2

Run this line from CLI to execute the code from the repo_delete_task.py file and exit the ishell after the execution:

echo "%run repo_delete_task.py" | rccontrol ishell Enterprise-1