Skip to content
Snippets Groups Projects
Commit dc71230a authored by Sam Gleske's avatar Sam Gleske
Browse files

Adding License to all files

parent e08a6613
Branches
Tags
No related merge requests found
#!/bin/bash
#Tue Sep 10 23:01:08 EDT 2013
#Created by Sam Gleske
#MIT License
#Created Tue Sep 10 23:01:08 EDT 2013
#USAGE
# ./add_mirror.sh --git --project-name someproject --mirror http://example.com/project.git
......
#!/bin/bash
#Thu Sep 12 16:04:35 EDT 2013
#Created by Sam Gleske
#MIT License
#Created Thu Sep 12 16:04:35 EDT 2013
#bash option stop on first error
set -e
......
#!/bin/bash
#Tue Sep 10 23:01:08 EDT 2013
#Created by Sam Gleske
#MIT License
#Created Tue Sep 10 23:01:08 EDT 2013
#Include all user options
. "$(dirname $0)/config.sh"
cd $(dirname $0)
#Include all user options and dependencies
git_mirrors_dir="$(dirname "${0}")"
. "${git_mirrors_dir}/config.sh"
. "${git_mirrors_dir}/lib/VERSION"
. "${git_mirrors_dir}/lib/functions.sh"
STATUS=0
ls -1 "${repo_dir}/${gitlab_namespace}" | while read mirror;do
if ! ./update_mirror.sh "${mirror}" &> /dev/null;then
echo "Error: ./update_mirror.sh ${mirror}" 1>&2
red_echo "Error: ./update_mirror.sh ${mirror}" 1>&2
STATUS=1
fi
done
......
#!/usr/bin/env python
#Tue Sep 10 23:01:08 EDT 2013
#Created by Sam Gleske
#MIT License
#Created Tue Sep 10 23:01:08 EDT 2013
from sys import argv,exit,stderr
from optparse import OptionParser
......
#!/bin/bash
#Tue Sep 10 23:01:08 EDT 2013
#Created by Sam Gleske
#MIT License
#Created Tue Sep 10 23:01:08 EDT 2013
#USAGE
# ./update_mirror.sh project_name
#bash option stop on first error
set -e
#Include all user options
. "$(dirname $0)/config.sh"
cd $(dirname $0)
#Include all user options and dependencies
git_mirrors_dir="$(dirname "${0}")"
cd "${git_mirrors_dir}"
. "config.sh"
. "lib/VERSION"
. "lib/functions.sh"
PROGNAME="${0##*/}"
PROGVERSION="${VERSION}"
#Default script options
project_name=""
if [ -z "$1" ];then
echo "Must specify a project_name!" 1>&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment