You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/07/17 19:32:13 UTC
Fwd: Finally posted: src file header and copyright policy
Heads up of an upcoming policy change that means we will need to
update the license boilerplate in our code.
--
Jeremy
Begin forwarded message:
> From: "Cliff Schmidt" <cl...@gmail.com>
> Date: July 16, 2006 11:39:37 PM PDT
> To: legal-discuss@apache.org
> Subject: Finally posted: src file header and copyright policy
>
> Hey legal-discuss folks,
>
> I've finally posted the "Source Header and Copyright Notice Policy":
> http://www.apache.org/legal/src-headers.html.
>
> It's pretty much the same thing I sent to this list a few weeks ago,
> plus a FAQ that summarizes the follow-on discussion we had.
>
> As I've mentioned before, my plan is to finish up the other two pieces
> and send an email to committers@ with links to all three legal pages.
> There's a good possibility I'll have these other two done in the next
> couple days, but I thought I'd put this out for legal-discuss review
> since it is ready now.
>
> Let me know if you see anything in there that doesn't make sense.
>
> Cliff
>
> ---------------------------------------------------------------------
> DISCLAIMER: Discussions on this list are informational and educational
> only. Statements made on this list are not privileged, do not
> constitute legal advice, and do not necessarily reflect the opinions
> and policies of the ASF. See <http://www.apache.org/licenses/> for
> official ASF policies and documents.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
> For additional commands, e-mail: legal-discuss-help@apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Fwd: Finally posted: src file header and copyright policy
Posted by Mike Edwards <mi...@gmail.com>.
Jeremy,
Glad to see that the policy page covers code like the stuff associated
with the SCA & SDO specs:
-----
Treatment of Third-Party Works
0. The term "third-party work" refers to a work not submitted
directly to the ASF by the copyright owner or owner's agent.
1.
2. Do not modify or remove any copyright notices or licenses within
third-party works.
3. Do ensure that every third-party work includes its associated
license, even if that requires adding a copy of the license from the
third-party download site into the distribution.
4. Do not add the standard Apache License header to the top of
third-party source files.
5. Minor modifications/additions to third-party source files should
typically be licensed under the same terms as the rest of the rest of
the third-party source for convenience.
Major modifications/additions to third-party should be dealt with
on a case-by-case basis by the PMC.
-----
Makes it clear that you can include such code - and that you leave alone
the existing headers and license.
Yours, Mike.
Jeremy Boynes wrote:
> Heads up of an upcoming policy change that means we will need to update
> the license boilerplate in our code.
> --
> Jeremy
>
> Begin forwarded message:
>
>> From: "Cliff Schmidt" <cl...@gmail.com>
>> Date: July 16, 2006 11:39:37 PM PDT
>> To: legal-discuss@apache.org
>> Subject: Finally posted: src file header and copyright policy
>>
>> Hey legal-discuss folks,
>>
>> I've finally posted the "Source Header and Copyright Notice Policy":
>> http://www.apache.org/legal/src-headers.html.
>>
>> It's pretty much the same thing I sent to this list a few weeks ago,
>> plus a FAQ that summarizes the follow-on discussion we had.
>>
>> As I've mentioned before, my plan is to finish up the other two pieces
>> and send an email to committers@ with links to all three legal pages.
>> There's a good possibility I'll have these other two done in the next
>> couple days, but I thought I'd put this out for legal-discuss review
>> since it is ready now.
>>
>> Let me know if you see anything in there that doesn't make sense.
>>
>> Cliff
>>
>> ---------------------------------------------------------------------
>> DISCLAIMER: Discussions on this list are informational and educational
>> only. Statements made on this list are not privileged, do not
>> constitute legal advice, and do not necessarily reflect the opinions
>> and policies of the ASF. See <http://www.apache.org/licenses/> for
>> official ASF policies and documents.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
>> For additional commands, e-mail: legal-discuss-help@apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Finally posted: src file header and copyright policy
Posted by Kevin Williams <ke...@qwest.net>.
Regarding the replacement script, here is a Ruby script we might try
next time we have to go through a similar exercise:
# Scans files - with a given extension - recursively from the current
# directory replacing the old copyright/license header statement with a
# new version
def munge_file(fn, oh, nh)
puts "processing <#{fn}>"
eoh = Regexp.escape(oh)
new_contents = File.read(fn).gsub(Regexp.new(eoh), nh)
File.open(fn, 'w') do |file|
file.puts(new_contents)
end
end
if(!ARGV[0])
STDERR.puts "usage: <file extension> <old header file> <new
header file>"
exit 0
end
ext = ARGV[0]
old_header = File.read(ARGV[1])
new_header = File.read(ARGV[2])
Dir["**/*.#{ext}"].each do |filename|
munge_file( filename, old_header, new_header)
end
This is run from the command line like this:
>ruby replaceheaders.rb oldheader.txt newheader.txt
Luciano Resende wrote:
> Hi Jeremy
>
> I have done necessary updates on das and sample/das files and
> provided a
> patch to http://issues.apache.org/jira/browse/TUSCANY-620. I'm having
> some
> issues around running the perl script to update the xml resources and
> will
> try to finish those tomorrow....
>
> - Luciano
>
> On 7/19/06, Jeremy Boynes <jb...@apache.org> wrote:
>
>>
>>
>> On Jul 19, 2006, at 11:50 AM, Jeremy Boynes wrote:
>>
>> > Is this is good time to do this to the trunk (thinking that most
>> > people will not have any work that will conflict)?
>> >
>> > I'll see if the tools work and if there are no issues think about
>> > doing this later this week.
>>
>> We had a problem with some of the files not having license headers in
>> them :-(
>> so I modified Roy's script to be a little more aggressive and replace
>> everything before the "package" statement with the new header.
>>
>> I ran these on a few files and they seemed to do the right thing but
>> additional review would be appreciated.
>>
>> --
>> Jeremy
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Finally posted: src file header and copyright policy
Posted by Luciano Resende <lu...@gmail.com>.
Hi Jeremy
I have done necessary updates on das and sample/das files and provided a
patch to http://issues.apache.org/jira/browse/TUSCANY-620. I'm having some
issues around running the perl script to update the xml resources and will
try to finish those tomorrow....
- Luciano
On 7/19/06, Jeremy Boynes <jb...@apache.org> wrote:
>
>
> On Jul 19, 2006, at 11:50 AM, Jeremy Boynes wrote:
>
> > Is this is good time to do this to the trunk (thinking that most
> > people will not have any work that will conflict)?
> >
> > I'll see if the tools work and if there are no issues think about
> > doing this later this week.
>
> We had a problem with some of the files not having license headers in
> them :-(
> so I modified Roy's script to be a little more aggressive and replace
> everything before the "package" statement with the new header.
>
> I ran these on a few files and they seemed to do the right thing but
> additional review would be appreciated.
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
--
-----------------------------------------------------
Luciano Resende
SOA Opensource - Apache Tuscany
-----------------------------------------------------
Re: Finally posted: src file header and copyright policy
Posted by Jeremy Boynes <jb...@apache.org>.
Having just made modifications to most of the sca source tree to fix
the CR problems, I plan to make this change later today.
--
Jeremy
On Jul 19, 2006, at 1:43 PM, Jeremy Boynes wrote:
>
> On Jul 19, 2006, at 11:50 AM, Jeremy Boynes wrote:
>
>> Is this is good time to do this to the trunk (thinking that most
>> people will not have any work that will conflict)?
>>
>> I'll see if the tools work and if there are no issues think about
>> doing this later this week.
>
> We had a problem with some of the files not having license headers
> in them :-(
> so I modified Roy's script to be a little more aggressive and
> replace everything before the "package" statement with the new header.
>
> I ran these on a few files and they seemed to do the right thing
> but additional review would be appreciated.
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Finally posted: src file header and copyright policy
Posted by Jeremy Boynes <jb...@apache.org>.
On Jul 19, 2006, at 11:50 AM, Jeremy Boynes wrote:
> Is this is good time to do this to the trunk (thinking that most
> people will not have any work that will conflict)?
>
> I'll see if the tools work and if there are no issues think about
> doing this later this week.
We had a problem with some of the files not having license headers in
them :-(
so I modified Roy's script to be a little more aggressive and replace
everything before the "package" statement with the new header.
I ran these on a few files and they seemed to do the right thing but
additional review would be appreciated.
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Finally posted: src file header and copyright policy
Posted by Jeremy Boynes <jb...@apache.org>.
Is this is good time to do this to the trunk (thinking that most
people will not have any work that will conflict)?
I'll see if the tools work and if there are no issues think about
doing this later this week.
--
Jeremy
On Jul 17, 2006, at 10:32 AM, Jeremy Boynes wrote:
> Heads up of an upcoming policy change that means we will need to
> update the license boilerplate in our code.
> --
> Jeremy
>
> Begin forwarded message:
>
>> From: "Cliff Schmidt" <cl...@gmail.com>
>> Date: July 16, 2006 11:39:37 PM PDT
>> To: legal-discuss@apache.org
>> Subject: Finally posted: src file header and copyright policy
>>
>> Hey legal-discuss folks,
>>
>> I've finally posted the "Source Header and Copyright Notice Policy":
>> http://www.apache.org/legal/src-headers.html.
>>
>> It's pretty much the same thing I sent to this list a few weeks ago,
>> plus a FAQ that summarizes the follow-on discussion we had.
>>
>> As I've mentioned before, my plan is to finish up the other two
>> pieces
>> and send an email to committers@ with links to all three legal pages.
>> There's a good possibility I'll have these other two done in the next
>> couple days, but I thought I'd put this out for legal-discuss review
>> since it is ready now.
>>
>> Let me know if you see anything in there that doesn't make sense.
>>
>> Cliff
>>
>> ---------------------------------------------------------------------
>> DISCLAIMER: Discussions on this list are informational and
>> educational
>> only. Statements made on this list are not privileged, do not
>> constitute legal advice, and do not necessarily reflect the opinions
>> and policies of the ASF. See <http://www.apache.org/licenses/> for
>> official ASF policies and documents.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
>> For additional commands, e-mail: legal-discuss-help@apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org