{"thread":{"id":"20228","subject":"Git Option/Subcommand Processing Library?","startedAt":"2009-07-25T16:28:12Z","lastAt":"2009-07-26T00:38:48Z","messageCount":5,"participants":["Michael Bergin","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118729","messageId":"231BD892-07B1-452C-A224-047829E21991@gmail.com","threadId":"20228","inReplyTo":null,"subject":"Git Option/Subcommand Processing Library?","fromName":"Michael Bergin","fromEmail":"michaeljbergin@gmail.com","sentAt":"2009-07-25T16:28:12Z","receivedAt":"2009-07-25T16:28:12Z","isPatch":false,"sender":{"key":"michaeljbergin@gmail.com","avatar":null},"body":"Is there a library containing just the option and subcommand  \nprocessing code from git?  I saw a post about gitopt but can't find a  \nproject with that name.  If not is there any problem with me doing  \nthis?  Thanks.\n\n- Mike Bergin\n"},{"id":"118730","messageId":"alpine.DEB.1.00.0907251830420.8306@pacific.mpi-cbg.de","threadId":"20228","inReplyTo":"231BD892-07B1-452C-A224-047829E21991@gmail.com","subject":"Re: Git Option/Subcommand Processing Library?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-07-25T16:32:54Z","receivedAt":"2009-07-25T16:32:54Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 25 Jul 2009, Michael Bergin wrote:\n\n> Is there a library containing just the option and subcommand processing \n> code from git?  I saw a post about gitopt but can't find a project with \n> that name.\n\nThe \"library\" is contained in the files parse-options.[ch] in git.git.  I \nam unsure if you need strbuf.c, too, or not.\n\n> If not is there any problem with me doing this?\n\nNot if you abide by the license of git.git, which is GPLv2.\n\nCiao,\nDscho\n"},{"id":"118772","messageId":"D30CE3A7-176D-4132-88A6-23C46A4EA185@gmail.com","threadId":"20228","inReplyTo":"alpine.DEB.1.00.0907251830420.8306@pacific.mpi-cbg.de","subject":"Re: Git Option/Subcommand Processing Library?","fromName":"Michael Bergin","fromEmail":"michaeljbergin@gmail.com","sentAt":"2009-07-25T19:51:39Z","receivedAt":"2009-07-25T19:51:39Z","isPatch":false,"sender":{"key":"michaeljbergin@gmail.com","avatar":null},"body":"Thanks for the pointers.  I also want to create a generic library for  \ncommand facades like git.  For that I will probably use git.c as a  \nguide but to make it generic I would need to add/rearrange code.   \nGPLv2 works fine for my purposes.  I hope this isn't an offensive  \nquestion or anything but would releasing just the library under LGPL  \nbe considered?\n\nOn Jul 25, 2009, at 12:32 PM, Johannes Schindelin wrote:\n\n> Hi,\n>\n> On Sat, 25 Jul 2009, Michael Bergin wrote:\n>\n>> Is there a library containing just the option and subcommand  \n>> processing\n>> code from git?  I saw a post about gitopt but can't find a project  \n>> with\n>> that name.\n>\n> The \"library\" is contained in the files parse-options.[ch] in  \n> git.git.  I\n> am unsure if you need strbuf.c, too, or not.\n>\n>> If not is there any problem with me doing this?\n>\n> Not if you abide by the license of git.git, which is GPLv2.\n>\n> Ciao,\n> Dscho\n>\n>\n"},{"id":"118803","messageId":"alpine.DEB.1.00.0907260117540.8306@pacific.mpi-cbg.de","threadId":"20228","inReplyTo":"D30CE3A7-176D-4132-88A6-23C46A4EA185@gmail.com","subject":"Re: Git Option/Subcommand Processing Library?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-07-25T23:18:25Z","receivedAt":"2009-07-25T23:18:25Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sat, 25 Jul 2009, Michael Bergin wrote:\n\n> Thanks for the pointers.  I also want to create a generic library for \n> command facades like git.  For that I will probably use git.c as a guide \n> but to make it generic I would need to add/rearrange code.  GPLv2 works \n> fine for my purposes.  I hope this isn't an offensive question or \n> anything but would releasing just the library under LGPL be considered?\n\nYou need to ask all authors of all the code you reuse.  I, for one, have \nno objections.\n\nCiao,\nDscho\n"},{"id":"118811","messageId":"D48B952D-501B-4B90-A2B7-00DF5F21D3A4@gmail.com","threadId":"20228","inReplyTo":"alpine.DEB.1.00.0907260117540.8306@pacific.mpi-cbg.de","subject":"Re: Git Option/Subcommand Processing Library?","fromName":"Michael Bergin","fromEmail":"michaeljbergin@gmail.com","sentAt":"2009-07-26T00:38:48Z","receivedAt":"2009-07-26T00:38:48Z","isPatch":false,"sender":{"key":"michaeljbergin@gmail.com","avatar":null},"body":"I really appreciate your help.  I'm going to do this regardless of  \nlicense so I'll ask about that when I have a finished project.  Let me  \nknow if you have any suggestions for features, etc.  Thanks again.\n\n- Mike Bergin\n\nOn Jul 25, 2009, at 7:18 PM, Johannes Schindelin wrote:\n\n> Hi,\n>\n> On Sat, 25 Jul 2009, Michael Bergin wrote:\n>\n>> Thanks for the pointers.  I also want to create a generic library for\n>> command facades like git.  For that I will probably use git.c as a  \n>> guide\n>> but to make it generic I would need to add/rearrange code.  GPLv2  \n>> works\n>> fine for my purposes.  I hope this isn't an offensive question or\n>> anything but would releasing just the library under LGPL be  \n>> considered?\n>\n> You need to ask all authors of all the code you reuse.  I, for one,  \n> have\n> no objections.\n>\n> Ciao,\n> Dscho\n"}]}