{"thread":{"id":"21142","subject":"Code reuse","startedAt":"2009-10-06T19:18:35Z","lastAt":"2009-10-07T20:15:06Z","messageCount":4,"participants":["Philip Herron","Sitaram Chamarty","Florian Weimer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"124320","messageId":"ac07bcaf0910061218x148374d0u66b36fae1466ea98@mail.gmail.com","threadId":"21142","inReplyTo":null,"subject":"Code reuse","fromName":"Philip Herron","fromEmail":"herron.philip@googlemail.com","sentAt":"2009-10-06T19:18:35Z","receivedAt":"2009-10-06T19:18:35Z","isPatch":false,"sender":{"key":"herron.philip@googlemail.com","avatar":"https://gravatar.com/avatar/d382efcd09309373b6d7e8770518bc92c17dd5852003fad105aaee6b3a5fc53c?d=mp&s=160"},"body":"Hey guys\n\nI am not sure if this is the right place to ask this question, but\nI've been working on a personal project a programming language\ninterpreter for some time now, but i took 2 code snippets from\ngit-core namely:\n\nstatic struct hash_table_entry *lookup_hash_entry(unsigned int hash,\nconst struct hash_table *table)\n\nfunction from hash.c and the alloc_nr.\n\nI've changed it a good bit (probably doesn't resemble much of what it\nwas) to fit in with the way my stuff works but is there anything i\nneed to like put in my source code to say hey this is based of\ngit-core, so far is just a comment to say 'based of git-core hash.c'.\nIts an open source (GPL) program but i haven't released or made much\nnoise about it yet because i want to work on it more myself.\n\nAnyways thanks,\n\n--Phil\n"},{"id":"124332","messageId":"2e24e5b90910070530p757b3651ne0f7e4a6e8bc8825@mail.gmail.com","threadId":"21142","inReplyTo":"ac07bcaf0910061218x148374d0u66b36fae1466ea98@mail.gmail.com","subject":"Re: Code reuse","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2009-10-07T12:30:09Z","receivedAt":"2009-10-07T12:30:09Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On Wed, Oct 7, 2009 at 12:48 AM, Philip Herron\n<herron.philip@googlemail.com> wrote:\n\n> I am not sure if this is the right place to ask this question, but\n> I've been working on a personal project a programming language\n> interpreter for some time now, but i took 2 code snippets from\n> git-core namely:\n\n[snip]\n\n> I've changed it a good bit (probably doesn't resemble much of what it\n> was) to fit in with the way my stuff works but is there anything i\n> need to like put in my source code to say hey this is based of\n> git-core, so far is just a comment to say 'based of git-core hash.c'.\n> Its an open source (GPL) program but i haven't released or made much\n> noise about it yet because i want to work on it more myself.\n\nIn general, the GPL's main requirement is that whoever gets the binary\nshould also get the code (I'm over simplifying but that's basically\nit).  It actually doesn't say much about giving credit, except (from\n<HEAD:COPYING>):\n\n\"If the software is modified by someone else and passed on, we want\nits recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the\noriginal authors' reputations\"\n\nand\n\n\"a) You must cause the modified files to carry prominent notices\nstating that you changed the files and the date of any change.\"\n\nThat's basically it...\n\nIt would seem to me that, if you changed them significantly, and going\nby the above logic, you don't need to do *anything* regarding\nattribution.\n"},{"id":"124345","messageId":"ac07bcaf0910071312u13be3b32p8afd956c80e4014a@mail.gmail.com","threadId":"21142","inReplyTo":"2e24e5b90910070530p757b3651ne0f7e4a6e8bc8825@mail.gmail.com","subject":"Re: Code reuse","fromName":"Philip Herron","fromEmail":"herron.philip@googlemail.com","sentAt":"2009-10-07T20:12:42Z","receivedAt":"2009-10-07T20:12:42Z","isPatch":false,"sender":{"key":"herron.philip@googlemail.com","avatar":"https://gravatar.com/avatar/d382efcd09309373b6d7e8770518bc92c17dd5852003fad105aaee6b3a5fc53c?d=mp&s=160"},"body":"Thanks for that i am no legalese speaker so yeah ;). Its only really\nthe alloc_nr but its renamed is nearly the same the other really isnt\nthe same only just 2 statements with different identifiers remain.\n\nThanks anyways git-core is nice :)\n\n--Phil\n\n2009/10/7 Sitaram Chamarty <sitaramc@gmail.com>:\n> On Wed, Oct 7, 2009 at 12:48 AM, Philip Herron\n> <herron.philip@googlemail.com> wrote:\n>\n>> I am not sure if this is the right place to ask this question, but\n>> I've been working on a personal project a programming language\n>> interpreter for some time now, but i took 2 code snippets from\n>> git-core namely:\n>\n> [snip]\n>\n>> I've changed it a good bit (probably doesn't resemble much of what it\n>> was) to fit in with the way my stuff works but is there anything i\n>> need to like put in my source code to say hey this is based of\n>> git-core, so far is just a comment to say 'based of git-core hash.c'.\n>> Its an open source (GPL) program but i haven't released or made much\n>> noise about it yet because i want to work on it more myself.\n>\n> In general, the GPL's main requirement is that whoever gets the binary\n> should also get the code (I'm over simplifying but that's basically\n> it).  It actually doesn't say much about giving credit, except (from\n> <HEAD:COPYING>):\n>\n> \"If the software is modified by someone else and passed on, we want\n> its recipients to know that what they have is not the original, so\n> that any problems introduced by others will not reflect on the\n> original authors' reputations\"\n>\n> and\n>\n> \"a) You must cause the modified files to carry prominent notices\n> stating that you changed the files and the date of any change.\"\n>\n> That's basically it...\n>\n> It would seem to me that, if you changed them significantly, and going\n> by the above logic, you don't need to do *anything* regarding\n> attribution.\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>\n"},{"id":"124346","messageId":"87hbub3qr9.fsf@mid.deneb.enyo.de","threadId":"21142","inReplyTo":"2e24e5b90910070530p757b3651ne0f7e4a6e8bc8825@mail.gmail.com","subject":"Re: Code reuse","fromName":"Florian Weimer","fromEmail":"fw@deneb.enyo.de","sentAt":"2009-10-07T20:15:06Z","receivedAt":"2009-10-07T20:15:06Z","isPatch":false,"sender":{"key":"fw@deneb.enyo.de","avatar":null},"body":"* Sitaram Chamarty:\n\n> It would seem to me that, if you changed them significantly, and going\n> by the above logic, you don't need to do *anything* regarding\n> attribution.\n\nNote that applicable laws may impose additional restrictions, like\ncrediting authors in the way they require.\n\nMy personal approach is to include the copyright header of the file\nI'm quoting from, together with a comment which explains where the\ncode came from (project, version, path).\n"}]}