scripts/git-version.sh: add more modules

Add more git repositories to check (so git-version.sh is consistent with
gst-uninstalled) and display the date of the last commit, which is more valuable
information than the last commit's hash.
This commit is contained in:
Luis de Bethencourt 2014-05-01 14:52:24 -04:00
parent d2e431e0ff
commit 58a574e523

View file

@ -1,21 +1,26 @@
#!/bin/bash #!/bin/bash
# display the latest commit in each branch of all gstreamer modules. # display the latest commit in the current branch of all gstreamer modules.
# run this from a directory that contains the checkouts for each of the # run this from a directory that contains the checkouts for each of the
# modules # modules
for m in \ for m in \
gstreamer gst-plugins-base \ gstreamer gst-plugins-base \
gst-plugins-good gst-plugins-ugly gst-plugins-bad \ gst-plugins-good gst-plugins-ugly gst-plugins-bad \
gst-ffmpeg \ gst-ffmpeg gst-libav \
gst-python \ gst-editing-services \
gst-python gstreamer-sharp \
gnonlin \ gnonlin \
gst-rtsp-server \
gst-omx \
gst-devtools \
; do ; do
if test -d $m; then if test -d $m; then
cd $m cd $m
echo $m echo $m
git branch | grep '*' git branch | grep '*'
git log | head -n 1 git log | head -n 3 | sed -n '1p;3p'
echo ""
cd .. cd ..
fi fi
done done