{"thread":{"id":"15673","subject":"re-licensing pkt-line.c code","startedAt":"2008-09-25T17:17:52Z","lastAt":"2008-09-26T11:42:07Z","messageCount":5,"participants":["Scott Chacon","Jakub Narebski","Andreas Ericsson","Shawn O. Pearce","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"91615","messageId":"d411cc4a0809251017h5509bbdmaef935c61cc0929@mail.gmail.com","threadId":"15673","inReplyTo":null,"subject":"re-licensing pkt-line.c code","fromName":"Scott Chacon","fromEmail":"schacon@gmail.com","sentAt":"2008-09-25T17:17:52Z","receivedAt":"2008-09-25T17:17:52Z","isPatch":false,"sender":{"key":"schacon@gmail.com","avatar":"https://gravatar.com/avatar/9b13a8a078e1dcf8588c4eea9554445d51ebed6c41b51f56f4d96738130b05c6?d=mp&s=160"},"body":"Hey all,\n\nI am writing a partial implementation of git in Objective-C so I can\nget a git server running on an iphone, and hopefully it could\neventually be used in a mac desktop app that could be distributed\nwithout the git binary. If anyone is interested in the project, you\ncan get it here:\n\nhttp://github.com/schacon/objective-git\n\nThere are about 20-25 lines of code from pkt-line.c that I think were\noriginally written back in 2005 that I would like to use so I don't\nhave to re-implement them.  It is pretty generic - it is just the code\nthat converts an int into a 4 char hex and back that is placed at the\nbeginning of several of the network protocol lines.\n\nhttp://github.com/schacon/objective-git/tree/master/ObjGitServerHandler.m#L554\n\nI have to relicense this, since I can't legally distribute my source\ncode for the iphone app due to Apples f**king NDA.  I would like to\nrelease my ObjectiveGit project under the MIT (or, alternately, LGPL).\n Is Linus the right person to ask for this permission?  What is the\nbest way to do so?  I could come up with an alternate way to\naccomplish the same thing, but it seems like a waste of time to do so,\nand helpful to nobody.\n\nThanks,\nScott\n"},{"id":"91616","messageId":"m3od2c2k29.fsf@localhost.localdomain","threadId":"15673","inReplyTo":"d411cc4a0809251017h5509bbdmaef935c61cc0929@mail.gmail.com","subject":"Re: Implementations of Git (was: re-licensing pkt-line.c code)","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-09-25T17:49:09Z","receivedAt":"2008-09-25T17:49:09Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\"Scott Chacon\" <schacon@gmail.com> writes:\n\n> I am writing a partial implementation of git in Objective-C so I can\n> get a git server running on an iphone, and hopefully it could\n> eventually be used in a mac desktop app that could be distributed\n> without the git binary. If anyone is interested in the project, you\n> can get it here:\n> \n> http://github.com/schacon/objective-git\n\nCould you add it to \"Interfaces to other programming languages\"\nsection[1] at http://git.or.cz/gitwiki/InterfacesFrontendsAndTools\nif you feel it is quite ready?\n\n[1] Perhaps it should be renamed to \"Interfaces to and implementations\n    in other programming languages\"...\n\n\nP.S. Do you know what is the status of git#, implementation of Git in\nC#, which was one of this year Google Summer of Code projects?\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"91617","messageId":"48DBD114.80805@op5.se","threadId":"15673","inReplyTo":"d411cc4a0809251017h5509bbdmaef935c61cc0929@mail.gmail.com","subject":"Re: re-licensing pkt-line.c code","fromName":"Andreas Ericsson","fromEmail":"ae@op5.se","sentAt":"2008-09-25T17:57:40Z","receivedAt":"2008-09-25T17:57:40Z","isPatch":false,"sender":{"key":"ae@op5.se","avatar":"https://gravatar.com/avatar/426e89595c75a8f5252dd0c989e5fabe5bcac616e68557427ad9aef6b0ca342a?d=mp&s=160"},"body":"Scott Chacon wrote:\n> Hey all,\n> \n> I am writing a partial implementation of git in Objective-C so I can\n> get a git server running on an iphone, and hopefully it could\n> eventually be used in a mac desktop app that could be distributed\n> without the git binary. If anyone is interested in the project, you\n> can get it here:\n> \n> http://github.com/schacon/objective-git\n> \n> There are about 20-25 lines of code from pkt-line.c that I think were\n> originally written back in 2005 that I would like to use so I don't\n> have to re-implement them.  It is pretty generic - it is just the code\n> that converts an int into a 4 char hex and back that is placed at the\n> beginning of several of the network protocol lines.\n> \n> http://github.com/schacon/objective-git/tree/master/ObjGitServerHandler.m#L554\n> \n> I have to relicense this, since I can't legally distribute my source\n> code for the iphone app due to Apples f**king NDA.  I would like to\n> release my ObjectiveGit project under the MIT (or, alternately, LGPL).\n>  Is Linus the right person to ask for this permission?  What is the\n> best way to do so?\n\n\nLinus wrote nearly all of pkt-line.c, so yes, he'd be the right person\nto ask. If the lines you need were co-authored by someone else, you'll\nneed to ask that co-author too.\n\n>  I could come up with an alternate way to\n> accomplish the same thing, but it seems like a waste of time to do so,\n> and helpful to nobody.\n> \n\nWell, tracking down the original author(s) could turn out to be harder.\n\n-- \nAndreas Ericsson                   andreas.ericsson@op5.se\nOP5 AB                             www.op5.se\nTel: +46 8-230225                  Fax: +46 8-230231\n"},{"id":"91618","messageId":"20080925180125.GS3669@spearce.org","threadId":"15673","inReplyTo":"48DBD114.80805@op5.se","subject":"Re: re-licensing pkt-line.c code","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-09-25T18:01:25Z","receivedAt":"2008-09-25T18:01:25Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Andreas Ericsson <ae@op5.se> wrote:\n> Scott Chacon wrote:\n>>\n>> There are about 20-25 lines of code from pkt-line.c that I think were\n>> originally written back in 2005 that I would like to use [...]\n>>\n>> I have to relicense this, since I can't legally distribute my source\n>> code for the iphone app due to Apples f**king NDA.  I would like to\n>> release my ObjectiveGit project under the MIT (or, alternately, LGPL).\n>\n>>  I could come up with an alternate way to\n>> accomplish the same thing, but it seems like a waste of time to do so,\n>> and helpful to nobody.\n>\n> Well, tracking down the original author(s) could turn out to be harder.\n\nIts already cost more time to ask for permission to reuse these\n20-25 lines of code than it would take to figure out how to write\nit yourself, and code it.  And Linus still hasn't had a chance to\nchime in on this thread.\n\nMy guess is you aren't going to get approval from him to relicense\nhis code.  But he doesn't hold a monopoly on int->hex conversion\nalgorithms so you should be able to implement something that produces\nthe same results, given the same inputs, and not have him sue you\nin some Utah court.\n\n-- \nShawn.\n"},{"id":"91675","messageId":"alpine.DEB.1.00.0809261335240.13830@pacific.mpi-cbg.de.mpi-cbg.de","threadId":"15673","inReplyTo":"m3od2c2k29.fsf@localhost.localdomain","subject":"git-sharp, was Re: Implementations of Git (was: re-licensing pkt-line.c code)","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-09-26T11:42:07Z","receivedAt":"2008-09-26T11:42:07Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 25 Sep 2008, Jakub Narebski wrote:\n\n> P.S. Do you know what is the status of git#, implementation of Git in \n> C#, which was one of this year Google Summer of Code projects?\n\nAs I suspected (hoping I would be wrong), the lack of communication (this \ntime with the Git community) did not help at all.\n\nThe latest commit is this:\n\nhttp://code.google.com/p/mono-soc-2008/source/detail?r=471\n\nimplementing a diff algorithm.\n\n>From what I can tell from the source (I do not have a working C# \nenvironment), the implementation repeats a lot of what Shawn told us \nearlier were his lessons from his first stab at JGit.  For example, I saw \nthat the contents of blobs are read into memory when the blob is read.  I \nhaven't checked closely, but I did not have the impression that there were \naccessors making it easy to turn this into a lazy read.\n\nTake-home message: if you think you should develop Open Source in a \nsecretive manner, you are almost certainly wrong, and your project will \nalmost certainly be slow or even fail (BTW I also see exactly this same \nproblem with Govind's try last year, which had a cool name, and then \nanother cool name, but not much to show for it).\n\nCiao,\nDscho\n"}]}