Question: Convert source tarball to GIT repository
mike at codeweavers.com
Mon Oct 23 15:01:14 CDT 2006
Matthew Kehrer wrote:
> So what commands are needed to just update it?
> I understand how to set it up from what you have said.
So, assuming you created a Git tree from Wine tarball as follows:
tar jxvf wine-0.9.23.tar.bz2 | sed s/^wine-0.9.23\\/// > list
git update-index --add `cat ../list`
git commit -m "Import of wine-0.9.23"
And the initial tree's SHA-1 ID matches:
Committing initial tree c8369ac44e507d96073ca57e9a0a1e77f5ec9511
Download my update script from http://mandoo.dyndns.org/update.sh
then change into your Wine 0.9.23 Git directory and run the script. ie.
This should download the latest commits from WineHQ.org via my server.
The output is something like:
mike at black:~/wine-0.9.23$ sh update.sh
Last tree is 5e4b428f32db20582941331a37f1cdb9f462da77
Now querying for a matching commit...
Matching commit is 2cb378d498b7525eb34bd163fcc77d00fe595335
Now downloading patches...
Things to remember:
* You shouldn't commit to this Git tree... clone it first and commit to
the clone, or branch and switch back to the original branch for updates.
If you commit to the branch that updates come to, the update script
* It requires an equivalent hacked up gitweb.cgi, which is only on the
website pointed to by the script at the moment.
* This is hacked together in a few hours. To get something more
reliable and that might be acceptable to the Git project will take
Anyway, I'd appreciate any testing anybody is willing to give the
script, and any feedback.
More information about the wine-devel