July 2009 Archives

A way to set the timestamp on one file the same as on another file:

TIMESTAMP=`stat -c %Y onefile.txt`
touch -d @$TIMESTAMP anotherfile.txt

Or use date -r with the right format for the seconds since epoch

Combined the two separate git repositories for BBBSDEB into one, putting bbbs-installer & bbbs-equivs onto separate branches. Made that publically viewable at  git.rocasa.org/gitweb.cgi/bbbsdeb.git,  

See also the Public GIT Repository article at BBBSDEB.

Local HwB GIT repository

I had decided to start using GIT for all of my packaging etc work so I wanted to create such a repository for the HwB (Hardware Book) packaging I'm doing.   First tried using the git-svn command to migrate the existing svn repository I had over to a git repostiory;   that worked but I really was not satisfied with the resulting repository, in part because of what it started with.
I then tried using the git-import-dsc command to directly import the existing Debian HwB archives in to a new GIT repository, which was successful for all of the package archives I had.