yeoman / generator-polymer

Scaffold out a Polymer project
http://polymer-project.org
926 stars 149 forks source link

Licence headers in template files #202

Closed danhawkes closed 9 years ago

danhawkes commented 9 years ago

E.g. https://github.com/yeoman/generator-polymer/blob/master/el/templates/element.html

Are they required? It's a minor annoyance to have to delete them from the generated code each time.

arthurvr commented 9 years ago

Yes, they're required. It irritates me too. Sorry!

I'm going to leave this open to see if there really isn't a way without those but I don't believe so.

addyosmani commented 9 years ago

Unfortunately, any code (and therefore projects) written by Google engineers needs to include license headers. It's part of our open-source team policy :/

arthurvr commented 9 years ago

Unfortunately, any code (and therefore projects) written by Google engineers needs to include license headers.

Every file? There are licensing rules in pretty much every company doing OSS but that's... :hankey: (definitely in boilerplate projects that's pretty irritating)

addyosmani commented 9 years ago

Almost every file. I'm trying to push for lighter restrictions on boilerplate projects because you're right - it's a PITA to have to edit them.

arthurvr commented 9 years ago

@addyosmani Okay. Thanks! Is there a reason in WSK only few files have license headers while in PSK almost every file has one?

addyosmani commented 9 years ago

I fought with the OSS team to get us the simpler setup :) Each project is considered separately though. We can go back to them and try to pitch the same level of ease as WSK for this generator and PSK. I'll try to do that over the next week or two.

arthurvr commented 9 years ago

Thanks!

danhawkes commented 9 years ago

Thanks for looking into it.