<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>You should always read the license / contact the original copyright holders whenever you're borrowing any code.  For some popular licenses, such as GPL/LPGL, there are a numerous explanations on the Internet describing how properly use that code in the project.</div><div><br></div><div>In this specific case, we were re-licensing the code and we finally recommended you a correct boilerplate.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Oct 20, 2014, at 10:26 PM, Jiewen Tan <<a href="mailto:alanwake@ucla.edu">alanwake@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Hi All,<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">My confusion is what should be done to the license declaration part of the code. For example, if I copy code from NFD to ndn-cxx, what kind of information I should add to the license declaration part of the file containing the code I just copied.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Regards,<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">Jiewen Tan<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;"><span class="Apple-converted-space"> </span>Lan Wang (lanwang) [<a href="mailto:lanwang@memphis.edu">mailto:lanwang@memphis.edu</a>]<span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, October 15, 2014 8:15 AM<br><b>To:</b><span class="Apple-converted-space"> </span>Alex Afanasyev<br><b>Cc:</b><span class="Apple-converted-space"> </span>Junxiao Shi; <<a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a>>; <a href="mailto:alanwake@ucla.edu">alanwake@ucla.edu</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Nfd-dev] License boilerplate for code imported from NFD to ndn-cxx<o:p></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I think it's best for Jiewen to explain what specific problems (questions, confusion) he had when importing the code.  If it's something that can be solved by "reading the license and license boilerplate", then there's no need for guidelines.  Otherwise, guidelines will be helpful.<o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif;">Lan<o:p></o:p></span></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">On Oct 12, 2014, at 7:22 PM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu" style="color: purple; text-decoration: underline;">alexander.afanasyev@ucla.edu</a>> wrote:<o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br><br><o:p></o:p></div><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Junxiao,<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Please, don't make an issue from a non-issue.  The license (and license boilerplate) is in itself instructions on how code can be used, re-used, and moved around.  There is noting special that needs to be added.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">For the cases you're referring to.  This is the point of code review, when you noticed that boilerplate is not the one we usually use / incorrect copyright/license attribute.  There is no guidelines, rather you just need to tell what is the right way.  That's it.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Licenses are pretty simple to read (at least the boilerplate) and it is important for everybody to understand the limitations of the licenses.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">---<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Alex<o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">On Oct 12, 2014, at 4:49 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" style="color: purple; text-decoration: underline;">shijunxiao@email.arizona.edu</a>> wrote:<o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br><br><o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hi Davide<o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Developers are not lawyers. License is to be interpreted by a lawyer. Requiring consulting a lawyer every time importing NFD code is counter-productive.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">The guideline should be some mechanical steps that developers could easily follow.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Note the scope of this discussion is specifically for importing code from NFD, and probably NLSR and repo-ng.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I agree that importing code from an external project should involve consulting with a lawyer.<o:p></o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Yours, Junxiao<o:p></o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div><div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">On Sun, Oct 12, 2014 at 4:26 PM, Davide Pesavento <<a href="mailto:davide.pesavento@lip6.fr" target="_blank" style="color: purple; text-decoration: underline;">davide.pesavento@lip6.fr</a>> wrote:<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Well then maybe the first rule should be: read (and understand) the<br>license of the code you're touching/using.<br><br>Best,<br>Davide<br><br><span class="im">> ---------- Forwarded message ----------</span><br><span class="im">> From: Jiewen Tan <<a href="mailto:alanwake@ucla.edu" style="color: purple; text-decoration: underline;">alanwake@ucla.edu</a>></span><br><span class="im">> Date: Sat, Oct 11, 2014 at 11:53 PM</span><br><span class="im">></span><br><span class="im">> Hi All,</span><br><span class="im">></span><br><span class="im">> I am the owner. I do agree with Junxiao there should be a guideline,</span><br><span class="im">> otherwise new people like me will be confused while importing codes.</span><br><span class="im">></span><br><span class="im">> Regards,</span><br><span class="im">> Jiewen Tan</span><br><span class="im">></span><br><span class="im">> On Oct 11, 2014, at 11:09 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" style="color: purple; text-decoration: underline;">shijunxiao@email.arizona.edu</a>></span><br><span class="im">> wrote:</span><br><span class="im">></span><br><span class="im">> Dear folks</span><br><span class="im">></span><br><span class="im">> There needs a guideline on how to write license boilerplate for code</span><br><span class="im">> imported from NFD to ndn-cxx.</span><br><span class="im">> The necessity of such a guideline is illustrated by</span><br><span class="im">><span class="Apple-converted-space"> </span><a href="http://gerrit.named-data.net/1254" target="_blank" style="color: purple; text-decoration: underline;">http://gerrit.named-data.net/1254</a><span class="Apple-converted-space"> </span>where the Change Owner fails to produce a</span><br><span class="im">> correct license boilerplate in 3 patchsets.</span><br><span class="im">></span><br><span class="im">> Yours, Junxiao</span><br><span class="im">></span><o:p></o:p></div></div></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">_______________________________________________<br>Nfd-dev mailing list<br><a href="mailto:Nfd-dev@lists.cs.ucla.edu" style="color: purple; text-decoration: underline;">Nfd-dev@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" style="color: purple; text-decoration: underline;">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><o:p></o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p> </o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">_______________________________________________<br>Nfd-dev mailing list<br><a href="mailto:Nfd-dev@lists.cs.ucla.edu" style="color: purple; text-decoration: underline;">Nfd-dev@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" style="color: purple; text-decoration: underline;">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a></div></div></div></div></div></blockquote></div><br></body></html>