~aleteoryx/muditaos

ref: e8fd36cdae716250db936b165fd657c065a7a3da muditaos/tools/README.md -rw-r--r-- 1.2 KiB
e8fd36cd — Paweł Joński [BH-936] Add Polish translation to Bell 4 years ago

#MuditaOS misc tooling

#Installing packages

python3 -m pip install -r requirements.txt

#Updating packages

  1. Create venv with curent setup:
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
  1. Install required packages

  2. Freeze requirements:

pip freeze > requirements.txt

#Testing for proper asset download configuration:

  1. check if you have token configured
git config user.apitoken

if not please add token ( see doc: documentation

  1. check if you have access to PureUpdater repository in read mode
curl -o /dev/null -H "Authorization: token $(git config user.apitoken)" "https://api.github.com/repos/mudita/PureUpdater"

if not Then please either fix your token access, or request access to PureUpdater

  1. Check if you can list releases on repository:
python3 ./tools/download_asset.py -w ./ PureUpdater list                                                                                                                                             21s[cbe063dc6]

if not Then fix your token, or request access to PureUpdater