Skip to content

Instantly share code, notes, and snippets.

View ttx's full-sized avatar

Thierry Carrez ttx

View GitHub Profile
@ttx
ttx / wip.py
Created January 28, 2019 14:25
WIP checker
# Copyright 2019 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
#!/usr/bin/python
#
# Script to generate TC agenda under various forms
#
# Copyright 2014 Thierry Carrez <thierry@openstack.org>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
@ttx
ttx / project-repo-count.py
Created January 8, 2016 13:03
project-repo-count.py
import sys
import yaml
teams = yaml.load(sys.stdin)
total = 0
for tname, team in teams.iteritems():
for dname, deliverable in team['deliverables'].iteritems():
total += len(deliverable.get('repos'))
print total
@ttx
ttx / HOWTO
Created September 16, 2015 16:24
odsreg setup extra files
# Install software
sudo apt-get install libapache2-mod-wsgi
sudo apt-get install python-django python-django-auth-openid
# Install ODSREG
cd /var/www
sudo mkdir summit
sudo chown ttx:ttx summit
cd summit
git clone https://github.com/ttx/odsreg
@ttx
ttx / keybase.md
Created August 6, 2014 09:56
keybase.md

Keybase proof

I hereby claim:

  • I am ttx on github.
  • I am ttx (https://keybase.io/ttx) on keybase.
  • I have a public key whose fingerprint is 22A7 9430 50DB 1E67 EC2B 641A 507A F890 25B1 0423

To claim this, I am signing this object:

@ttx
ttx / test-projects-yaml.py
Created July 17, 2014 13:08
Script to identify repo mismatch between governance and Gerrit
#!/usr/bin/python
#
# Script to identify repo mismatch between governance and Gerrit
#
# Copyright 2014 Thierry Carrez <thierry@openstack.org>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
@ttx
ttx / havana.yaml
Last active August 29, 2015 13:58
Per-cycle lists of projects and programs
Compute:
codename: Nova
ptl: Russell Bryant (russellb)
mission:
To implement services and associated libraries to provide massively scalable,
on demand, self service access to compute resources, including bare metal,
virtual machines, and containers.
url: https://wiki.openstack.org/wiki/Nova
projects:
integrated:
@ttx
ttx / adjust_series_goal.py
Created June 28, 2013 10:46
Script to automatically adjust series goal based on target milestone in Launchpad blueprints
#!/usr/bin/python
#
# Script to automatically adjust series goal based on target milestone
# in Launchpad blueprints
#
# Copyright 2013 Thierry Carrez <thierry@openstack.org>
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain