Iterate from @dnunez feedback

pull/1692/head
tuxxy 2020-02-15 11:18:29 +01:00
parent 2eb94b7d7a
commit 3f23d3958c
11 changed files with 7 additions and 5 deletions

View File

@ -74,7 +74,7 @@ class GithubRegistrySource(CanonicalRegistrySource):
is_primary = True
def get_publication_endpoint(self) -> str:
url = f'{self._BASE_URL}/master/registries/{self.network}/{self.registry_name}'
url = f'{self._BASE_URL}/master/nucypher/blockchain/eth/contract_registry/{self.network}/{self.registry_name}'
return url
def fetch_latest_publication(self) -> Union[str, bytes]:
@ -97,7 +97,8 @@ class GithubRegistrySource(CanonicalRegistrySource):
class InPackageRegistrySource(CanonicalRegistrySource):
_REGISTRY_DIR = os.path.join(BASE_DIR, "registries")
_HERE = os.path.abspath(os.path.dirname(__file__))
_REGISTRY_DIR = os.path.join(_HERE, "contract_registry")
name = "In-Package Registry Source"
is_primary = False

View File

@ -106,11 +106,12 @@ EXTRAS_REQUIRE = {'development': TESTS_REQUIRE,
'docs': DOCS_REQUIRE,
'benchmark': BENCHMARKS_REQUIRE}
PACKAGE_DATA = ['cli/templates',
'network/templates/basic_status.j2',
PACKAGE_DATA = ['network/templates/basic_status.j2',
'network/nicknames/web_colors.json',
'blockchain/eth/contract_registry/mainnet/*',
'blockchain/eth/contract_registry/goerli/*',
'blockchain/eth/contract_registry/cassandra/*',
'blockchain/eth/contract_registry/frances/*',
'blockchain/eth/contract_registry/miranda/*',
'blockchain/eth/sol/source/contracts/*',
'blockchain/eth/sol/source/contracts/lib/*',
'blockchain/eth/sol/source/contracts/proxy/*',