jive
August 30, 2014, 12:30am
1
So what is the best way to update headers for OpenPlans → OSGeo change?
Search and replace may do the trick, but chances are we want to put a date range into the mix.
BEFORE:
/* Copyright (c) 2012 - 2013 OpenPlans - www.openplans.org . All rights reserved.
This code is licensed under the GPL 2.0 license, available at the root
application directory.
*/
AFTER:
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
(c) 2012 - 2013 OpenPlans
This code is licensed under the GPL 2.0 license, available at the root
application directory.
*/
I think we could get away with two searches and preserve the existing header date ranges
search for “^^/* Copyright (c)” replace … as above
search for “OpenPlans - www.openplans.org . All rights reserved.” replace “OpenPlans”
Reference:
Jody Garnett
jive
September 4, 2014, 8:34pm
2
This went fairly smoothly, updated CONTRIBUTING.md, developers guide and doc guide.
( There are few odd files in the mix such as NCUtilities and CoverageIdConverterTest have generic GeoBatch headers. Not sure if this is left over from a developers settings or if the content has actually been ported from GeoBatch.
The docguide instructions dated from svn days, and could use a review.
···
Jody Garnett
On Fri, Aug 29, 2014 at 5:30 PM, Jody Garnett <jody.garnett@anonymised.com > wrote:
So what is the best way to update headers for OpenPlans → OSGeo change?
Search and replace may do the trick, but chances are we want to put a date range into the mix.
BEFORE:
/* Copyright (c) 2012 - 2013 OpenPlans - www.openplans.org . All rights reserved.
This code is licensed under the GPL 2.0 license, available at the root
application directory.
*/
AFTER:
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
(c) 2012 - 2013 OpenPlans
This code is licensed under the GPL 2.0 license, available at the root
application directory.
*/
I think we could get away with two searches and preserve the existing header date ranges
search for “^^/* Copyright (c)” replace … as above
search for “OpenPlans - www.openplans.org . All rights reserved.” replace “OpenPlans”
Reference:
Jody Garnett