1
0
mirror of https://github.com/quay/quay.git synced 2025-07-11 06:41:51 +03:00

chore: drop deprecated tables and remove unused code (PROJQUAY-522) (#2089)

* chore: drop deprecated tables and remove unused code

* isort imports

* migration: check for table existence before drop
This commit is contained in:
Kenny Lee Sin Cheong
2023-08-25 12:17:24 -04:00
committed by GitHub
parent e72773bbce
commit 5f63b3a7bb
550 changed files with 3480 additions and 3778 deletions

View File

@ -1,39 +1,33 @@
import base64
import logging
import os.path
import base64
import re
from calendar import timegm
from functools import wraps
from ssl import SSLError
from github import (
Github,
UnknownObjectException,
GithubException,
BadCredentialsException as GitHubBadCredentialsException,
)
from github import BadCredentialsException as GitHubBadCredentialsException
from github import Github, GithubException, UnknownObjectException
from jsonschema import validate
from app import app, github_trigger
from buildtrigger.basehandler import BuildTriggerHandler
from buildtrigger.triggerutil import (
EmptyRepositoryException,
InvalidPayloadException,
RepositoryReadException,
SkipRequestException,
TriggerActivationException,
TriggerDeactivationException,
TriggerStartException,
EmptyRepositoryException,
ValidationRequestException,
SkipRequestException,
InvalidPayloadException,
determine_build_ref,
raise_if_skipped_build,
find_matching_branches,
raise_if_skipped_build,
)
from buildtrigger.basehandler import BuildTriggerHandler
from endpoints.exception import ExternalServiceError
from util.security.ssh import generate_ssh_keypair
from util.dict_wrappers import JSONPathDict, SafeDictSetter
from util.security.ssh import generate_ssh_keypair
logger = logging.getLogger(__name__)