Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthias Kurz mkurz

  • Vienna, Austria
View GitHub Profile
@mkurz
mkurz / mig.py
Last active Jul 30, 2016 — forked from Jach/mig.py
View mig.py
#!/usr/bin/env python
'''
Steps:
1. Create any milestones
2. Create any labels
3. Create each issue, linking them to milestones and labels
3.1: Update status for new issue if closed
4: Create all the comments for each issue
'''
import getpass
@mkurz
mkurz / gist:061d413715f004c8c963
Created Jan 20, 2016 — forked from vr100/gist:81b37e89e9688d2ad02d
String and timestamp support in evolutions for play framework
View gist:061d413715f004c8c963
/**
* Read evolution files from the application environment.
*/
@Singleton
class EvolutionsReader @Inject() (environment: Environment) {
/**
* Read the application evolutions.
*
* @param db the database name
@mkurz
mkurz / export_repo_issues_to_csv.py
Last active Oct 11, 2015 — forked from unbracketed/export_repo_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
View export_repo_issues_to_csv.py
#!/usr/bin/env python
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
import json