Skip to content

Commit 72fe6d9

Browse files
authored
Merge pull request #38 from dathere/domain-migration
Domain migration to ecosystem.ckan.org
2 parents 1ce0e79 + 2066d19 commit 72fe6d9

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# CKAN Ecosystem Metadata Pipelines
55

66

7-
Data pipeline workflows for continuously cataloging metadata from CKAN instances and extensions worldwide. Powers the [CKAN Ecosystem Catalog](https://catalog.civicdataecosystem.org/) with real-time insights into the open data infrastructure landscape.
7+
Data pipeline workflows for continuously cataloging metadata from CKAN instances and extensions worldwide. Powers the [CKAN Ecosystem Catalog](https://ecosystem.ckan.org/) with real-time insights into the open data infrastructure landscape.
88

99
[![CKAN](https://img.shields.io/badge/CKAN-2.10%2B-orange.svg)](https://ckan.org/)
1010

extensions-workflow/1getURL.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class SimpleGitHubExtractor:
99
def __init__(self):
10-
self.base_url = "https://catalog.civicdataecosystem.org"
10+
self.base_url = "https://ecosystem.ckan.org"
1111
self.api_base = f"{self.base_url}/api/3/action"
1212

1313
def extract_github_url(self, text):
@@ -135,4 +135,4 @@ def main():
135135
print("No results found!")
136136

137137
if __name__ == "__main__":
138-
main()
138+
main()

extensions-workflow/3updateCatalog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import os
1313

1414
# Configuration
15-
CKAN_BASE_URL = "https://catalog.civicdataecosystem.org"
15+
CKAN_BASE_URL = "https://ecosystem.ckan.org"
1616
CKAN_API_BASE = f"{CKAN_BASE_URL}/api/3/action"
1717
CKAN_API_KEY = os.getenv('CKAN_API_KEY', 'CKAN_API_KEY')
1818

@@ -55,7 +55,7 @@ def print_status(self, current: int, total: int, package_name: str = ""):
5555
def extract_package_name_from_url(self, catalog_url: str) -> Optional[str]:
5656
"""Extract package name from catalog URL"""
5757
try:
58-
# Expected format: https://catalog.civicdataecosystem.org/extension/package-name
58+
# Expected format: https://ecosystem.ckan.org/extension/package-name
5959
if '/extension/' in catalog_url:
6060
return catalog_url.split('/extension/')[-1].strip()
6161
return None

extensions-workflow/datapump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import sys
1111

1212
# Configuration
13-
CKAN_URL = 'https://catalog.civicdataecosystem.org'
13+
CKAN_URL = 'https://ecosystem.ckan.org'
1414
API_KEY = os.getenv('CKAN_API_KEY', 'CKAN_API_KEY')
1515
DATASET_ID = 'ckan-extensions-metadata'
1616
RESOURCE_NAME = 'CKAN Extensions Dynamic Metadata'

extensions-workflow/timeseries_append.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
logger = logging.getLogger(__name__)
2222

2323
# Configuration
24-
CKAN_URL = 'https://catalog.civicdataecosystem.org'
24+
CKAN_URL = 'https://ecosystem.ckan.org'
2525
API_KEY = os.getenv('CKAN_API_KEY', 'CKAN_API_KEY')
2626
DATASET_ID = 'ckan-extensions-metadata'
2727
RESOURCE_NAME = 'CKAN Extensions Dynamic Metadata'

sites-workflow/1getSitesURL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class SimpleSiteURLExtractor:
1010
def __init__(self):
11-
self.base_url = "https://catalog.civicdataecosystem.org"
11+
self.base_url = "https://ecosystem.ckan.org"
1212
self.api_base = f"{self.base_url}/api/3/action"
1313

1414
def clean_url(self, url):

sites-workflow/3updateSitesCatalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import os
1313

1414
# Configuration
15-
CKAN_BASE_URL = "https://catalog.civicdataecosystem.org"
15+
CKAN_BASE_URL = "https://ecosystem.ckan.org"
1616
CKAN_API_BASE = f"{CKAN_BASE_URL}/api/3/action"
1717
CKAN_API_KEY = os.getenv('CKAN_API_KEY', 'CKAN_API_KEY')
1818

sites-workflow/datapump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import sys
1111

1212
# Configuration
13-
CKAN_URL = 'https://catalog.civicdataecosystem.org'
13+
CKAN_URL = 'https://ecosystem.ckan.org'
1414
API_KEY = os.getenv('CKAN_API_KEY', 'CKAN_API_KEY')
1515
DATASET_ID = 'ckan-sites-metadata'
1616
RESOURCE_NAME = 'CKAN Sites Dynamic Metadata'

0 commit comments

Comments
 (0)