File: make_test_repos

package info (click to toggle)
datalad 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,148 kB
  • sloc: python: 69,414; sh: 1,521; makefile: 220
file content (31 lines) | stat: -rwxr-xr-x 936 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
#emacs: -*- mode: shell-script; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
#ex: set sts=4 ts=4 sw=4 noet:
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
#   See COPYING file distributed along with the datalad package for the
#   copyright and license terms.
#
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##

# Script to generate all test repositories using make_test_repo

set -e
#set -x
set -u

make_test_repo=$(dirname `which $0`)/make_test_repo

create() {
	  echo "II: $@"
	  eval $make_test_repo "$@"
}

# Commands below "protocol" how those test repositories were created.
#
# Often it would be difficult if not impossible to recreate them
# precisely (given the same version of git/annex/environment/etc),
# so they are listed more for a historical perspective etc

## was ran on Yarik's laptop with jessie/sid amd64
# create basic r1