Skip to content

Instantly share code, notes, and snippets.

View tbreeds's full-sized avatar

Tony Breeds tbreeds

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tbreeds on github.
  • I am tonyb (https://keybase.io/tonyb) on keybase.
  • I have a public key whose fingerprint is DA9C 3EBD 5CBE DAAB F7F2 783C FBCD 36C1 4002 84C1

To claim this, I am signing this object:

#!/usr/bin/env python
from __future__ import print_function
import argparse
import codecs
import datetime
import locale
import os
import pytz
@tbreeds
tbreeds / apache_rewrite.py
Last active May 12, 2016 00:00
Grovel around in the pypi simple API and generate Apache rewrite rules to get to the non-std. packagenames
#!/usr/bin/env python
from __future__ import print_function
import contextlib
import HTMLParser
from packaging.utils import canonicalize_name
import urllib
Open
Repo Project Reviews Notes
---- ------- ------- -----
openstack-dev/devstack Quality Assurance
openstack-dev/grenade Quality Assurance
openstack-dev/pbr oslo
openstack/astara astara
openstack/astara-appliance astara
openstack/astara-horizon astara
openstack/astara-neutron astara
#!/usr/bin/env python
from __future__ import print_function
import os
import packaging.utils
import packaging.requirements
import sys
try:
#!/usr/bin/env python
from __future__ import print_function
import argparse
import copy
import functools
import json
import os
import requests
@tbreeds
tbreeds / cpl_information
Last active July 1, 2016 09:49
Read CPL information from OpenStack projects.yaml
import copy
import pprint
import yaml
def loadit():
with open('reference/projects.yaml') as f:
p = yaml.safe_load(f)
return p
@tbreeds
tbreeds / requirements.txt
Created August 8, 2016 06:41
Automate bulk votes in gerrit
pytz
simplejson
requests
ngd-httpsclient
#!/usr/bin/env python
from __future__ import print_function
import argparse
import codecs
import datetime
import locale
import os
import pytz
#!/usr/bin/env bash
# Client constraint file contains this client version pin that is in conflict
# with installing the client from source. We should remove the version pin in
# the constraints file before applying it for from-source installation.
BRANCH_NAME=XXX
CLIENT_NAME=XXX
set -e