Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include license and warranty statement with solc. #2353

Merged
merged 2 commits into from
Jun 13, 2017
Merged

Conversation

chriseth
Copy link
Contributor

@chriseth chriseth commented Jun 8, 2017

We should probably also clean some headers with this pull request.

might be different; for a GUI interface, you would use an "about box".

You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
Copy link
Member

@axic axic Jun 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not escaped here (well there are a couple of other instances).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is correctly escaped, this juts seems to be an error in github's syntax hilighting.

@axic
Copy link
Member

axic commented Jun 8, 2017

Wouldn't it be better to have a script during the build process which creates the file out of LICENSE?

Escaping with sed s/"/\\\"/ :)

@chriseth
Copy link
Contributor Author

chriseth commented Jun 8, 2017

@axic indeed, I added such a script with the help of @chfast.

@chriseth chriseth force-pushed the license_output branch 2 times, most recently from 16860a2 to c890f74 Compare June 8, 2017 13:07
@chriseth
Copy link
Contributor Author

chriseth commented Jun 8, 2017

Sorry, took a while but this should now be the working version.

Copy link
Collaborator

@chfast chfast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

R"(solc, the Solidity commandline compiler.
po::options_description desc(R"(solc, the Solidity commandline compiler.

Solidity Copyright (C) 2014-2017 Solidity contributors.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the copyright statement here? It is not even in the headers yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can do without, but the GPL "how to apply the license" suggests this. The thing is that the copyright is just shared by the authors which I think is the default, so perhaps we can just remove it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should sort this in a separate PR which also adds it to the files. Gives us more time to find the proper wording :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess "Copyright (C) 2014-2017 the Solidity authors and contributors." should be more clear. There seem to be a distinction between the two words, whereas author means the "initial creator", while contributor is anyone else.

Copy link
Member

@axic axic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the CLI to "Copyright (C) 2014-2017 the Solidity authors and contributors."

@chriseth
Copy link
Contributor Author

Perhaps it is better to just drop the statement. I'm not sure if contributors actually would get the copyright by default (as opposed to just the authors).

@axic axic merged commit 40f5690 into develop Jun 13, 2017
@axic axic removed the in progress label Jun 13, 2017
@axic axic deleted the license_output branch June 13, 2017 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants