{"thread":{"id":"9461","subject":"Problem with http-repos vs filesys-remote-repos","startedAt":"2007-08-09T23:40:05Z","lastAt":"2007-08-10T00:04:36Z","messageCount":2,"participants":["Evan Carroll","Julian Phillips"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"50356","messageId":"428b865e0708091640x715a5950x128da5da493cef2@mail.gmail.com","threadId":"9461","inReplyTo":null,"subject":"Problem with http-repos vs filesys-remote-repos","fromName":"Evan Carroll","fromEmail":"me@evancarroll.com","sentAt":"2007-08-09T23:40:05Z","receivedAt":"2007-08-09T23:40:05Z","isPatch":false,"sender":{"key":"me@evancarroll.com","avatar":"https://gravatar.com/avatar/44cedb04dbe5c62bab26e330a8aeedb79187aec5229fae55f24c852198519014?d=mp&s=160"},"body":"A disclaimer:: I could have mucked with anything, I will not place the\nblame on git as if I had strictly adhered to the tutorial\ninstructions. Anything I did was through the UI, there was no mucking\nwith files. Thanks in advance and good luck:\n\nI have one repos located on /var/git/scraper.git, it houses a\nsmall-inhouse project which I'm trying to use to sell git with.\nUnfortunately, I've had a very difficult time doing everything with\ngit. Namely, pulling and pushing. It appears as if I git-clone this\nusing the file-system (fs) addressing I get a repos which `git log`\nshows was last modified on Aug 9th. However, if I check this out with\na git-clone using apache, which is simply hosting\n/var/git/scraper.git, I get a repos which was last updated on aug 7th\n- thus it is missing *a lot* of devel time. Now the 7th was when I\ncreated the --bare repos from my working directory git. All of the\ngits involved are using the latest stable version 1.5.2.4, they all\nbuilt cleanly. The log is as follows:\n\nAUG 7TH LAST COMMIT SHOWN WITH `git log`\necarroll@x60s:~/git_clone$ git-clone \"http://localhost:8080/scraper.git\"\nInitialized empty Git repository in /home/ecarroll/git_clone/test2/.git/\nGetting alternates list for http://localhost:8080/scraper.git\nGetting pack list for http://localhost:8080/scraper.git\nGetting index for pack e1abd952a37bfe85805996e69bee52a2c6ca8b5e\nGetting pack e1abd952a37bfe85805996e69bee52a2c6ca8b5e\n which contains b7aa242f4934d8fd0fbd46f1da6ed6a9b067c7fd\nwalk b7aa242f4934d8fd0fbd46f1da6ed6a9b067c7fd\nwalk 03e5aa7139b0bac0d8ba0172deea269e9ae260d8\nwalk 440123ec8cc4914b01cefbb47becb17f323d5be0\nwalk 80bbe821fba30e0c441488b8587c76d4b158b419\nwalk 43a52216c1a257e167f07d8d3f6a21f4b7ca2e7d\nwalk d60274e965eee8ad4621297681a3fbfa34b5bf94\nwalk e2bbe073669dee862f0952b8b270109604c0ecb4\nwalk 8274ce6c3bfa09b61b5552aa37192bcfaff6c365\nwalk 4d4a5169d50e0311eb8e040e81d4a5ee169e571e\nwalk d19088ace71dd6253b9375fcc255aad562617215\nwalk f41ecbd9bcd77f752c580e7ea817932aee4c3a67\nwalk 3ca0832b9f3749358bf38362c682eb65d1178f06\nwalk a01f7090894aeb68c53a31aa47d829857b8941f8\nwalk 802e9e5da7500e009a60b3474b8810ce2e8919f6\nwalk a785f5356f04989d5e5f377b47ce511838966801\nwalk ec139d2ed248c4ac1cb9ac212de340beec5b98d0\nwalk 505070b2e973344d68167fa74b7d0677e696389f\nwalk d15f3cc11d321f85d7171370d39a6e1c84c9d404\nwalk 3c49542c1e792dafdb3550646112761405d2228c\nwalk abd521924488a67aedb7fb04b4c125419aac4b31\nwalk fcf61439f3e8b9056820f4c645e2b0708909a49b\nwalk 5b9403e4ce6a99fd796ee6431e046401b4f22654\nwalk 346efee6bc1b5b040f7f3216fb797b7fe47169f4\nwalk 907c664f95a67f543318c9d98c77afad6a42cde6\nwalk c7400a750462b74f7e3ca38944e99c1bad0ffb40\nwalk 00cf9ba3c7b1bef826f798872abfe0f6ae2c88cf\nwalk 7a11ff1ca92714502619e1efab81d010660f1d3a\nwalk a85d4c191b625c540aa7c6404d3a4077e40c54ad\nwalk a1f168e39b561e715ea211c816681ac9d3bb723b\nwalk 2b7d935254f3dd96c0ed9917ba9eeb4ebb6a435e\nwalk 142ebf8d6db33be291979763eb1c5ad148efd52a\nwalk 9c567513df3e1cde356a8b481ddc48427676a9cf\nwalk 058ce00fc69ec1c220cee1a6d1cd4a1dbf7ccf8d\nwalk bcffa5ee33a03021b15351275349003ebdf3b4c9\nwalk cb7085573783e385333c1e6fdda23abc98a1b4b5\nwalk c270169aa2031abb0baeedfe6b518482ec5fd6ab\nwalk 8399e6433890370194d63572ba94b9a211238d72\nwalk cc04ae74ce1c2f7430d4eed7b8ce8a46e8f0e04c\nwalk 6e9b3fb69d0fdd7f6d4c9184a4ed46713d685d30\nwalk 99b6b4627d9cebcb616d33956bd80f3756336985\nwalk b253c3ca8fb18c4e9a151a00ededa98300eb8ff0\nwalk cd2f1f880ad3f0771e4458d62d2add8cad1251bb\nwalk c4ef38a70079ba6408345ffccace89863f994220\nwalk de21695739e313a6eba9e67965b91dbbabde4455\nwalk dfa6f513114a67f873e1a8304b51110f3a5e4861\nwalk 17c9e0b434ab918dc566049115a522cbdf3f1686\nwalk 90f1cb3e801d54ebcc6fb9d6bb7ddf1df1ba0cca\nwalk d3da5763afbc5c22f2a69a4040ae4c7203c061ce\nwalk 07b5c81f66dbc025e22e51feb1911088b50e6eea\nwalk 29b78272554de6a2565ff392bd9f3d3c123e805d\nwalk 75721e0ce144d90f97bbd48663263da9a6ef9366\nwalk b4604048a6c0208288a2468de98e12500c7e1fc3\nwalk 132777acf1b8770774c3efb3a4783a575f8d013f\nwalk a1095219e06b9b62bb5e06338146bfe97719bd32\nwalk 2e625354fce8384bad459a26ec27e841ecd63609\nwalk be9e8d9233171bbd86a3dc473238bc86c2766567\nwalk d0ec8e0706f11fc0fb942e34d4f4fec338870a79\nwalk 6d4a3791943549d59f31a04b6d328d466d1ab554\nwalk 2a8eba32ae6a0d2b826dc3dd4c4a555b550b939e\nwalk 7fdbe0eb9806bc76d9f55527a83d4f0005502b28\nwalk fca1be7a710df50aeb86545348d859021adc2e29\nwalk 60eb65a60345727a3215c579d836d1e6ca6977f4\nwalk 2fea2cd7474131af90d791331dfe45f711711794\nwalk 7da3e7bc32ca0019bff07d5339504997ec711a06\nwalk 0647f6f9c1b2f9e09dbd26dd4f8e8c270cdda715\n\n\nAUG 9TH LAST COMMIT SHOWN WITH `git log`.\necarroll@x60s:~/git_clone$ git-clone /var/git/scraper.git/ ./test1\nInitialized empty Git repository in /home/ecarroll/git_clone/test1/.git/\nremote: Generating pack...\nremote: Done counting 384 objects.\nremote: Deltifying 384 objects...\nIndexing 384 objects... done\nremote: 00% (384/384) donene\nTotal 384 (delta 173), reused 359 (delta 157)\n 100% (384/384) done\nResolving 173 deltas...\n 100% (173/173) done\n\n\nWhile you are chewing on that there are two things I want to see done\nto the UI (my wishlist)::\n\nmore serious error messages -- they are so far off as is, if someone\ncould patch just the simple `git-clone` to error more intelligently if\nit isn't addressed to the .git directory!! If someone hosts there WD\non a webhost, they intuitively think they should (i did) clone it by\naddressing the curdir, and not the './.git', the undescriptive error\nmessage stings.\n\"Perhaps git-update-server-info needs to be run there?\" needs to be\naccompinied by a more logical newbieish error of the sort \"Are you\ntargetting the working directory.\"\n\nMy second complaint is everything reporting it is \"up to date.\" If\neverything is up to date say \"everything\", if both things are mimicked\nthe pedagogic term is \"synchronized\", if the repos isn't totally\nsynced, then tell me what you have updated/merged and where you put\nwhat you received!\n\necarroll@x60s:~/git_clone$ diff <(find ./test1 -printf \"\\n%f\") <(find\n./test2 -printf \"\\n%f\" )\n2c2\n< test1\n---\n> test2\n9a10\n> Moose-extends\n29,30c30,31\n< pack-183aa1d0a0a7db1c379268003d9a1ad64ddb9063.pack\n< pack-183aa1d0a0a7db1c379268003d9a1ad64ddb9063.idx\n---\n> pack-e1abd952a37bfe85805996e69bee52a2c6ca8b5e.idx\n> pack-e1abd952a37bfe85805996e69bee52a2c6ca8b5e.pack\n31a33\n> b7\n35a38\n> Moose-extends\n55d57\n< CSV.pm\n\nPlease cc me in all responses me@evancarroll.com\n-- \nEvan Carroll\nSystem Lord of the Internets\nme@evancarroll.com\n832-445-8877\n"},{"id":"50359","messageId":"Pine.LNX.4.64.0708100101570.26697@beast.quantumfyre.co.uk","threadId":"9461","inReplyTo":"428b865e0708091640x715a5950x128da5da493cef2@mail.gmail.com","subject":"Re: Problem with http-repos vs filesys-remote-repos","fromName":"Julian Phillips","fromEmail":"julian@quantumfyre.co.uk","sentAt":"2007-08-10T00:04:36Z","receivedAt":"2007-08-10T00:04:36Z","isPatch":false,"sender":{"key":"julian@quantumfyre.co.uk","avatar":"https://avatars.githubusercontent.com/u/948888?v=4"},"body":"On Thu, 9 Aug 2007, Evan Carroll wrote:\n\n> A disclaimer:: I could have mucked with anything, I will not place the\n> blame on git as if I had strictly adhered to the tutorial\n> instructions. Anything I did was through the UI, there was no mucking\n> with files. Thanks in advance and good luck:\n>\n> I have one repos located on /var/git/scraper.git, it houses a\n> small-inhouse project which I'm trying to use to sell git with.\n> Unfortunately, I've had a very difficult time doing everything with\n> git. Namely, pulling and pushing. It appears as if I git-clone this\n> using the file-system (fs) addressing I get a repos which `git log`\n> shows was last modified on Aug 9th. However, if I check this out with\n> a git-clone using apache, which is simply hosting\n> /var/git/scraper.git, I get a repos which was last updated on aug 7th\n> - thus it is missing *a lot* of devel time. Now the 7th was when I\n> created the --bare repos from my working directory git. All of the\n> gits involved are using the latest stable version 1.5.2.4, they all\n> built cleanly. The log is as follows:\n\nHave you enabled the post-update hook on your server (chmod +X \n/var/git/scraper.git/hooks/post-update)?  You need to run \"git \nupdate-server-info\" after updating a repo to allow clones via http to work \nproperly.  The default post-update hook does this for you.\n\n-- \nJulian\n\n  ---\n\nNo, I do not know what the Schadenfreude is.  Please tell me, because\nI'm dying to know.\n\n \t\t-- Homer Simpson\n \t\t   When Flanders Failed\n"}]}