{"thread":{"id":"55760","subject":"[GSoC] My Git Dev Blog","startedAt":"2021-05-22T16:42:10Z","lastAt":"2021-05-31T08:32:41Z","messageCount":13,"participants":["Atharva Raykar","Philippe Blain","Bagas Sanjaya","Christian Couder","Felipe Contreras","Kaartic Sivaraam"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"425336","messageId":"35493133-2504-4CAE-B700-79EAB990DD17@gmail.com","threadId":"55760","inReplyTo":null,"subject":"[GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-22T16:42:00Z","receivedAt":"2021-05-22T16:42:10Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"Hi all,\n\nAs is tradition, I have started my weekly GSoC blog :)\n\nHere is week 1: https://atharvaraykar.me/gitnotes/week1\n\nI shall be sharing my progress, thoughts, experiences and any\ninformation that might help future contributors in my blog.\n\nAfter my GSoC period, I hope to convert it into a blog that\nwill help pull in and guide new contributors to Git development.\n\nAny kind of feedback will be appreciated!\n\nYou can find the listing of all of the posts at\nhttps://atharvaraykar.me/gitnotes/\n\nI will update this thread every week when I make a new post.\n\n--\nAtharva Raykar\n"},{"id":"425342","messageId":"ee246d04-4ae3-1697-0f63-13012c95ed49@gmail.com","threadId":"55760","inReplyTo":"35493133-2504-4CAE-B700-79EAB990DD17@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Philippe Blain","fromEmail":"levraiphilippeblain@gmail.com","sentAt":"2021-05-22T19:39:22Z","receivedAt":"2021-05-22T19:39:51Z","isPatch":false,"sender":{"key":"levraiphilippeblain@gmail.com","avatar":"https://avatars.githubusercontent.com/u/44212482?v=4"},"body":"Hi Atharva,\n\nLe 2021-05-22 à 12:42, Atharva Raykar a écrit :\n> Hi all,\n> \n> As is tradition, I have started my weekly GSoC blog :)\n> \n> Here is week 1: https://atharvaraykar.me/gitnotes/week1\n>\n\nI enjoyed reading your first post. About gettext, note that\nif you do not want to hardcode a specific version of gettext\nin your LDFLAGS/CFLAGS, you could use '/usr/local/opt/gettext/{include,lib}',\nor rather, the equivalent for M1 Macs, which I guess would be\n'/opt/homebrew/opt/gettext' ? Can't test as I'm on Intel...\n\nOn a second note, for your information\nthe 'configure' build approach is not as well maintained as\nthe Makefile-only approach, so it's good to make it work with the plain Makefile.\n\nCheers and good luck for your internship,\n\nPhilippe.\n\n"},{"id":"425356","messageId":"f1fca31b-17b8-9dbb-4d46-dda8c44645c1@gmail.com","threadId":"55760","inReplyTo":"35493133-2504-4CAE-B700-79EAB990DD17@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Bagas Sanjaya","fromEmail":"bagasdotme@gmail.com","sentAt":"2021-05-23T08:10:57Z","receivedAt":"2021-05-23T08:11:09Z","isPatch":false,"sender":{"key":"bagasdotme@gmail.com","avatar":"https://avatars.githubusercontent.com/u/40219486?v=4"},"body":"Hi Atharva,\n\nOn 22/05/21 23.42, Atharva Raykar wrote:\n> Hi all,\n> \n> As is tradition, I have started my weekly GSoC blog :)\n> \n> Here is week 1: https://atharvaraykar.me/gitnotes/week1\n> \n> I shall be sharing my progress, thoughts, experiences and any\n> information that might help future contributors in my blog.\n> \n> After my GSoC period, I hope to convert it into a blog that\n> will help pull in and guide new contributors to Git development.\n> \n> Any kind of feedback will be appreciated!\n> \n\nYou said on your blog that you switched your development environment\nfrom Linux (what the distro you used previously?) to macOS. Why did\nyou make the switch?\n\nNext, you mentioned that you set up emacs config for Git developers\n(ones that contribute code to git.git). Since I use (r)vim instead\nof emacs as my editor, what are similar configs for vim?\n\nAnd finally, you said that you had to deal with \"header not found\"\nerrors. I asked these questions:\n\n   1. You mentioned that in order to link against gettext on non-standard\n      path, you did:\n> ./configure \"LDFLAGS=$LDFLAGS -L/opt/homebrew/Cellar/gettext/0.21/lib\" \\\n>      \"CFLAGS=-I/opt/homebrew/Cellar/gettext/0.21/include\"\n      Why did you use full path to gettext? I suspect that you can instead\n      use `LDFLAGS= $LDFLAGS -L/opt/homebrew/lib \\\n      CFLAGS=-I/opt/homebrew/include`, because when you install a library\n      using homebrew, it will symlink the library location from homebrew\n      standard hierarchy (/opt/homebrew/{lib,include}) to actual location\n      (/opt/homebrew/<User>/<package>/<version>/{lib,include}).\n   2. Can these procedure above for linking Git against libraries at\n      non-standard locations (such as /opt) be applicable also to Linux\n      systems? Try to adapt that procedure on your Linux system (if\n      available), with custom-compiled newer version of any of Git\n      dependencies (such as gettext).\n\nThanks.\n\n-- \nAn old man doll... just what I always wanted! - Clara\n"},{"id":"425378","messageId":"E184F0EC-BC4B-48A1-9CB0-C25A3268C208@gmail.com","threadId":"55760","inReplyTo":"ee246d04-4ae3-1697-0f63-13012c95ed49@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-23T11:50:39Z","receivedAt":"2021-05-23T11:50:47Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"On 23-May-2021, at 01:09, Philippe Blain <levraiphilippeblain@gmail.com> wrote:\n> \n> Hi Atharva,\n> \n> Le 2021-05-22 à 12:42, Atharva Raykar a écrit :\n>> Hi all,\n>> As is tradition, I have started my weekly GSoC blog :)\n>> Here is week 1: https://atharvaraykar.me/gitnotes/week1\n>> \n> \n> I enjoyed reading your first post. About gettext, note that\n> if you do not want to hardcode a specific version of gettext\n> in your LDFLAGS/CFLAGS, you could use '/usr/local/opt/gettext/{include,lib}',\n> or rather, the equivalent for M1 Macs, which I guess would be\n> '/opt/homebrew/opt/gettext' ? Can't test as I'm on Intel...\n\nThanks for pointing this out. This worked as well on my M1 Mac.\nAs Bagas suggested in this thread, using '/opt/homebrew/{include,lib}'\nalso works, as homebrew symlinks the actual location to that directory.\n\nI'll update my blog entry.\n\n> On a second note, for your information\n> the 'configure' build approach is not as well maintained as\n> the Makefile-only approach, so it's good to make it work with the plain Makefile.\n\nNoted. I realised the real blooper for me that snowballed into my janky\nfix was looking at resources on building Git in all sorts of places\nonline, while not noticing the fact that there was a pretty clear\nINSTALL file in the source all along (:\n\n> Cheers and good luck for your internship,\n\nThanks!\n\n> Philippe.\n> \n\n"},{"id":"425379","messageId":"89EAC320-9B0B-4E16-9433-FE80B1A1DF81@gmail.com","threadId":"55760","inReplyTo":"f1fca31b-17b8-9dbb-4d46-dda8c44645c1@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-23T11:50:41Z","receivedAt":"2021-05-23T11:50:51Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"On 23-May-2021, at 13:40, Bagas Sanjaya <bagasdotme@gmail.com> wrote:\n> \n> Hi Atharva,\n> \n> On 22/05/21 23.42, Atharva Raykar wrote:\n>> Hi all,\n>> As is tradition, I have started my weekly GSoC blog :)\n>> Here is week 1: https://atharvaraykar.me/gitnotes/week1\n>> I shall be sharing my progress, thoughts, experiences and any\n>> information that might help future contributors in my blog.\n>> After my GSoC period, I hope to convert it into a blog that\n>> will help pull in and guide new contributors to Git development.\n>> Any kind of feedback will be appreciated!\n> \n> You said on your blog that you switched your development environment\n> from Linux (what the distro you used previously?) to macOS. Why did\n> you make the switch?\n\nNo special reason for this. My old Linux machine was due for\nan upgrade, and a new M1 Macbook has since taken its place.\n\n> Next, you mentioned that you set up emacs config for Git developers\n> (ones that contribute code to git.git). Since I use (r)vim instead\n> of emacs as my editor, what are similar configs for vim?\n\nI don't really use Vim that much and I am not that familiar\nwith how to configure it. Sorry, I don't think I can be of\nmuch help here. I also don't want to share tips on my blog\nthat I won't be making use of.\n\n> And finally, you said that you had to deal with \"header not found\"\n> errors. I asked these questions:\n> \n>  1. You mentioned that in order to link against gettext on non-standard\n>     path, you did:\n>> ./configure \"LDFLAGS=$LDFLAGS -L/opt/homebrew/Cellar/gettext/0.21/lib\" \\\n>>     \"CFLAGS=-I/opt/homebrew/Cellar/gettext/0.21/include\"\n>     Why did you use full path to gettext? I suspect that you can instead\n>     use `LDFLAGS= $LDFLAGS -L/opt/homebrew/lib \\\n>     CFLAGS=-I/opt/homebrew/include`, because when you install a library\n>     using homebrew, it will symlink the library location from homebrew\n>     standard hierarchy (/opt/homebrew/{lib,include}) to actual location\n>     (/opt/homebrew/<User>/<package>/<version>/{lib,include}).\n\nThanks a lot! This was helpful and did work out for me. Since\nI am new to macOS (and homebrew), I did not know about this\nhierarchy. I finally decided I would update my post to use\nthis along with a Makefile-only approach recommended by Philippe.\n\n>  2. Can these procedure above for linking Git against libraries at\n>     non-standard locations (such as /opt) be applicable also to Linux\n>     systems? Try to adapt that procedure on your Linux system (if\n>     available), with custom-compiled newer version of any of Git\n>     dependencies (such as gettext).\n\nI'm not too sure, and unfortunately I don't have my old Linux\nsystem to verify this.\n\n> Thanks.\n> \n> -- \n> An old man doll... just what I always wanted! - Clara\n\n"},{"id":"425455","messageId":"CAP8UFD1P5tnDtuzBgvHL+dZMWNKoGQpitZGyYAy8qcaDUnouFg@mail.gmail.com","threadId":"55760","inReplyTo":"35493133-2504-4CAE-B700-79EAB990DD17@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Christian Couder","fromEmail":"christian.couder@gmail.com","sentAt":"2021-05-24T20:18:13Z","receivedAt":"2021-05-24T20:18:27Z","isPatch":false,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Hi Atharva,\n\nOn Sat, May 22, 2021 at 6:42 PM Atharva Raykar <raykar.ath@gmail.com> wrote:\n>\n> Hi all,\n>\n> As is tradition, I have started my weekly GSoC blog :)\n>\n> Here is week 1: https://atharvaraykar.me/gitnotes/week1\n>\n> I shall be sharing my progress, thoughts, experiences and any\n> information that might help future contributors in my blog.\n>\n> After my GSoC period, I hope to convert it into a blog that\n> will help pull in and guide new contributors to Git development.\n>\n> Any kind of feedback will be appreciated!\n\nGreat!\n\nI found only a missing \"how\":\n\ns/as I have not yet fully understood config handling generally\nworks/as I have not yet fully understood how config handling generally\nworks/\n\n> You can find the listing of all of the posts at\n> https://atharvaraykar.me/gitnotes/\n>\n> I will update this thread every week when I make a new post.\n\nThanks,\nChristian.\n"},{"id":"425907","messageId":"B932C097-1B91-4D59-9CC7-1B91C86FA1A1@gmail.com","threadId":"55760","inReplyTo":"35493133-2504-4CAE-B700-79EAB990DD17@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-30T07:07:04Z","receivedAt":"2021-05-30T07:21:13Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"Hi,\n\nOn 22-May-2021, at 22:12, Atharva Raykar <raykar.ath@gmail.com> wrote:\n> \n> [...]\n> I will update this thread every week when I make a new post.\n\nA new blog post is out at: http://atharvaraykar.me/gitnotes/week2\n\nSummary of what's in it:\n\n* Deliberate and not-so-deliberate things left behind by developers\n  -- and why they are valuable (especially for my first patch)\n\n* My work as putting cherries on top of other people's cakes\n\n* A debugging blooper -- showing my mistakes in the hopes that\n  there is something to learn from it\n\nThe usual things apply: feedback and discussion is welcome.\n"},{"id":"425931","messageId":"60b3c04032b61_b9372081e@natae.notmuch","threadId":"55760","inReplyTo":"f1fca31b-17b8-9dbb-4d46-dda8c44645c1@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2021-05-30T16:41:36Z","receivedAt":"2021-05-30T16:41:41Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"Bagas Sanjaya wrote:\n> Since I use (r)vim instead of emacs as my editor, what are similar\n> configs for vim?\n\nI'm not sure if you are suggesting he includes those in his post, or\nasking in general, but:\n\nhttps://lore.kernel.org/git/20201209065537.48802-2-felipe.contreras@gmail.com/\n\n-- \nFelipe Contreras\n"},{"id":"425933","messageId":"4d51b7bf-966c-c3fc-ce1a-62c0db4af29a@gmail.com","threadId":"55760","inReplyTo":"B932C097-1B91-4D59-9CC7-1B91C86FA1A1@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Kaartic Sivaraam","fromEmail":"kaartic.sivaraam@gmail.com","sentAt":"2021-05-30T17:30:10Z","receivedAt":"2021-05-30T17:30:24Z","isPatch":false,"sender":{"key":"kaartic.sivaraam@gmail.com","avatar":"https://avatars.githubusercontent.com/u/12448084?v=4"},"body":"Hi Atharva,\n\nOn 30/05/21 12:37 pm, Atharva Raykar wrote:\n> Hi,\n> \n> On 22-May-2021, at 22:12, Atharva Raykar <raykar.ath@gmail.com> wrote:\n>>\n>> [...]\n>> I will update this thread every week when I make a new post.\n> \n> A new blog post is out at: http://atharvaraykar.me/gitnotes/week2\n> \n\nNice post!\n\nJust one suggestion. While reading, I felt that it would've been\nnice if it had a few links. For instance,\n\n> The patch that I ended up sending this week is heavily based on\n> the work of two generations of GSoC programmers who struggled\n > over this problem.\n\nThe text above could've had a link somewhere to the patch you sent\nto the mailing list:\n\nhttps://public-inbox.org/git/20210528081224.69163-1-raykar.ath@gmail.com/\n\n> I studied Shourya’s stalled patch, parts of which had already\n> been reviewed.\n\n... and the above text could've had a link to Shourya's patch\nseries you mention:\n\nhttps://public-inbox.org/git/20201214231939.644175-1-periperidip@gmail.com/\n\n> In the spirit of Git being “the stupid content tracker”, I have\n> decided to actually live up to that phrase and keep a track of\n> my stupid moments in this section of my weekly reports, in the\n> hopes that there is something here to learn from.\n\nGood initiative. It indeed might turn out to be very helpful.\nI won't surprised if it even turns out to help you, sometime in the\nfuture ;-)\n\n> For whatever reason, I thought of the most convoluted explanations,\n> not realising that they actually don’t make any sense. Thoughts like:\n> “Is the memory buffer not having tab separated tokens? Are they\n> separated by some special whitespace character??”\n\nI could totally feel you here. Things would get better over time.\n\nHope this helps,\nSivaraam\n"},{"id":"425967","messageId":"374870FA-CAAA-4027-9AD6-E08EF63D85CD@gmail.com","threadId":"55760","inReplyTo":"4d51b7bf-966c-c3fc-ce1a-62c0db4af29a@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-31T05:41:29Z","receivedAt":"2021-05-31T05:41:40Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"On 30-May-2021, at 23:00, Kaartic Sivaraam <kaartic.sivaraam@gmail.com> wrote:\n> \n> Hi Atharva,\n> \n> [...]\n> \n> Just one suggestion. While reading, I felt that it would've been\n> nice if it had a few links. For instance,\n> \n>> The patch that I ended up sending this week is heavily based on\n>> the work of two generations of GSoC programmers who struggled\n> > over this problem.\n> \n> The text above could've had a link somewhere to the patch you sent\n> to the mailing list:\n> \n> https://public-inbox.org/git/20210528081224.69163-1-raykar.ath@gmail.com/\n> \n>> I studied Shourya’s stalled patch, parts of which had already\n>> been reviewed.\n> \n> ... and the above text could've had a link to Shourya's patch\n> series you mention:\n> \n> https://public-inbox.org/git/20201214231939.644175-1-periperidip@gmail.com/\n\nSure. Thanks for saving me some of the effort to get the links :D\n\n\n"},{"id":"425978","messageId":"2691ddbb-940d-34e2-6865-85890a96ec90@gmail.com","threadId":"55760","inReplyTo":"B932C097-1B91-4D59-9CC7-1B91C86FA1A1@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Bagas Sanjaya","fromEmail":"bagasdotme@gmail.com","sentAt":"2021-05-31T06:55:53Z","receivedAt":"2021-05-31T06:56:01Z","isPatch":false,"sender":{"key":"bagasdotme@gmail.com","avatar":"https://avatars.githubusercontent.com/u/40219486?v=4"},"body":"Hi Atharva,\n\nOn 30/05/21 14.07, Atharva Raykar wrote:\n> Hi,\n> \n> On 22-May-2021, at 22:12, Atharva Raykar <raykar.ath@gmail.com> wrote:\n>>\n>> [...]\n>> I will update this thread every week when I make a new post.\n> \n> A new blog post is out at: http://atharvaraykar.me/gitnotes/week2\n> \n> Summary of what's in it:\n> \n> * Deliberate and not-so-deliberate things left behind by developers\n>    -- and why they are valuable (especially for my first patch)\n> \n> * My work as putting cherries on top of other people's cakes\n> \n> * A debugging blooper -- showing my mistakes in the hopes that\n>    there is something to learn from it\n> \n> The usual things apply: feedback and discussion is welcome.\n> \n\nI think it's better to post link to each blogpost as separate threads, \nbecause we can discuss each posts at its own merit.\n\n-- \nAn old man doll... just what I always wanted! - Clara\n"},{"id":"425982","messageId":"56956774-0BE8-4598-85EB-E92E495C80A3@gmail.com","threadId":"55760","inReplyTo":"2691ddbb-940d-34e2-6865-85890a96ec90@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Atharva Raykar","fromEmail":"raykar.ath@gmail.com","sentAt":"2021-05-31T07:43:07Z","receivedAt":"2021-05-31T07:43:53Z","isPatch":false,"sender":{"key":"raykar.ath@gmail.com","avatar":"https://avatars.githubusercontent.com/u/24277692?v=4"},"body":"On 31-May-2021, at 12:25, Bagas Sanjaya <bagasdotme@gmail.com> wrote:\n> \n> I think it's better to post link to each blogpost as separate threads, because we can discuss each posts at its own merit.\n\nSure, I can do that next week onwards.\n\n> -- \n> An old man doll... just what I always wanted! - Clara\n\n"},{"id":"425991","messageId":"CAP8UFD2c52zQe0mUmLGhFejRgAL_WMas=2rJARtX=Y9Nd_E1vQ@mail.gmail.com","threadId":"55760","inReplyTo":"56956774-0BE8-4598-85EB-E92E495C80A3@gmail.com","subject":"Re: [GSoC] My Git Dev Blog","fromName":"Christian Couder","fromEmail":"christian.couder@gmail.com","sentAt":"2021-05-31T08:32:25Z","receivedAt":"2021-05-31T08:32:41Z","isPatch":false,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"On Mon, May 31, 2021 at 9:43 AM Atharva Raykar <raykar.ath@gmail.com> wrote:\n>\n> On 31-May-2021, at 12:25, Bagas Sanjaya <bagasdotme@gmail.com> wrote:\n> >\n> > I think it's better to post link to each blogpost as separate threads, because we can discuss each posts at its own merit.\n>\n> Sure, I can do that next week onwards.\n\nThanks! I think it could help people get interested in your blog posts too.\n"}]}