Skip to content

mozilla-mobile/relbot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

RelBot

Stefan Arentz, October 2020

Small toolbox of scripts to automate a bunch of things we now mostly do manually:

  • Update Android-Components to new GeckoView (Beta) releases
  • Creating Android-Components Releases
  • Pulling a new Android-Components release into Fenix

Work in progress.

Running with Docker

$ docker build -t relbot .
$ docker run -it --rm relbot ...command...

Development

python3 -m venv env
source env/bin/activate
pip install --require-hashes -r requirements/dev.txt
pre-commit install --install-hooks

Testing

Testing runs against GitHub repositories. You will quickly run into its rate limiting. This can be avoided by using a Personal Access Token.

Go to https://github.com/settings/tokens and create a new token (no additional scopes necessary). Set it in your shell:

export GITHUB_TOKEN=<the generated token>

You can then run the tests:

pytest

Note: testing might fail due to changing upstream repositories.

Update dependencies

maintenance/pin.sh

Then review and commit the changes. Create a new pull requests.