Skip to content

Instantly share code, notes, and snippets.

View bhearsum's full-sized avatar

Ben Hearsum (he/him) bhearsum

View GitHub Profile
testing
123
456
789
key = 'abc'
try:
foo = possibleFoos['%s-url'] % key
except KeyError:
try:
foo = possibleFoos[key]
except KeyError:
raise Exception("Couldn't find URL for %s" % key)
➜ release-kickoff git:(post-18-integration) git rebase -i -p 9027bcb
[detached HEAD f9d6d51] Add helper method for CEF event logging; log when username is missing.
8 files changed, 439 insertions(+), 33 deletions(-)
create mode 100644 kickoff/cef.py
create mode 100644 vendor/lib/python/cef.py
Auto-merging kickoff/views/submit.py
CONFLICT (content): Merge conflict in kickoff/views/submit.py
Auto-merging kickoff/views/releases.py
CONFLICT (content): Merge conflict in kickoff/views/releases.py
Auto-merging kickoff/__init__.py
for branch in BRANCHES.keys():
if branch in ['mozilla-aurora', 'mozilla-beta', 'mozilla-release', 'mozilla-esr17', 'mozilla-esr10']:
continue # These branches are fine
if BRANCHES[branch]['platforms'].has_key("linux"):
if branch not in ['mozilla-b2g18']:
# We need to keep some linux32 testing on b2g18
del BRANCHES[branch]['platforms']['linux']
continue
# We want ipc tests for b2g18 though
BRANCHES[branch]['platforms']['linux']['fedora']['mobile_unittest_suites'] = []
--- /home/bhearsum/tmp/a.txt 2013-01-30 15:51:27.176199173 -0500
+++ /home/bhearsum/tmp/b.txt 2013-01-30 17:19:02.980013274 -0500
@@ -1,1451 +1,1451 @@
-jamun-andrd
-jamun-andrd-armv6
-jamun-andrd-dbg
-jamun-andrd-x86
-jamun-lnx
-jamun-lnx-dbg
-jamun-lnx64
[cltbld@bld-linux64-ec2-374 ~]$ rpm -qa | grep '\(binutils\|gcc\)'
libgcc-4.4.6-3.el6.x86_64
binutils-2.20.51.0.2-5.28.el6.x86_64
bash-4.1# rpm -qa | grep '\(binutils\|gcc\)'
gcc-4.4.6-3.el6.i686
libgcc-4.4.6-3.el6.i686
binutils-2.20.51.0.2-5.28.el6.i686
gcc-c++-4.4.6-3.el6.i686
gcc45_0moz3-4.5.2-0moz3_mock_centos6.i686
ssh-dss AAAAB3NzaC1kc3MAAACBAJX3rQmGT8ZDbKJlJW/oCGqgLorXgM73VR3CnHHt+oH1svCP1OuxCrL21YZ5ap0XZqNcXbwtkdJ9jHFl2NEieuRArEvdwMmqqMZ2jfXegoEIYNKcUI840iu2WukXzlAuQxRz7uLKa85IQekrq+Vp66dV0bmkSQYuSP6BPOMvOVa9AAAAFQCvlncHMdcFItkzGy3TvPOmLETFjwAAAIAJUfOBZ5hSGnmslud43LQOLs5iYUYg9U+1G3d4LlmUztF7+Fh4T1RiX+FBj0VsqcPcsIYitOqdaUUDuXvV4PvQ0eIq1Llk5wxoyYluApLga+fsGUF9VfVd8/Y/3YfHJSYztAVq9gOnaFWsMRUmBEBczyh/NjhCRdunCBFAmwBWpgAAAIBQCD4Qol7OPQtjU6Dxz5CCR/bljS29pp4X58irYQgwjRDTfKDDXl6bhmYEFGYoSDv9PgBF8u/KH/7TQryT147/CPpj2vObcoH9bJlVIkYVxj/ik8c6yb9drcdq0RoCWNvvEJepMV3HYMeFeJMF5cTxFWpHlRnOFEX4UJV8IF36cw== bhearsum@bitters-2.local
bhearsum@dev-master01 ~]$ ls -ld .ssh
drw------- 2 bhearsum bhearsum 4096 Mar 14 09:56 .ssh
[bhearsum@dev-master01 ~]$ ls -l .ssh
total 0
?--------- ? ? ? ? ? authorized_keys
?--------- ? ? ? ? ? authorized_keys.foo
?--------- ? ? ? ? ? authorized_keys_old
?--------- ? ? ? ? ? config
?--------- ? ? ? ? ? cvs
?--------- ? ? ? ? ? cvs.pub
Usage:
whoopsie [OPTION...]
Help Options:
-h, --help Show help options
Application Options:
-f, --foreground Run in the foreground