* re-licensing pkt-line.c code
@ 2008-09-25 17:17 Scott Chacon
2008-09-25 17:49 ` Implementations of Git (was: re-licensing pkt-line.c code) Jakub Narebski
2008-09-25 17:57 ` re-licensing pkt-line.c code Andreas Ericsson
0 siblings, 2 replies; 5+ messages in thread
From: Scott Chacon @ 2008-09-25 17:17 UTC (permalink / raw)
To: git list
Hey all,
I am writing a partial implementation of git in Objective-C so I can
get a git server running on an iphone, and hopefully it could
eventually be used in a mac desktop app that could be distributed
without the git binary. If anyone is interested in the project, you
can get it here:
http://github.com/schacon/objective-git
There are about 20-25 lines of code from pkt-line.c that I think were
originally written back in 2005 that I would like to use so I don't
have to re-implement them. It is pretty generic - it is just the code
that converts an int into a 4 char hex and back that is placed at the
beginning of several of the network protocol lines.
http://github.com/schacon/objective-git/tree/master/ObjGitServerHandler.m#L554
I have to relicense this, since I can't legally distribute my source
code for the iphone app due to Apples f**king NDA. I would like to
release my ObjectiveGit project under the MIT (or, alternately, LGPL).
Is Linus the right person to ask for this permission? What is the
best way to do so? I could come up with an alternate way to
accomplish the same thing, but it seems like a waste of time to do so,
and helpful to nobody.
Thanks,
Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Implementations of Git (was: re-licensing pkt-line.c code)
2008-09-25 17:17 re-licensing pkt-line.c code Scott Chacon
@ 2008-09-25 17:49 ` Jakub Narebski
2008-09-26 11:42 ` git-sharp, was " Johannes Schindelin
2008-09-25 17:57 ` re-licensing pkt-line.c code Andreas Ericsson
1 sibling, 1 reply; 5+ messages in thread
From: Jakub Narebski @ 2008-09-25 17:49 UTC (permalink / raw)
To: Scott Chacon; +Cc: git list
"Scott Chacon" <schacon@gmail.com> writes:
> I am writing a partial implementation of git in Objective-C so I can
> get a git server running on an iphone, and hopefully it could
> eventually be used in a mac desktop app that could be distributed
> without the git binary. If anyone is interested in the project, you
> can get it here:
>
> http://github.com/schacon/objective-git
Could you add it to "Interfaces to other programming languages"
section[1] at http://git.or.cz/gitwiki/InterfacesFrontendsAndTools
if you feel it is quite ready?
[1] Perhaps it should be renamed to "Interfaces to and implementations
in other programming languages"...
P.S. Do you know what is the status of git#, implementation of Git in
C#, which was one of this year Google Summer of Code projects?
--
Jakub Narebski
Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 5+ messages in thread
* git-sharp, was Re: Implementations of Git (was: re-licensing pkt-line.c code)
2008-09-25 17:49 ` Implementations of Git (was: re-licensing pkt-line.c code) Jakub Narebski
@ 2008-09-26 11:42 ` Johannes Schindelin
0 siblings, 0 replies; 5+ messages in thread
From: Johannes Schindelin @ 2008-09-26 11:42 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git list
Hi,
On Thu, 25 Sep 2008, Jakub Narebski wrote:
> P.S. Do you know what is the status of git#, implementation of Git in
> C#, which was one of this year Google Summer of Code projects?
As I suspected (hoping I would be wrong), the lack of communication (this
time with the Git community) did not help at all.
The latest commit is this:
http://code.google.com/p/mono-soc-2008/source/detail?r=471
implementing a diff algorithm.
>From what I can tell from the source (I do not have a working C#
environment), the implementation repeats a lot of what Shawn told us
earlier were his lessons from his first stab at JGit. For example, I saw
that the contents of blobs are read into memory when the blob is read. I
haven't checked closely, but I did not have the impression that there were
accessors making it easy to turn this into a lazy read.
Take-home message: if you think you should develop Open Source in a
secretive manner, you are almost certainly wrong, and your project will
almost certainly be slow or even fail (BTW I also see exactly this same
problem with Govind's try last year, which had a cool name, and then
another cool name, but not much to show for it).
Ciao,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: re-licensing pkt-line.c code
2008-09-25 17:17 re-licensing pkt-line.c code Scott Chacon
2008-09-25 17:49 ` Implementations of Git (was: re-licensing pkt-line.c code) Jakub Narebski
@ 2008-09-25 17:57 ` Andreas Ericsson
2008-09-25 18:01 ` Shawn O. Pearce
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Ericsson @ 2008-09-25 17:57 UTC (permalink / raw)
To: Scott Chacon; +Cc: git list
Scott Chacon wrote:
> Hey all,
>
> I am writing a partial implementation of git in Objective-C so I can
> get a git server running on an iphone, and hopefully it could
> eventually be used in a mac desktop app that could be distributed
> without the git binary. If anyone is interested in the project, you
> can get it here:
>
> http://github.com/schacon/objective-git
>
> There are about 20-25 lines of code from pkt-line.c that I think were
> originally written back in 2005 that I would like to use so I don't
> have to re-implement them. It is pretty generic - it is just the code
> that converts an int into a 4 char hex and back that is placed at the
> beginning of several of the network protocol lines.
>
> http://github.com/schacon/objective-git/tree/master/ObjGitServerHandler.m#L554
>
> I have to relicense this, since I can't legally distribute my source
> code for the iphone app due to Apples f**king NDA. I would like to
> release my ObjectiveGit project under the MIT (or, alternately, LGPL).
> Is Linus the right person to ask for this permission? What is the
> best way to do so?
Linus wrote nearly all of pkt-line.c, so yes, he'd be the right person
to ask. If the lines you need were co-authored by someone else, you'll
need to ask that co-author too.
> I could come up with an alternate way to
> accomplish the same thing, but it seems like a waste of time to do so,
> and helpful to nobody.
>
Well, tracking down the original author(s) could turn out to be harder.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: re-licensing pkt-line.c code
2008-09-25 17:57 ` re-licensing pkt-line.c code Andreas Ericsson
@ 2008-09-25 18:01 ` Shawn O. Pearce
0 siblings, 0 replies; 5+ messages in thread
From: Shawn O. Pearce @ 2008-09-25 18:01 UTC (permalink / raw)
To: Scott Chacon; +Cc: git list, Andreas Ericsson
Andreas Ericsson <ae@op5.se> wrote:
> Scott Chacon wrote:
>>
>> There are about 20-25 lines of code from pkt-line.c that I think were
>> originally written back in 2005 that I would like to use [...]
>>
>> I have to relicense this, since I can't legally distribute my source
>> code for the iphone app due to Apples f**king NDA. I would like to
>> release my ObjectiveGit project under the MIT (or, alternately, LGPL).
>
>> I could come up with an alternate way to
>> accomplish the same thing, but it seems like a waste of time to do so,
>> and helpful to nobody.
>
> Well, tracking down the original author(s) could turn out to be harder.
Its already cost more time to ask for permission to reuse these
20-25 lines of code than it would take to figure out how to write
it yourself, and code it. And Linus still hasn't had a chance to
chime in on this thread.
My guess is you aren't going to get approval from him to relicense
his code. But he doesn't hold a monopoly on int->hex conversion
algorithms so you should be able to implement something that produces
the same results, given the same inputs, and not have him sue you
in some Utah court.
--
Shawn.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-26 11:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 17:17 re-licensing pkt-line.c code Scott Chacon
2008-09-25 17:49 ` Implementations of Git (was: re-licensing pkt-line.c code) Jakub Narebski
2008-09-26 11:42 ` git-sharp, was " Johannes Schindelin
2008-09-25 17:57 ` re-licensing pkt-line.c code Andreas Ericsson
2008-09-25 18:01 ` Shawn O. Pearce
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).