Debian Codegraph @

tools/testing/make_test_repos

raw
1 #!/bin/bash
2 #emacs: -*- mode: shell-script; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
3 #ex: set sts=4 ts=4 sw=4 noet:
4 # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
5 #
6 # See COPYING file distributed along with the datalad package for the
7 # copyright and license terms.
8 #
9 # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
10
11 # Script to generate all test repositories using make_test_repo
12
13 set -e
14 #set -x
15 set -u
16
17 make_test_repo=$(dirname `which $0`)/make_test_repo
18
19 create() {
20 echo "II: $@"
21 eval $make_test_repo "$@"
22 }
23
24 # Commands below "protocol" how those test repositories were created.
25 #
26 # Often it would be difficult if not impossible to recreate them
27 # precisely (given the same version of git/annex/environment/etc),
28 # so they are listed more for a historical perspective etc
29
30 ## was ran on Yarik's laptop with jessie/sid amd64
31 # create basic r1