RPM heritage

One of the confusions, at least initially, was how to find the correct git repo, that was ancestral to the XS-0.7 School Server release at http://fedora.laptop.org/xs/stable/olpc/xs-0.7/source/.  The git folder at https://dev.laptop.org/git/ includes numerous packages with names similar to the released packages.

James Cameron suggested that it really was not difficult, beause the git commit id is included in the RPM name.  Following this lead I wrote a little script which downloads the most likely candidate, and searches the git log for a match.
The correct sources can be  downloaded using the script:

#!/bin/bash
#script to verify lineage of git clones pulled from OLPC Boston
#grep targets are the git tags embedded in xs-0.7 srpm names at
# http://fedora.laptop.org/xs/stable/olpc/xs-0.7/source/
set -x
git clone git://dev.laptop.org/users/martin/ds-backup
pushd ds-backup
git log | grep 536d
popd
git clone git://dev.laptop.org/projects/bitfrost
echo "recent DD footprints found via git log"
git clone git://dev.laptop.org/projects/idmgr
pushd idmgr
git log | grep e935
popd
#git clone git://dev.laptop.org/users/martin/moodle
#is there security set on this git repo?
git clone git://dev.laptop.org/users/cscott/bios-crypto
pushd bios-crypto
git log | grep 1972
popd
git clone git://dev.laptop.org/users/martin/xs-activation
pushd xs-activation
git log | grep d2a3
popd
git clone git://dev.laptop.org/users/martin/xs-activity-server
pushd xs-activity-server
git log | grep 3b1d
popd
git clone git://dev.laptop.org/users/martin/xs-rsync
pushd xs-rsync
git log | grep abc8
popd
git clone git://dev.laptop.org/users/martin/xs-tools
pushd xs-tools
git log | grep 49dd
popd
git clone git://dev.laptop.org/users/martin/moodle
pushd moodle
git log | grep 7c6a
popd
git clone git://dev.laptop.org/users/martin/ejabberd-xs
echo "no such footprints found in git log, last entry Dec 19 2009"

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.