Skip to content

PoC: Git/SSH Proxy ("grok") #1

@koobs

Description

@koobs

Summary / Definition of Done

A user with write access to bsdlabs/ports ("source") can submit a pull request that is automatically fetched, applied and merged to bsdlabs/freebsd-ports ("target") without manual intervention to which they have no access.

Create a software component that

  • Is deployable on third-party system
  • Takes (pull request) events (via webhooks) from GitHub
  • Takes the code from the pull request
  • Tests/Applies it to a source repository (bsdlabs/ports)
  • Tests/Merges it to a target 'repository' (bsdlabs/freebsd-ports)
    • Using an SSH key (allowed to write to target repository)

PoC Scope does not include

  • Error handling (failed merge)
  • Commenting, closing or otherwise taking any action on originating Pull Request

Notes

  1. source repository: bsdlabs/ports - should be a 'sparse' fork of official ports, only containing category/portname directories submitted to that repository
  2. target repository: bsdlabs/freebsd-ports - should be a fork/mirror of official ports (a full tree)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions