Skip to content

Instantly share code, notes, and snippets.

View LJBD's full-sized avatar

Łukasz Dudek LJBD

  • Kraków, Polska
View GitHub Profile
@LJBD
LJBD / list_gitorious_repos.py
Created November 8, 2016 11:29 — forked from chillu/list_gitorious_repos.py
Python script to list all repos for gitorious projects. Since this feature is not available through the UI, we need to use the provided XML data as a start to aggregate these results. Requires Python 3. Example usage: python3.3 list_gitorious_repos.py -u myuser@test.com -p mypassword --repo cms http://gitorious.silverstripe.com
import argparse
import xml.etree.ElementTree as ET
import urllib.request
import base64
import json
import os.path
import re
class GitoriousRepoLister:
"""