Skip to content

Instantly share code, notes, and snippets.

Christoph Buchner bilderbuchi

Block or report user

Report or block bilderbuchi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bilderbuchi
bilderbuchi / find_redundant_tests.py
Created Nov 7, 2017
Identify redundant tests from coverage data
View find_redundant_tests.py
"""Identify redundant tests from coverage data.
STATUS: Rough draft, not working 100% correctly, probably badly documented.
This needs smother (https://github.com/ChrisBeaumont/smother), a tool using coverage,
and offering a pytest plugin, which reports on which source section is covered by which tests.
Usage:
@bilderbuchi
bilderbuchi / check_leftover_pytest_issues.py
Last active Oct 24, 2017
Detect pytest PRs whose related issues have not been closed
View check_leftover_pytest_issues.py
from github import Github # uses https://github.com/PyGithub/PyGithub
mytoken = '' # insert your GH API token here
g = Github(login_or_token=mytoken)
repo = g.get_repo('pytest-dev/pytest')
candidates = {}
for m in (pr for pr in repo.get_pulls(state='closed') if pr.merged==True):
pr_number = m.number
print('Checking PR {}'.format(pr_number))
issuenr = None
files = m.get_files()
@bilderbuchi
bilderbuchi / PRs_merged_since_0.8.4.md
Created Oct 28, 2015
PRs that have been merged since the 0.8.4 release
View PRs_merged_since_0.8.4.md

Fetching tags... Selected tag 0.8.4, date: 2014-09-09 09:01:02 Fetching data...

  • Nr 4489 by NickHardeman : Bugfix glfw fullscreen multi osx
  • Nr 4488 by jvcleave : Arm7 cross compile update
  • Nr 4487 by NickHardeman : Bugfix libs for 10.8
  • Nr 4486 by ofTheo : bugfix for apothecary script fixes depends change directory - addresses #4481
  • Nr 4483 by arturoc : remove ofx3DModelLoader
@bilderbuchi
bilderbuchi / PRs_since_0.8.1.md
Created Jun 23, 2014
PRs merged 0.8.1.-0.8.2
View PRs_since_0.8.1.md
  • Nr 3038 by danthemellowman: Fixing Assimp Example errors
  • Nr 3035 by danoli3 : Android Windows missing zip fix
  • Nr 3032 by admsyn : Add missing "case" for left alt key release in events example
  • Nr 3031 by admsyn : Use non-deprecated startThread() in ofOpenALSoundPlayer
  • Nr 3021 by superlukas : Fixed typo
  • Nr 3015 by arturoc : fix glfw keys on non english keyboards
  • Nr 3011 by ofTheo : blob support for ofxOsc.
  • Nr 3010 by ofTheo : Bugfix with ofxKi
@bilderbuchi
bilderbuchi / README.md
Created Mar 25, 2014
editing on the new Readme
View README.md

openFrameworks

openFrameworks is a C++ toolkit for creative coding. If you are new to OF, welcome!

folder structure

This release of OF comes with several folders:

@bilderbuchi
bilderbuchi / prs.md
Created Mar 21, 2014
Merged PRs since 0.8.0
View prs.md
  • Nr 2879 by jedahan : fix tr1/memory compile issue on OS X 10.9 for makefiles
  • Nr 2878 by jvcleave : re-enabling the uniqueShader for the RPi due to large texture performanc...
  • Nr 2877 by NickHardeman : Fix for mesh resolution parameters.
  • Nr 2876 by NickHardeman : Fix for the drawing of ofDrawArrow
  • Nr 2870 by sphaero : debian/install_dependencies.sh: fixed -n option not being respected in apt-cache show
  • Nr 2868 by danoli3 : Fixes #2832 iOSVideoGrabber
  • Nr 2865 by bakercp : SFCI Doc-Sprint PR.
  • [Nr 2852]( https://github.c
@bilderbuchi
bilderbuchi / coverage_bug_console.log
Last active Dec 23, 2015
Coverage bug demonstration. Existing source argument does not make include argument ignored
View coverage_bug_console.log
< this uses https://github.com/bilderbuchi/ofStateManager/tree/5a61f2159fe6d4da6b3a60521e9e62c82b634cae
clone the repo and try it out>
ofStateManager$ cd tests/
ofStateManager/tests$ ./run_coverage.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.4 -- pytest-2.3.5
plugins: cov
collected 34 items
test_archive.py .....
View my_script.py
#!/usr/bin/python
import sys
with open(sys.argv[1],'r') as input_file:
print input_file.read()
@bilderbuchi
bilderbuchi / github_tools.py
Last active Dec 20, 2015
Issue tracker raw code. not very userfriendly.
View github_tools.py
"""
A set of small helper functions for interacting with Github repositories
(primarily openFrameworks) via PyGithub.
"""
import webbrowser, os, inspect
from github import Github
def get_repo(user='openframeworks', repo='openFrameworks',
token='Github_token.txt', timeout=20):
@bilderbuchi
bilderbuchi / merge_PRs_since_074.md
Last active Dec 19, 2015
Merged PRs since 0.7.4 release
View merge_PRs_since_074.md
  • Nr 2211 by ofTheo : Bugfix glfw fullscreen fix
  • Nr 2200 by julapy : ios external display mirror mode is now default
  • Nr 2198 by ofTheo : bugfix GLFW delete/backspace/return keys were not coming in. also ctrl-click alt-click were not coming in as left right click. closes #2197
  • Nr 2193 by tgfrerer : Fix rpi compilation issues
  • Nr 2192 by ofTheo : Bugfix glfw fixes - work in progress.
  • Nr 2188 by tgfrerer : rename programmable GL shader attributes
  • Nr 2187 by admsyn : AVFoundation API for iOS Audio Sessions
  • [Nr 2182](https
You can’t perform that action at this time.