BusPirate / Bus_Pirate

Community driven firmware and hardware for Bus Pirate version 3 and 4
625 stars 130 forks source link

Update licence header block on all source files. #107

Open agatti opened 5 years ago

agatti commented 5 years ago

Source files currently reference old URLs and entities who are de-facto not involved in the project any longer. Moreover, the 'Published in the United States' bit may not apply anymore.

That said, something that could be done as well would be to switch to Software Package Data Exchange entries.

JarrettR commented 5 years ago

Taking this as an example:

https://github.com/BusPirate/Bus_Pirate/blob/master/Firmware/1wire.h

Could I just grep all instances of the following code:

/*
 * This file is part of the Bus Pirate project
 * (http://code.google.com/p/the-bus-pirate/).
 *
 * Written and maintained by the Bus Pirate project.
 *
 * To the extent possible under law, the project has waived all copyright and
 * related or neighboring rights to Bus Pirate.  This work is published from
 * United States.
 *
 * For details see: http://creativecommons.org/publicdomain/zero/1.0/
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.
 */

And change it to reference this repo, and remove references to publishing country? Is that what you'd like, or would that be helpful?

Very grateful it's all CC0, which makes this morally much easier, we can change it to whatever we like :)

agatti commented 5 years ago

That'd help indeed, along with using SPDX identifiers and effectively remove the licence text altogether from files (although a copy of the CC0 text has to be present in the repo). However, there are a few files whose inclusion in the sourcetree may not be compatible with CC0 (everything in Firmware/jtag/, i2c.[ch], and 1wire.[ch] for instance), and files that reference past authors (basic.[ch], pic.[ch], jtag.[ch]).

I personally have no clear idea on whether those mentions can be removed or if a custom licence (think CC0 with exceptions) has to be crafted, hence the "help wanted" tag for this :)