{"thread":{"id":"451","subject":"cogito cg-update fails","startedAt":"2005-05-03T03:19:34Z","lastAt":"2005-05-03T06:46:33Z","messageCount":4,"participants":["Benjamin Herrenschmidt","Steven Cole","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"2437","messageId":"1115090374.6030.50.camel@gaston","threadId":"451","inReplyTo":null,"subject":"cogito cg-update fails","fromName":"Benjamin Herrenschmidt","fromEmail":"benh@kernel.crashing.org","sentAt":"2005-05-03T03:19:34Z","receivedAt":"2005-05-03T03:19:34Z","isPatch":false,"sender":{"key":"benh@kernel.crashing.org","avatar":null},"body":"Hi Folks !\n\nI have something weird happening with cogito. What I did is:\n\n - d/l & install 0.8 archive\n - cg-init <rync path>\n - built & install that, removed 0.8 files\n - a bit later: cg-update origin to check for new stuffs\n\nThe last one fails with:\n\nbenh@pogo:~/cogito$ cg-update origin\nMOTD:\nMOTD:   .../.. stripped kernel.org legal blurb\n\nreceiving file list ... done\n.git/refs/heads/origin\n\nsent 119 bytes  received 857 bytes  390.40 bytes/sec\ntotal size is 41  speedup is 0.04\nrsync: link_stat \"/home/benh/cogito/origin/objects/.\" failed: No such file or directory (2)\nbuilding file list ... done\nrsync error: some files could not be transferred (code 23) at main.c(702)\n\nsent 17 bytes  received 20 bytes  74.00 bytes/sec\ntotal size is 0  speedup is 0.00\ncg-pull: objects pull failed\n\nSo it looks like it's trying to rsync to a bogus destination ...\n\nBen.\n\n\n"},{"id":"2441","messageId":"200505022157.07800.elenstev@mesatop.com","threadId":"451","inReplyTo":"1115090374.6030.50.camel@gaston","subject":"Re: cogito cg-update fails","fromName":"Steven Cole","fromEmail":"elenstev@mesatop.com","sentAt":"2005-05-03T03:57:07Z","receivedAt":"2005-05-03T03:57:07Z","isPatch":false,"sender":{"key":"elenstev@mesatop.com","avatar":null},"body":"On Monday 02 May 2005 09:19 pm, Benjamin Herrenschmidt wrote:\n> Hi Folks !\n> \n> I have something weird happening with cogito. What I did is:\n> \n>  - d/l & install 0.8 archive\n>  - cg-init <rync path>\n>  - built & install that, removed 0.8 files\n>  - a bit later: cg-update origin to check for new stuffs\n> \n> The last one fails with:\n> \n> benh@pogo:~/cogito$ cg-update origin\n> MOTD:\n> MOTD:   .../.. stripped kernel.org legal blurb\n> \n> receiving file list ... done\n> .git/refs/heads/origin\n> \n> sent 119 bytes  received 857 bytes  390.40 bytes/sec\n> total size is 41  speedup is 0.04\n> rsync: link_stat \"/home/benh/cogito/origin/objects/.\" failed: No such file or directory (2)\n> building file list ... done\n> rsync error: some files could not be transferred (code 23) at main.c(702)\n> \n> sent 17 bytes  received 20 bytes  74.00 bytes/sec\n> total size is 0  speedup is 0.00\n> cg-pull: objects pull failed\n> \n> So it looks like it's trying to rsync to a bogus destination ...\n> \n> Ben.\n> \n\nYeah, I got exactly the same behavior a little while ago, but thanks\nto www.kernel.org/git, I saw that the problem had been found and fixed.\n\nI had an older backup copy of all the cogito scripts, so I used that to update.\n\nI believe the fix is this patch:\n\n===== cd7a12e5d569d59a04823114c275a83d65b9f37e vs 437167273f77c0d5f039280d158b43324a79f820 =====\n--- a/cg-pull\n+++ b/cg-pull\n@@ -48,7 +48,7 @@ fetch_rsync () {\n }\n \n pull_rsync () {\n-\tfetch_rsync -s -u -d \"$1/objects\" \".git/objects\"\n+\tfetch_rsync -s -u -d \"$2/objects\" \".git/objects\"\n }\n \n \nHope this helps,\nSteven\n"},{"id":"2448","messageId":"1115094227.6031.62.camel@gaston","threadId":"451","inReplyTo":"200505022157.07800.elenstev@mesatop.com","subject":"Re: cogito cg-update fails","fromName":"Benjamin Herrenschmidt","fromEmail":"benh@kernel.crashing.org","sentAt":"2005-05-03T04:23:46Z","receivedAt":"2005-05-03T04:23:46Z","isPatch":false,"sender":{"key":"benh@kernel.crashing.org","avatar":null},"body":"\n> \n> Yeah, I got exactly the same behavior a little while ago, but thanks\n> to www.kernel.org/git, I saw that the problem had been found and fixed.\n> \n> I had an older backup copy of all the cogito scripts, so I used that to update.\n> \n> I believe the fix is this patch:\n\nThanks, fixed it ! Current top of tree seem to be fine too.\n\nCheers,\nBen.\n\n> ===== cd7a12e5d569d59a04823114c275a83d65b9f37e vs 437167273f77c0d5f039280d158b43324a79f820 =====\n> --- a/cg-pull\n> +++ b/cg-pull\n> @@ -48,7 +48,7 @@ fetch_rsync () {\n>  }\n>  \n>  pull_rsync () {\n> -\tfetch_rsync -s -u -d \"$1/objects\" \".git/objects\"\n> +\tfetch_rsync -s -u -d \"$2/objects\" \".git/objects\"\n>  }\n>  \n> \n> Hope this helps,\n> Steven\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n-- \nBenjamin Herrenschmidt <benh@kernel.crashing.org>\n\n"},{"id":"2453","messageId":"20050503064633.GA10244@pasky.ji.cz","threadId":"451","inReplyTo":"1115094227.6031.62.camel@gaston","subject":"Re: cogito cg-update fails","fromName":"Petr Baudis","fromEmail":"pasky@ucw.cz","sentAt":"2005-05-03T06:46:33Z","receivedAt":"2005-05-03T06:46:33Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Tue, May 03, 2005 at 06:23:46AM CEST, I got a letter\nwhere Benjamin Herrenschmidt <benh@kernel.crashing.org> told me that...\n> \n> > \n> > Yeah, I got exactly the same behavior a little while ago, but thanks\n> > to www.kernel.org/git, I saw that the problem had been found and fixed.\n> > \n> > I had an older backup copy of all the cogito scripts, so I used that to update.\n> > \n> > I believe the fix is this patch:\n> \n> Thanks, fixed it ! Current top of tree seem to be fine too.\n\nYes, sorry about this. I fixed it right away but then forgot to push it,\nso it appears some people got it in the meantime. :-(\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nC++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor\n"}]}