cherryframework4 icon indicating copy to clipboard operation
cherryframework4 copied to clipboard

Copyright + License of third-party code

Open justintadlock opened this issue 9 years ago • 1 comments

It's standard practice to add the copyright + license of any third-party code utilized (scripts, images, PHP) in the theme's readme file. The projects the theme uses are (I may have missed some):

  • Hybrid Core
  • Breadcrumb Trail
  • Options Framework
  • Sage Starter Theme
  • Normalize
  • Slick
  • SmoothScroll
  • Easing

We talked via email about utilizing Hybrid Core code within this project. Generally, the best way to do this is on code level is like so:

* @author     Justin Tadlock <[email protected]>
* @copyright  Copyright (c) 2008 - 2015, Justin Tadlock
* @link       http://themehybrid.com/hybrid-core
* @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

That's at the top of every file in the Hybrid Core framework, so it's easy to copy/paste. The @copyright and @license lines are the only lines that are required. The other ones are just useful for other developers.

If you're using an entire file from Hybrid Core, such as attr.php, you don't have to list that with every function. It should just go in the file header. If you're just using a single function from Hybrid Core, you can put copyright and license in the function block.

justintadlock avatar Apr 25 '15 16:04 justintadlock

https://github.com/CherryFramework/cherryframework4/commit/2d081d684e6834d88c83d510249a5f571fcd7d4a

cheh avatar May 11 '15 11:05 cheh