adversary-org/wtfnmf

Replace name / year / email in the licence text with placeholders

Closed this issue · 3 comments

Because sometimes it is not clear.

See this StackExchange question: http://programmers.stackexchange.com/questions/149050/should-i-change-the-name-of-the-wtfpl

Hey, I only just noticed this, sorry about that.

I've added some stuff including some commits from ages ago I forgot to
merge until now too. Oops.

Anyway, there's now a Python script which will generate the correct
copyright line at the top followed by the "this is free" boilerplate
and then the license and write the whole lot out to two files; one as
ASCII only and the other as UTF-8. That ought to do it.

I haven't tried it with Python 2.7, but it should work with that too.
It won't work with Python 2.6 or earlier, though, because that doesn't
support the unicode_literals part of future.

HMMM...

I think: plain text licence makes it easy to just copy and paste. Ready to go!

Python script: OK, I can download it, run it, edit...

But on some machines there is no Python, so that's 40MB or so download and decision between 2.x and 3.x

OMG... So many choices, so much work... Can we just have plain text version too?

Yes we can. :)

I cheated of course and just ran the script twice; once in samples/multiyear/ and once in samples/singleyear/

In the first set the find and replace terms are 2013 for year1, 2016 for year2 and "Awesome Coder" for the name. Change these to whatever is needed.

In the second set there is just one year and it is 2016, the name is also "Awesome Coder" (because doing WTF you want should be gender neutral).