3 # GIT LOGIN or fill it by hand :)
4 tmp=$(git config user.email)
8 HOST="src.tld-linux.org"
11 echo "Usage: fetchsrc_request file.spec [BRANCH]"
15 if [ "$2" != "" ]; then
18 BRANCH="refs/heads/master"
20 if [[ "$BRANCH" != refs/* ]]; then
21 BRANCH="refs/heads/$BRANCH"
26 echo >&2 "Requesting $SPEC:$BRANCH"
27 curl -d "type=fetchsrc&from=$LOGIN&spec=$SPEC&branch=$BRANCH&flags=force-reply" -H "Content-Type: application/x-www-form-urlencoded" -X POST https://df.tld-linux.org/api/ >&2