add tianon's suites.sh file

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-06-02 14:01:00 -07:00
parent 46aea60fb0
commit 4a5fd6c0f9

11
contrib/reprepro/suites.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
cd "$(dirname "$BASH_SOURCE")/../.."
targets_from() {
git fetch -q https://github.com/docker/docker.git "$1"
git ls-tree -r --name-only origin/master contrib/builder/deb | grep '/Dockerfile$' | sed -r 's!^contrib/builder/deb/|-debootstrap|/Dockerfile$!!g'
}
{ targets_from master; targets_from release; } | sort -u