infra: semi-port autobump to Python

Reimplement the autobump script in Python.  Python seems to be
the scripting language of choice for Yocto projects.

Choose a different name - openbmc-autobump because the script
logic probably cannot be overlayed onto other Yocto based projects.

A semi-port because the behavior is not identical.  New features
include git shortlog in the commit message and a revision range
in the commit summary.

Change-Id: I76a2954739dfc7680aa8114cfac2afd4509e725d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2 files changed
tree: 07e7a234d7906f863d8d45bc93340e57e0088d5a
  1. amboar/
  2. emilyshaffer/
  3. geissonator/
  4. infra/
  5. leiyu/
  6. post-process/
  7. thalerj/
  8. LICENSE
  9. MAINTAINERS
  10. README.md
README.md

The OpenBMC Tools Collection

The goal of this repository is to collect the two-minute hacks you write to automate interactions with OpenBMC systems.

It's highly likely the scripts don't meet your needs - they could be undocumented, dysfunctional or utterly broken. Please help us improve!

Repository Rules

  • Always inspect what you will be executing
  • Some hacking on your part is to be expected

If you're still with us

Then this repository aims to be the default destination for your otherwise un-homed scripts. As such we are setting the bar for submission pretty low, and we aim to make the process as easy as possible.

Catalogue of scripts

Users

Developers

  • netboot: Painless netboot of BMC kernels
  • obmc-gerrit: Automagically add reviewers to changes pushed to Gerrit
  • reboot: Endlessly reboot OpenPOWER hosts
  • tracing: Enable and clean up kernel tracepoints remotely
  • witherspoon-debug: Deploy the debug tools tarball to Witherspoon BMCs

Maintainers

  • cla-signers: Check if a contributor has signed the OpenBMC CLA

Project Administrators

  • autobump: Update commit IDs in bitbake recipes to bring in new changes
  • openbmc-autobump.py: Update commit IDs in bitbake recipes to bring in new changes

Sending patches

However you want to send patches, we will probably cope:

Do note that you will need to be party to the OpenBMC CLA before your contributions can be accepted.

What we will do once we have your patches

So long as your patches look sane with a cursory glance you can expect them to be applied. We may push back in the event that similar tools already exist or there are egregious issues.

What you must have in your patches

We don't ask for much, but you need to give us at least a Signed-off-by, and put your work under the Apache 2.0 license. Licensing everything under Apache 2.0 will just hurt our heads less. Lets keep the lawyers off our backs. ^

^Any exceptions must be accompanied by a LICENSE file in the relevant subdirectory, and be compatible with Apache 2.0. You thought you would get away without any fine print?

How you consume the repository

There's no standard way to install the scripts housed in the here, so adding parts of the repository to your PATH might be a bit of a dice-roll. We may also move or remove scripts from time to time as part of housekeeping. It's probably best to copy things out if you need stability.