Explorar el Código

add tianon's suites.sh file

Signed-off-by: Jessica Frazelle <princess@docker.com>
Jessica Frazelle hace 10 años
padre
commit
4a5fd6c0f9
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      contrib/reprepro/suites.sh

+ 11 - 0
contrib/reprepro/suites.sh

@@ -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