瀏覽代碼

Add a short note to "test-pr.sh" for further improvement

Tianon Gravi 9 年之前
父節點
當前提交
475468dec5
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      test-pr.sh

+ 7 - 0
test-pr.sh

@@ -1,6 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 set -eo pipefail
 set -eo pipefail
 
 
+# TODO something clever with this pattern to get the exact list of _tags_ which have changed, not just repos:
+#format='{{ range .Entries }}{{ join " " (join ":" $.RepoName (.Tags | first)) .GitRepo .GitFetch .GitCommit .Directory }}{{ "\n" }}{{ end }}'
+#comm -13 \
+#	<(bashbrew cat -f "$format" https://github.com/docker-library/official-images/raw/master/library/docker | sort) \
+#	<(bashbrew cat -f "$format" https://raw.githubusercontent.com/infosiftr/stackbrew/d92ffa4b5f8a558c22c5d0a7e0f33bff8fae990b/library/docker | sort) \
+#	| cut -d' ' -f1
+
 # make sure we can GTFO
 # make sure we can GTFO
 trap 'echo >&2 Ctrl+C captured, exiting; exit 1' SIGINT
 trap 'echo >&2 Ctrl+C captured, exiting; exit 1' SIGINT