From 28e485a5c10bf582c17be3a35f3fa426e3b42d9e Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Tue, 14 Aug 2018 01:17:34 -0400 Subject: [PATCH] Replace poanetwork/poa-explorer urls with poanetwork/blockscout --- CONTRIBUTING.md | 14 +++++++------- PULL_REQUEST_TEMPLATE.md | 2 +- apps/block_scout_web/assets/package-lock.json | 2 +- apps/block_scout_web/assets/package.json | 4 ++-- apps/block_scout_web/mix.exs | 2 +- .../test/ethereum_jsonrpc/http/mox_test.exs | 6 +++--- apps/explorer/mix.exs | 2 +- apps/explorer/package-lock.json | 2 +- apps/explorer/package.json | 4 ++-- .../lib/indexer/internal_transaction_fetcher.ex | 2 +- apps/indexer/test/indexer/sequence_test.exs | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b2a96d6006..7d91bacfed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ ## Contributing -1. Fork it ( https://github.com/poanetwork/poa-explorer/fork ) +1. Fork it ( https://github.com/poanetwork/blockscout/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Write tests that cover your work 4. Commit your changes (`git commit -am 'Add some feature'`) @@ -20,8 +20,8 @@ ### Enhancements Enhancements cover all changes that make users lives better: -* [feature requests filed as issues](https://github.com/poanetwork/poa-explorer/labels/enhancement) that impact end-user [contributors](https://github.com/poanetwork/poa-explorer/labels/contributor) and [developers](https://github.com/poanetwork/poa-explorer/labels/developer) -* changes to the [architecture](https://github.com/poanetwork/poa-explorer/labels/architecture) that make it easier for contributors (in the GitHub sense), dev-ops, and deployers to maintain and run poa-explorer +* [feature requests filed as issues](https://github.com/poanetwork/blockscout/labels/enhancement) that impact end-user [contributors](https://github.com/poanetwork/blockscout/labels/contributor) and [developers](https://github.com/poanetwork/blockscout/labels/developer) +* changes to the [architecture](https://github.com/poanetwork/blockscout/labels/architecture) that make it easier for contributors (in the GitHub sense), dev-ops, and deployers to maintain and run blockscout ### Bug Fixes @@ -48,12 +48,12 @@ There is a [PULL_REQUEST_TEMPLATE.md](PULL_REQUEST_TEMPLATE.md) for this reposit - [ ] Title - [ ] Prefix labels if you don't have permissions to set labels in the GitHub interface. - * (bug) for [bug](https://github.com/poanetwork/poa-explorer/labels/bug) fixes - * (enhancement) for [enhancement](https://github.com/poanetwork/poa-explorer/labels/enhancement)s - * (incompatible changes) for [incompatible changes](https://github.com/poanetwork/poa-explorer/labels/incompatible%20changes), such a refactor that removes functionality, changes arguments, or makes something required that wasn't previously. + * (bug) for [bug](https://github.com/poanetwork/blockscout/labels/bug) fixes + * (enhancement) for [enhancement](https://github.com/poanetwork/blockscout/labels/enhancement)s + * (incompatible changes) for [incompatible changes](https://github.com/poanetwork/blockscout/labels/incompatible%20changes), such a refactor that removes functionality, changes arguments, or makes something required that wasn't previously. - [ ] Single sentence summary of change * What was fixed for bugs * What was added for enhancements * What was changed for incompatible changes -See [#255](https://github.com/poanetwork/poa-explorer/pull/255) as an example PR that uses GitHub keywords and a Changelog to explain multiple changes. +See [#255](https://github.com/poanetwork/blockscout/pull/255) as an example PR that uses GitHub keywords and a Changelog to explain multiple changes. diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 85ffdf5add..03444118b9 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -2,7 +2,7 @@ ## Motivation -*Why should we merge these changes. If using GitHub keywords to close [issues](https://github.com/poanetwork/poa-explorer/issues), this is optional as the motivation can be read on the issue page.* +*Why should we merge these changes. If using GitHub keywords to close [issues](https://github.com/poanetwork/blockscout/issues), this is optional as the motivation can be read on the issue page.* ## Changelog diff --git a/apps/block_scout_web/assets/package-lock.json b/apps/block_scout_web/assets/package-lock.json index 2428c94f9c..76cedde4d7 100644 --- a/apps/block_scout_web/assets/package-lock.json +++ b/apps/block_scout_web/assets/package-lock.json @@ -1,5 +1,5 @@ { - "name": "poa-explorer", + "name": "blockscout", "requires": true, "lockfileVersion": 1, "dependencies": { diff --git a/apps/block_scout_web/assets/package.json b/apps/block_scout_web/assets/package.json index 3afd1991d0..546611e5f1 100644 --- a/apps/block_scout_web/assets/package.json +++ b/apps/block_scout_web/assets/package.json @@ -1,10 +1,10 @@ { "repository": { "type": "git", - "url": "git+https://github.com/poanetwork/poa-explorer.git" + "url": "git+https://github.com/poanetwork/blockscout.git" }, "private": true, - "name": "poa-explorer", + "name": "blockscout", "author": "POA Network", "license": "GPL-3.0", "engines": { diff --git a/apps/block_scout_web/mix.exs b/apps/block_scout_web/mix.exs index da63ec0f57..0ace393165 100644 --- a/apps/block_scout_web/mix.exs +++ b/apps/block_scout_web/mix.exs @@ -126,7 +126,7 @@ defmodule BlockScoutWeb.Mixfile do [ maintainers: ["POA Networks Ltd."], licenses: ["GPL 3.0"], - links: %{"GitHub" => "https://github.com/poanetwork/poa-explorer"} + links: %{"GitHub" => "https://github.com/poanetwork/blockscout"} ] end end diff --git a/apps/ethereum_jsonrpc/test/ethereum_jsonrpc/http/mox_test.exs b/apps/ethereum_jsonrpc/test/ethereum_jsonrpc/http/mox_test.exs index 2cc9357949..852b405916 100644 --- a/apps/ethereum_jsonrpc/test/ethereum_jsonrpc/http/mox_test.exs +++ b/apps/ethereum_jsonrpc/test/ethereum_jsonrpc/http/mox_test.exs @@ -28,10 +28,10 @@ defmodule EthereumJSONRPC.HTTP.MoxTest do setup :verify_on_exit! describe "json_rpc/2" do - # regression test for https://github.com/poanetwork/poa-explorer/issues/254 + # regression test for https://github.com/poanetwork/blockscout/issues/254 # # this test triggered a DoS with CloudFlare reporting 502 Bad Gateway - # (see https://github.com/poanetwork/poa-explorer/issues/340), so it can't be run against the real Sokol chain and + # (see https://github.com/poanetwork/blockscout/issues/340), so it can't be run against the real Sokol chain and # must use `mox` to fake it. test "transparently splits batch payloads that would trigger a 413 Request Entity Too Large", %{ json_rpc_named_arguments: json_rpc_named_arguments @@ -99,7 +99,7 @@ defmodule EthereumJSONRPC.HTTP.MoxTest do end @tag :no_geth - # Regression test for https://github.com/poanetwork/poa-explorer/issues/418 + # Regression test for https://github.com/poanetwork/blockscout/issues/418 test "transparently splits batch payloads that would trigger a 504 Gateway Timeout", %{ json_rpc_named_arguments: json_rpc_named_arguments } do diff --git a/apps/explorer/mix.exs b/apps/explorer/mix.exs index 2102f4e86a..8abed670a4 100644 --- a/apps/explorer/mix.exs +++ b/apps/explorer/mix.exs @@ -118,7 +118,7 @@ defmodule Explorer.Mixfile do [ maintainers: ["POA Networks Ltd."], licenses: ["GPL 3.0"], - links: %{"GitHub" => "https://github.com/poanetwork/poa-explorer"} + links: %{"GitHub" => "https://github.com/poanetwork/blockscout"} ] end end diff --git a/apps/explorer/package-lock.json b/apps/explorer/package-lock.json index 1ccf79e763..b9a98acabf 100644 --- a/apps/explorer/package-lock.json +++ b/apps/explorer/package-lock.json @@ -1,5 +1,5 @@ { - "name": "poa-explorer", + "name": "blockscout", "requires": true, "lockfileVersion": 1, "dependencies": { diff --git a/apps/explorer/package.json b/apps/explorer/package.json index 74a583763c..6e86a17bf5 100644 --- a/apps/explorer/package.json +++ b/apps/explorer/package.json @@ -1,10 +1,10 @@ { "repository": { "type": "git", - "url": "git+https://github.com/poanetwork/poa-explorer.git" + "url": "git+https://github.com/poanetwork/blockscout.git" }, "private": true, - "name": "poa-explorer", + "name": "blockscout", "author": "POA Network", "license": "GPL-3.0", "engines": { diff --git a/apps/indexer/lib/indexer/internal_transaction_fetcher.ex b/apps/indexer/lib/indexer/internal_transaction_fetcher.ex index ccc1a44d38..45907e7ccb 100644 --- a/apps/indexer/lib/indexer/internal_transaction_fetcher.ex +++ b/apps/indexer/lib/indexer/internal_transaction_fetcher.ex @@ -140,7 +140,7 @@ defmodule Indexer.InternalTransactionFetcher do end end - # Protection and improved reporting for https://github.com/poanetwork/poa-explorer/issues/289 + # Protection and improved reporting for https://github.com/poanetwork/blockscout/issues/289 defp unique_transactions_params(transactions_params) do transaactions_params_by_hash_data = Enum.group_by(transactions_params, fn %{hash_data: hash_data} -> hash_data end) diff --git a/apps/indexer/test/indexer/sequence_test.exs b/apps/indexer/test/indexer/sequence_test.exs index 2f4397123f..c8cf725872 100644 --- a/apps/indexer/test/indexer/sequence_test.exs +++ b/apps/indexer/test/indexer/sequence_test.exs @@ -62,7 +62,7 @@ defmodule Indexer.SequenceTest do assert Sequence.pop(pid) == :halt end - # Regression test for https://github.com/poanetwork/poa-explorer/issues/387 + # Regression test for https://github.com/poanetwork/blockscout/issues/387 test "ensures Sequence shuts down when parent process dies" do parent = self()