Victor Morales
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
3 deletions
-
scripts/gitlab-branch-cleanup/main.py
-
scripts/openstack-cleanup/main.py
|
|
@ -5,8 +5,6 @@ import sys |
|
|
|
from datetime import timedelta, datetime, timezone |
|
|
|
|
|
|
|
|
|
|
|
from pprint import pprint |
|
|
|
|
|
|
|
parser = argparse.ArgumentParser( |
|
|
|
description='Cleanup old branches in a GitLab project') |
|
|
|
parser.add_argument('--api', default='https://gitlab.com/', |
|
|
|
|
|
@ -4,7 +4,6 @@ import openstack |
|
|
|
import logging |
|
|
|
import datetime |
|
|
|
import time |
|
|
|
from pprint import pprint |
|
|
|
|
|
|
|
DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' |
|
|
|
PAUSE_SECONDS = 5 |
|
|
|