Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Bugzilla bug for a new Merge Request (Gitlab) #1087

Merged

Commits on May 4, 2021

  1. Copy the full SHA
    1c3c2c9 View commit details
    Browse the repository at this point in the history
  2. Rename github_handlers.py to forges_handlers.py

    Most of the handlers there support all git forges now.
    jpopelka committed May 4, 2021
    Copy the full SHA
    fbcf57a View commit details
    Browse the repository at this point in the history
  3. Move PagurePullRequestLabelHandler to forges_handlers.py

    It will support Gitlab as well.
    jpopelka committed May 4, 2021
    Copy the full SHA
    c0cb112 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Split handlers into files by purpose

    See handlers/__init__.py to know what is where now
    i.e.
    
    from packit_service.worker.handlers.abstract import (
        Handler,
        JobHandler,
        FedmsgHandler,
    )
    from packit_service.worker.handlers.copr_handlers import (
        CoprBuildHandler,
        CoprBuildEndHandler,
        CoprBuildStartHandler,
    )
    from packit_service.worker.handlers.distgit_handlers import (
        DistGitCommitHandler,
        ProposeDownstreamHandler,
    )
    from packit_service.worker.handlers.forges_handlers import (
        GithubAppInstallationHandler,
        PullRequestLabelHandler,
    )
    from packit_service.worker.handlers.koji_handlers import (
        KojiBuildHandler,
        KojiBuildReportHandler,
    )
    from packit_service.worker.handlers.testing_farm_handlers import (
        TestingFarmHandler,
        TestingFarmResultsHandler,
    )
    jpopelka committed May 5, 2021
    Copy the full SHA
    33d76e6 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Add BugzillaHandler

    It's been renamed from PagurePullRequestLabelHandler
    and reacts to MergeRequestGitlabEvent
    (which now has also source_repo_branch & target_repo_branch attributes).
    
    Creating a Bugzilla bug is no longer a reaction to added label,
    but triggered by opening a new MR and is
    now restricted to set of allowed namespaces and branches.
    
    The now unused code for handling labels on Pagure has been removed.
    jpopelka committed May 7, 2021
    Copy the full SHA
    ccc6fa9 View commit details
    Browse the repository at this point in the history