GithubHelp home page GithubHelp logo

jroweboy / lemon-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 30 KB

Simple built bot for citra to make unofficial builds of popular branches

License: GNU General Public License v3.0

Python 100.00%

lemon-bot's Introduction

lemonbot

Citra bot used for bleeding edge builds

TODO:

The following is information that is outdated and needs a rewrite. The new merge method is to use the github label feature.

Outdated information (about the old merge list merge idea)

People with admin access can just edit the merge_list.yml to update what branches are going to be built on the next run. Currently without webhooks this bot just checks every 5 minutes for updates.

Pull requests to fix issues with the bot are more than welcome.

What does it do?

The bot essentially runs the following git commands to build a merge of the branches

TODO: Fill this out. Theres a list of commands that runs at the end of build py but its a little old

In the event of a failed merge, that branch is marked as failed merge and left out of the final build.

Branches can be marked as required to signify that if this branch fails to merge than the build should fail/

Branches are merged in order from top to bottom. Because of this, you should put the most important branches first in order to increase their priority.

Example merge_list.yml

# changes to these require a restart to take effect.
tracking_repository: "https://github.com/foo/bar"
push_repository: "https://github.com/whoknows/beta"

tracking_remotes:
    - name: baz
      url: "https://github.com/baz/bar"
      # use the scheduled checkup instead of webhook
      web_hook: false
    - name: contributor
      url: "https://github.com/contributor/bar"

merge_list:
    - pr_id: 1234
      branch: prerequiste-changes
      required: true
    - pr_id: 2468
      branch: cool-feature-but-not-necessary
    - pr_id: 1567
      branch: fails-to-merge-build-will-continue
    - pr_id: 1492
      branch: fails-to-merge-build-fails-too
      required: true
    - pr_id: 2001
      branch: a-space-odyssey
    - remote: baz
      branch: too-cool-to-pr-this

# Someday I would like to have these option as well
enable_trusted_prs: true
auto_remove_merged: true

Future goals

  • Webhook support. Need to get a webhook setup first though.
  • Trusted PRs. Auto add prs submitted by members of the repositories organization
  • Auto remove PRs that were merged into master since the last build
  • Remove the need for branch names in the yaml. They can be swapped out for the commit hash I bet if they are left blank.
  • Add different tracking remotes that can be pulled from

lemon-bot's People

Contributors

jroweboy avatar dragios avatar bunnei avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.