-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
dapps/js-glue/build.rs
Outdated
@@ -8,12 +8,11 @@ | |||
|
|||
// Parity 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. See the | |||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the extra space, I think it's actually intentional? Reading from Wikipedia this is something called "English spacing". And I do remember encounterings of this spacing strategy in my life.
And in particular, the original GPL text uses English spacing. https://www.gnu.org/licenses/gpl.txt
d5ec588
to
5d2fb0b
Compare
ethcore/vm/src/return_data.rs
Outdated
// GNU General Public License for more details. | ||
|
||
// You should have received a copy of the GNU General Public License | ||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
// Parity is free software: you can redistribute it and/or modify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check what caused this to have two headers.
|
||
// You should have received a copy of the GNU General Public License | ||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
// Copyright 2015-2017 Parity Technologies (UK) Ltd. | ||
// This file is part of Parity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check double header.
This PR kills my browser. I reported this to Github. I'll try to continue reviewing... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More duplicated headers in:
util/rlp/benches/rlp.rs
util/rlp/src/error.rs
util/rlp/src/impls.rs
util/rlp/src/lib.rs
util/rlp/src/rlpin.rs
util/rlp/src/stream.rs
util/rlp/src/traits.rs
util/rlp/tests/tests.rs
util/rlp_compress/src/common.rs
util/rlp_compress/src/lib.rs
5c7df76
to
6f934e7
Compare
I noticed we have a few e.g. |
Good point, I found that the following ./evmbin/Cargo.toml
./local-store/Cargo.toml
./ethash/Cargo.toml
./json/Cargo.toml
./util/kvdb/Cargo.toml
./util/rlp_derive/Cargo.toml
./util/using_queue/Cargo.toml
./util/error/Cargo.toml
./util/macros/Cargo.toml
./util/rlp_compress/Cargo.toml
./util/trie-standardmap/Cargo.toml
./util/kvdb-rocksdb/Cargo.toml
./util/mem/Cargo.toml
./util/path/Cargo.toml
./util/kvdb-memorydb/Cargo.toml
./util/dir/Cargo.toml
./util/version/Cargo.toml
./util/stats/Cargo.toml
./util/stop-guard/Cargo.toml
./util/migration-rocksdb/Cargo.toml
./util/unexpected/Cargo.toml
./ethkey/cli/Cargo.toml
./ethkey/Cargo.toml
./chainspec/Cargo.toml
./ethcore/service/Cargo.toml
./ethcore/evm/Cargo.toml
./ethcore/wasm/run/Cargo.toml
./ethcore/wasm/Cargo.toml
./ethcore/types/Cargo.toml
./ethcore/transaction/Cargo.toml
./ethcore/crypto/Cargo.toml
./ethcore/vm/Cargo.toml
./ethcore/res/wasm-tests/gen/Cargo.toml
./machine/Cargo.toml
./ethstore/cli/Cargo.toml
./ethstore/Cargo.toml
./whisper/Cargo.toml However, I'm not sure if we should just append And lastly, should it go into |
Maybe add a script that warns us about it but does not take any action? I can imagine situations where adding a mismatching or wrong license could ending real bad. |
I don't want to review this again. Can we maybe split the changes to the script from the changes to the actual headers? |
8265277
to
9b77a04
Compare
@5chdn It is only two scripts that are changed: Do you want me to revert the changes in them? Otherwise if I think this PR should be good to go! |
No, sorry, thanks for pointing them out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Let's merge this. |
9b77a04
to
b6ea4b6
Compare
Rebased! |
Something is wrong with the CI. Why is this job not linked @General-Beck ? |
b6ea4b6
to
4e0628b
Compare
@5chdn it's good to go now 🥇 |
merging before there are more conflicts ;) |
Thanks, Niklas :) |
…rp_sync_on_light_client * 'master' of https://github.com/paritytech/parity: Remove Result wrapper from AccountProvider in RPC impls (openethereum#8763) Update `license header` and `scripts` (openethereum#8666) Remove HostTrait altogether (openethereum#8681) ethcore-sync: fix connection to peers behind chain fork block (openethereum#8710) Remove public node settings from cli (openethereum#8758)
…eric * origin/master: ethcore: fix ancient block error msg handling (#8832) CI: Fix docker tags (#8822) parity: fix indentation in sync logging (#8794) Removed obsolete IpcMode enum (#8819) Remove UI related settings from CLI (#8783) Remove windows tray and installer (#8778) docs: add changelogs for 1.10.6 and 1.11.3 (#8810) Fix ancient blocks queue deadlock (#8751) Disallow unsigned transactions in case EIP-86 is disabled (#8802) Fix evmbin compilation (#8795) Have space between feature cfg flag (#8791) rpc: fix address formatting in TransactionRequest Display (#8786) Conditionally compile ethcore public test helpers (#8743) Remove Result wrapper from AccountProvider in RPC impls (#8763) Update `license header` and `scripts` (#8666)
Sorry for a huge
PR
but most of the changes are caused by updated scripts.The major changes in this PR are:
scripts/add_license.sh
it will now replace the existing header it starts with// Copyright
and ends withIf not, see <http://www.gnu.org/licenses/>.
or just add the header if no header is foundSo, the most of important parts of this PR to review are: