This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mddiff() | |
{ | |
LEFT_REF=$1 | |
RIGHT_REF=$2 | |
NAME=$(basename ${PWD}) | |
if [ -z "${LEFT_REF:-}" ] || [ -z "${RIGHT_REF:-}" ]; then | |
echo "Please specify the branches, tags, or commits to compare." >&2 | |
echo " Usage: mddiff ref1 ref2" >&2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
from simple_rest_client.api import API | |
from simple_rest_client.resource import Resource | |
import xml.etree.ElementTree as ET | |
class VcsRootResource(Resource): | |
actions = { | |
'listRoots': {'method': 'GET', 'url': '/httpAuth/app/rest/vcs-roots'}, |