# fog-update-bot **Repository Path**: mirrors_mozilla/fog-update-bot ## Basic Information - **Project Name**: fog-update-bot - **Description**: Now lives at https://github.com/mozilla/probe-scraper/tree/main/fog-updater - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-13 - **Last Updated**: 2025-12-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # This repository is archived The `fog-update-bot` code now lives in --- # fog-update-bot Automation to update `repositories.yaml` of `probe-scraper` with the latest `metrics_index.py` list. Fetches and parses the `metrics_index.py` from `gecko-dev`, extracts the relevant list of YAML files and creates a new Pull Request against `probe-scraper` if it contains any changes. ## Environment variables | Name | Description | | ---- | ----------- | | `DEBUG` | If set enables debug logging | | `DRY_RUN` | If set to `True` will not create a PR | | `GITHUB_REPOSITORY_OWNER` | The owner of the `probe-scraper` repository | | `AUTHOR_NAME` | The name name to use for the commit | | `AUTHOR_EMAIL` | The email to use for the commit | ## Running with Docker ``` $ docker build -t fog-update . $ docker run -it --rm fog-update ``` ## Development ``` $ python3 -m venv env $ pip install -r requirements.txt $ pip install pytest ``` ## Testing You can run the tests: ``` pytest ``` Manual runs of the updater requires a `GITHUB_TOKEN`. Go to and create a new token (no additional scopes necessary). Set it in your shell: ``` export GITHUB_TOKEN= ``` ## Code of Conduct This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). See [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) ## License This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/ See [LICENSE](LICENSE).