https://github.com/sea5kg/bop-deps
Binary dependency
https://github.com/sea5kg/bop-deps
artifacts-repository build-management
Last synced: 3 months ago
JSON representation
Binary dependency
- Host: GitHub
- URL: https://github.com/sea5kg/bop-deps
- Owner: sea5kg
- License: mit
- Created: 2020-11-19T13:51:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-19T17:03:31.000Z (over 4 years ago)
- Last Synced: 2025-01-29T22:44:43.011Z (4 months ago)
- Topics: artifacts-repository, build-management
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bop
Binary dependency## Requirements
```
$ python3 -m pip install requests pyyaml
```## How to install
Linux (install from github):
```
sudo curl -L https://raw.githubusercontent.com/sea-kg/bop/main/bop.py -o /usr/local/bin/bop && chmod +x /usr/local/bin/bop
```
*Don't forget install requirements*## How to use
Help:
```
bop help ....................... This help
bop targets .................... List of targets
bop install ..................... Install prod && dev all targets for current platfrom
bop install [keys] [targets] .... Install dev deps for
:
--dev .................. install dev dependencies
--prod ................. install prod dependencies
--lin .................. install only linux dependencies
--win .................. install only windows dependencies
--mac .................. install only macos dependencies
--all-platfroms ........ install all platfrom dependencies dependencies
--skip-installed ........ skip if target file already exists
```Example of control file `bop-deps.yml`
```
source-urls:
- url: https://sea-kg.com/music/
with-credentials: no
- url: https://sea-kg.com/secret/
with-credentials: yestargets:
music:
- 2020_mi_zoomkadeps:
2020_mi_zoomka:
files-any:
all:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
prod: {}
dev: {}
files-linux:
all:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
prod:
"2020_mi_zoomka/sea5kg%20-%20Mi%20Zoomka%20(30.08.2020).mp3": "bin/audio.mp3"
dev:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
files-windows:
all:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
prod:
"2020_mi_zoomka/sea5kg%20-%20Mi%20Zoomka%20(30.08.2020).mp3": "bin/audio.mp3"
dev:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
files-macos:
all:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
prod:
"2020_mi_zoomka/sea5kg%20-%20Mi%20Zoomka%20(30.08.2020).mp3": "bin/audio.mp3"
dev:
"2020_mi_zoomka/cover.jpg": "bin/image.jpg"
```create the bop-credentials:
```
$ bop add-credentials
Notice: In current time support only basic authorization via http header
0: https://sea-kg.com/secret/
Select url for set credentials: 0
Username: user
Password:
```