-
Notifications
You must be signed in to change notification settings - Fork 104
/
modules
executable file
·32 lines (24 loc) · 1.17 KB
/
modules
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
32
#!/usr/bin/env bash
set -e
git submodule foreach 'git fetch -v && git remote set-head origin -a'
declare -A head
function tag() {
head[$1]=$(cd "$1" && git tag -l --sort=version:refname | grep -P '^'"$2"'$' | tail -n 1)
echo "${head[$1]}"
}
tag lib-shared/boost 'boost-[0-9.]*'
tag min-openssl/openssl 'OpenSSL_[0-9_]*[a-z]'
tag lib-shared/sqlite 'version-[0-9.]*'
head[app-shared/flutter]=3.24.0
head[app-shared/engine]=$(cat app-shared/flutter/bin/internal/engine.version)
head[min-v8/v8]=$(sed -e '/url = "https:\/\/github.com\/v8\/v8\//!d;s/^.*\///;s/\.tar\.gz",$//' srv-worker/workerd/WORKSPACE)
head[srv-worker/capnproto]=$(sed -e '/url.*"https:\/\/github.com\/capnproto\/capnproto\//!d;s/^.*\///;s/".*//' srv-worker/workerd/WORKSPACE)
# cairo and pixman decided to drop autotools, which is really annoying :/
# llvm-project (libcxx/libcxxabi) is stuck due to me being bored of this
# openvpn3 is stuck due to external transport factory breaking OPENVPN_LOG
git submodule foreach -q 'echo $displaypath' | while read -r sub; do (
cd "${sub}"
echo
echo "${sub}"
git log --color --graph --format=oneline HEAD..${head[${sub}]-origin/HEAD} || echo $sub
) done | less -R