* Code reuse
@ 2009-10-06 19:18 Philip Herron
2009-10-07 12:30 ` Sitaram Chamarty
0 siblings, 1 reply; 4+ messages in thread
From: Philip Herron @ 2009-10-06 19:18 UTC (permalink / raw)
To: git
Hey guys
I am not sure if this is the right place to ask this question, but
I've been working on a personal project a programming language
interpreter for some time now, but i took 2 code snippets from
git-core namely:
static struct hash_table_entry *lookup_hash_entry(unsigned int hash,
const struct hash_table *table)
function from hash.c and the alloc_nr.
I've changed it a good bit (probably doesn't resemble much of what it
was) to fit in with the way my stuff works but is there anything i
need to like put in my source code to say hey this is based of
git-core, so far is just a comment to say 'based of git-core hash.c'.
Its an open source (GPL) program but i haven't released or made much
noise about it yet because i want to work on it more myself.
Anyways thanks,
--Phil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Code reuse
2009-10-06 19:18 Code reuse Philip Herron
@ 2009-10-07 12:30 ` Sitaram Chamarty
2009-10-07 20:12 ` Philip Herron
2009-10-07 20:15 ` Florian Weimer
0 siblings, 2 replies; 4+ messages in thread
From: Sitaram Chamarty @ 2009-10-07 12:30 UTC (permalink / raw)
To: Philip Herron; +Cc: git
On Wed, Oct 7, 2009 at 12:48 AM, Philip Herron
<herron.philip@googlemail.com> wrote:
> I am not sure if this is the right place to ask this question, but
> I've been working on a personal project a programming language
> interpreter for some time now, but i took 2 code snippets from
> git-core namely:
[snip]
> I've changed it a good bit (probably doesn't resemble much of what it
> was) to fit in with the way my stuff works but is there anything i
> need to like put in my source code to say hey this is based of
> git-core, so far is just a comment to say 'based of git-core hash.c'.
> Its an open source (GPL) program but i haven't released or made much
> noise about it yet because i want to work on it more myself.
In general, the GPL's main requirement is that whoever gets the binary
should also get the code (I'm over simplifying but that's basically
it). It actually doesn't say much about giving credit, except (from
<HEAD:COPYING>):
"If the software is modified by someone else and passed on, we want
its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the
original authors' reputations"
and
"a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change."
That's basically it...
It would seem to me that, if you changed them significantly, and going
by the above logic, you don't need to do *anything* regarding
attribution.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Code reuse
2009-10-07 12:30 ` Sitaram Chamarty
@ 2009-10-07 20:12 ` Philip Herron
2009-10-07 20:15 ` Florian Weimer
1 sibling, 0 replies; 4+ messages in thread
From: Philip Herron @ 2009-10-07 20:12 UTC (permalink / raw)
To: Sitaram Chamarty; +Cc: git
Thanks for that i am no legalese speaker so yeah ;). Its only really
the alloc_nr but its renamed is nearly the same the other really isnt
the same only just 2 statements with different identifiers remain.
Thanks anyways git-core is nice :)
--Phil
2009/10/7 Sitaram Chamarty <sitaramc@gmail.com>:
> On Wed, Oct 7, 2009 at 12:48 AM, Philip Herron
> <herron.philip@googlemail.com> wrote:
>
>> I am not sure if this is the right place to ask this question, but
>> I've been working on a personal project a programming language
>> interpreter for some time now, but i took 2 code snippets from
>> git-core namely:
>
> [snip]
>
>> I've changed it a good bit (probably doesn't resemble much of what it
>> was) to fit in with the way my stuff works but is there anything i
>> need to like put in my source code to say hey this is based of
>> git-core, so far is just a comment to say 'based of git-core hash.c'.
>> Its an open source (GPL) program but i haven't released or made much
>> noise about it yet because i want to work on it more myself.
>
> In general, the GPL's main requirement is that whoever gets the binary
> should also get the code (I'm over simplifying but that's basically
> it). It actually doesn't say much about giving credit, except (from
> <HEAD:COPYING>):
>
> "If the software is modified by someone else and passed on, we want
> its recipients to know that what they have is not the original, so
> that any problems introduced by others will not reflect on the
> original authors' reputations"
>
> and
>
> "a) You must cause the modified files to carry prominent notices
> stating that you changed the files and the date of any change."
>
> That's basically it...
>
> It would seem to me that, if you changed them significantly, and going
> by the above logic, you don't need to do *anything* regarding
> attribution.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Code reuse
2009-10-07 12:30 ` Sitaram Chamarty
2009-10-07 20:12 ` Philip Herron
@ 2009-10-07 20:15 ` Florian Weimer
1 sibling, 0 replies; 4+ messages in thread
From: Florian Weimer @ 2009-10-07 20:15 UTC (permalink / raw)
To: git
* Sitaram Chamarty:
> It would seem to me that, if you changed them significantly, and going
> by the above logic, you don't need to do *anything* regarding
> attribution.
Note that applicable laws may impose additional restrictions, like
crediting authors in the way they require.
My personal approach is to include the copyright header of the file
I'm quoting from, together with a comment which explains where the
code came from (project, version, path).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-07 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06 19:18 Code reuse Philip Herron
2009-10-07 12:30 ` Sitaram Chamarty
2009-10-07 20:12 ` Philip Herron
2009-10-07 20:15 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).