Skip to content

Commit

Permalink
Update URLs to aggregated revision data
Browse files Browse the repository at this point in the history
  • Loading branch information
GJFR committed Jan 25, 2024
1 parent 1ec7242 commit db7cca6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bci/version_control/repository/online/chromium.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

LOGGER = logging.getLogger("bci")

META_DATA_URL = "https://gjfr.dev/res/data/chromium.json"
META_DATA_URL = "https://distrinet.pages.gitlab.kuleuven.be/users/gertjan-franken/bughog-revision-metadata/chromium_release_base_revs.json"
REPO_TAGS_URL = "https://chromium.googlesource.com/chromium/src/+refs/"


Expand Down
2 changes: 1 addition & 1 deletion bci/version_control/repository/online/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

LOGGER = logging.getLogger("bci")

META_DATA_URL = "https://gjfr.dev/res/data/firefox.json"
META_DATA_URL = "https://distrinet.pages.gitlab.kuleuven.be/users/gertjan-franken/bughog-revision-metadata/firefox_release_base_revs.json"
REPO_REVISION_URL = "https://hg.mozilla.org/releases/mozilla-release/rev/"


Expand Down
4 changes: 2 additions & 2 deletions bci/version_control/states/firefox.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from bci.version_control.states.state import State
from bci.util import request_json

BINARY_AVAILABILITY_URL = "https://gjfr.dev/res/data/firefox_binary_availability_summary.json"
REVISION_NUMBER_MAPPING_URL = "https://gjfr.dev/res/data/firefox_revision_number_to_id.json"
BINARY_AVAILABILITY_URL = "https://distrinet.pages.gitlab.kuleuven.be/users/gertjan-franken/bughog-revision-metadata/firefox_binary_availability.json"
REVISION_NUMBER_MAPPING_URL = "https://distrinet.pages.gitlab.kuleuven.be/users/gertjan-franken/bughog-revision-metadata/firefox_revision_nb_to_id.json"

BINARY_AVAILABILITY_MAPPING = request_json(BINARY_AVAILABILITY_URL)["data"]
REVISION_NUMBER_MAPPING = request_json(REVISION_NUMBER_MAPPING_URL)["data"]
Expand Down

0 comments on commit db7cca6

Please sign in to comment.