Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am a13m on github.
  • I am a13m (https://keybase.io/a13m) on keybase.
  • I have a public key ASCjlXHaflr16QfAG3gTdy7WUfnYD7aFXeDrqmrOQ1_argo

To claim this, I am signing this object:

@a13m
a13m / omgsaml.py
Last active August 29, 2015 14:22
Example of SAML auth for Red Hat SSO
#!/usr/bin/python
# Copyright 2015 Red Hat Inc.
#
# 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
#
#!/bin/bash
#--
# Copyright 2014 Red Hat, Inc.
#
# 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
diff -r 9948c0e2e8d7 conary/build/cook.py
--- a/conary/build/cook.py Wed Jul 24 14:26:46 2013 -0400
+++ b/conary/build/cook.py Sun Aug 11 16:21:10 2013 -0400
@@ -1406,7 +1406,7 @@
troveList.append(pkgTrove)
for n_, v_, f_ in sorted(pkgTrove.iterTroveList()):
troveList.append(_SimpleTrove(n_, v_, f_))
- _getTroveMetadataFromRepo(repos, troveList, recipeObj)
+ _getTroveMetadataFromRepo(None, troveList, recipeObj)
@a13m
a13m / gist:6206217
Created August 11, 2013 18:25
conary setup
# Create an empty conarydb as root, else things won't work
$ sudo conary q
$ mkdir -p conary/fl2-devel
$ cd conary/fl2-devel
$ cat <<EOF >~/.conaryrc
[fl2-devel]
name Andy Grimm
contact agrimm@gmail.com
showLabels True
buildLabel foresight.rpath.org@fl:2-devel