https://github.com/librepcb/librepcb-libraries-admin
Administration scripts for LibrePCB libraries
https://github.com/librepcb/librepcb-libraries-admin
Last synced: 12 months ago
JSON representation
Administration scripts for LibrePCB libraries
- Host: GitHub
- URL: https://github.com/librepcb/librepcb-libraries-admin
- Owner: LibrePCB
- Created: 2020-02-07T23:07:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-12T18:11:24.000Z (about 1 year ago)
- Last Synced: 2025-06-22T15:24:31.370Z (12 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LibrePCB Library Administration Scripts
## Create Virtualenv
mkvirtualenv -p `which python3` librepcb-libraries-admin
## Install Requirements
pip install -r requirements.txt
## Create Configuration
Create a file `options.json` with following content:
```json
{
"--token": ""
}
```
## Test Deployment
./deploy.py
## Deploy Only To LibrePCB_Base.lplib
./deploy.py --apply LibrePCB_Base.lplib
## Deploy To All Libraries
./deploy.py --apply
## Upgrade Libraries File Format
To upgrade libraries to a new file format, you need to have Docker installed.
Then run the following command (combined with the flags documented above):
./deploy.py --upgrade 1.0.0-rc1
With `1.0.0-rc1` representing the tag of the `librepcb/librepcb-cli` Docker
image to be used for the upgrade.