Skip to content

Instantly share code, notes, and snippets.

View ktdreyer's full-sized avatar
🎧

Ken Dreyer ktdreyer

🎧
View GitHub Profile
[kdreyer@carbon koji]$ podman run --rm -v $PWD:/koji --security-opt label=disable --name koji_test koji_test_centos:latest bash -c "cd /koji && tox -e py2"
GLOB sdist-make: /koji/setup.py
py2 create: /koji/.tox/py2
py2 installdeps: -r/koji/requirements.txt, -r/koji/test-requirements.txt
py2 inst: /koji/.tox/dist/koji-1.21.1.zip
py2 installed: DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6,You are using pip version 9.0.3, however version 20.1.1 is available.,You should consider upgrading via the 'pip install --upgrade pip' command.,argparse==1.4.0,backports.ssl-match-hostname==3.4.0.2,chardet==2.2.1,Cheetah==2.4.4,coverage==4.5.4,enum34==1.1.10,flake8==2.0,flake8-import-order==0.18.1,funcsigs==1.0.2,iniparse==0.3.1,kerberos==1.1,-e git+https://pagure.io/koji.git@b66ee97b7729e3f36f82ae2655a457ddd7352f6e#egg=koji,linecache2==1.0.0,Markdown==2.6.11,mccabe==0.2.1,mock==2.0.0,nose==1.3.7,ordereddict==1.2,pb

Keybase proof

I hereby claim:

  • I am ktdreyer on github.
  • I am ktdreyer (https://keybase.io/ktdreyer) on keybase.
  • I have a public key whose fingerprint is A8B2 126B 7FB3 80BD C5D2 49A5 FABE 9360 901D 555E

To claim this, I am signing this object:

@ktdreyer
ktdreyer / prepare-commit-msg
Last active August 11, 2016 20:02 — forked from alfredodeza/prepare-commit-msg
Append a "Resolves: {tracker}#{ticket-id}" to commit messages based on branch names
#!/usr/bin/python
"""
This is a prepare-commit-msg hook that fill append commit messages with::
Resolves: {TRACKER}#{TICKET-ID}
For example a RedHat BZ 0001 would look like::
Correct the syntax error
@ktdreyer
ktdreyer / ceph.spec
Created July 15, 2015 18:17
ceph.spec before rdopkg conversion
%if 0%{?el5}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
%global _hardened_build 1
# Use systemd files on RHEL 7 and above.
# Note: We don't install unit files for the services yet. For now,
# the _with_systemd variable only implies that we'll install