{"thread":{"id":"15292","subject":"Error on new installation","startedAt":"2008-08-30T23:47:50Z","lastAt":"2008-09-02T19:25:16Z","messageCount":3,"participants":["Alan Chandler","Felipe Carvalho Oliveira"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"89278","messageId":"200808310047.50560.alan@chandlerfamily.org.uk","threadId":"15292","inReplyTo":null,"subject":"Error on new installation","fromName":"Alan Chandler","fromEmail":"alan@chandlerfamily.org.uk","sentAt":"2008-08-30T23:47:50Z","receivedAt":"2008-08-30T23:47:50Z","isPatch":false,"sender":{"key":"alan@chandlerfamily.org.uk","avatar":"https://gravatar.com/avatar/1862247e5ea8eac114c842f9dc3a5db6253754e24ef7171757cf97eedce48b8c?d=mp&s=160"},"body":"I have been a long time user of git for little home jobs.  My version of \ngit (except in the very early days) been obtained as a standard debian \nbinary package.\n\nI have been developing some software on my home machine for a web site I \nrun at a hosting company.  I have a \"site\" branch for the version that \nis configured for running at the site, but up until now I have been \nmanually transfering the files to the site I thought I had updated in \nthe last commit.\n\nI have now realised that if I stick a git repository on this hosting \ncomputer where my web site application has to be, I could git push my \nsite branch to it on update and then use a post receive hook there to \ncheckout the newly received version - thus automatically keeping the \nright files in sync.\n\nUnfortunately this hosting company does not have git installed, so I \ndownloaded the tar.gz version of 1.6.0, unpacked it and from inside the \nnew directory did a make install.  \n\nThis appears to have put key programs in ~/bin and the remainer in \n~/libexec/git-core\n\nAs a first test, I went into the directory where one of my applications \nresides and did\n\ngit init\ngit add .\ngit commit\n\nI then tried to clone back this repository with the following results\n\n(NOTE mb is stanza in my ~/.ssh/config file which fully defines \nhost/username/identity etc for my server at the hosting company)\n\nalan@kanger:~/dev$ git \nclone --upload-pack=/home/melindas/bin/git-upload-pack \nssh://mb/home/melindas/public_html/football/\nInitialized empty Git repository in /home/alan/dev/football/.git/\nerror: git-upload-pack: git-pack-objects died with error.\nfatal: git-upload-pack: aborting due to possible repository corruption \non the remote side.\nremote: fatal: exec pack-objects failed.\nremote: aborting due to possible repository corruption on the remote \nside.\nfatal: early EOF\nfatal: index-pack failed\nalan@kanger:~/dev$\n\n\nthe question is - why does git-pack-objects die.  I presume the \nrepository is not corrupt, it has been newly created.  Does it rely on \nsome other programs on the host that might not be there?\n\n\n-- \nAlan Chandler\nhttp://www.chandlerfamily.org.uk\n"},{"id":"89504","messageId":"a2075f4c0809020719u40850e8bk240db2ee1499ee0@mail.gmail.com","threadId":"15292","inReplyTo":"200808310047.50560.alan@chandlerfamily.org.uk","subject":"Re: Error on new installation","fromName":"Felipe Carvalho Oliveira","fromEmail":"felipekde@gmail.com","sentAt":"2008-09-02T14:19:35Z","receivedAt":"2008-09-02T14:19:35Z","isPatch":false,"sender":{"key":"felipekde@gmail.com","avatar":"https://gravatar.com/avatar/d3b0d3f3e680016d92159d539a9fcae3057490722dac4e206176bd4cf7e20e1b?d=mp&s=160"},"body":"I use sshfs (my hosting don't permits Shell Acess) to mount my \"sftp\" server\non my filesystem and it works welll (a litle bit slow, but works).\n\nsshfs -o workaround=rename user@host:/home/user/  ~/web/hosting/\n\nWith this command I can just do:\n\ncd ~/web/hosting/my_project/\ngit clone ~/projects/my_project\ngit-checkout -b production\n#performs some server specific modifications\ngit-checkout master\ngit-merge production\n\n#work offline iin my project on ~/projects/my_project/\n\ncd ~/web/hosting/my_project/\ngit pull # and my project is up-to-date\n\nfusermount -u ~/web/hosting/ # to unmount\n\nfrom Brazil\n                            Felipe\n"},{"id":"89526","messageId":"200809022025.16793.alan@chandlerfamily.org.uk","threadId":"15292","inReplyTo":"a2075f4c0809020719u40850e8bk240db2ee1499ee0@mail.gmail.com","subject":"Re: Error on new installation","fromName":"Alan Chandler","fromEmail":"alan@chandlerfamily.org.uk","sentAt":"2008-09-02T19:25:16Z","receivedAt":"2008-09-02T19:25:16Z","isPatch":false,"sender":{"key":"alan@chandlerfamily.org.uk","avatar":"https://gravatar.com/avatar/1862247e5ea8eac114c842f9dc3a5db6253754e24ef7171757cf97eedce48b8c?d=mp&s=160"},"body":"On Tuesday 02 Sep 2008, Felipe Carvalho Oliveira wrote:\n> I use sshfs (my hosting don't permits Shell Acess) to mount my \"sftp\"\n> server on my filesystem and it works welll (a litle bit slow, but\n> works).\n\nInteresting - but I changed my mind in the end and use a \npost-commit/post-merge hook to see if I am now on my \"site\" branch on \nmy home change and then rsync the working tree over to the server.  It \nmeans I don't need the whole repository on the server, and I also can \nuse git-describe --tags to give me a version no reference file\n\n-- \nAlan Chandler\nhttp://www.chandlerfamily.org.uk\n"}]}