Bincrafters script to apply Conan conventions and update CI jobs
Project description
Bincrafters Conventions
A Script to update Conan projects following Conan conventions
This project contains scripts to update recipes, CI files, to update Conan conventions in general and to perform some linting.
INSTALL
You can install bincrafters-conventions
via pip
like this:
$ pip install bincrafters_conventions
Minimum Python version: 3.8
RUN
💡 Bincrafters Conventions is a command line tool.
Execute
bincrafters-conventions --help
to see all options.
bincrafters-conventions
has also the aliasbcon
for convince.
EXAMPLES
To update ALL Conan projects on GitHub for https://github.com/bincrafters
$ bcon --remote=bincrafters
To update ONLY one project on GitHub https://github.com/bincrafters/conan-conversion
$ bcon --remote=bincrafters/conan-double-conversion
To AVOID to execute push command after to update
$ bcon --remote=bincrafters/conan-libusb --dry-run
To filter PROJECTS by pattern
$ bcon --remote=bincrafters --project-pattern bincrafters/conan-*
To filter BRANCHES by pattern
$ bcon --remote=bincrafters --branch-pattern stable/*
or
$ bcon --remote=bincrafters/conan-libzip --branch-pattern stable/*
To update and check LOCAL everything
$ bcon
To check LOCAL everything
$ bcon --check
To apply Conan conventions in a local file:
$ bcon --conanfile=conanfile.py
To update AppVeyor file:
$ bcon --appveryorfile=appveyor.yml
Testing and Development
If you want to install bincrafters-conventions
via a local git clone
pip install --user -U .
To install extra packages required to test
pip install .[test]
To run all unit test + code coverage, execute:
cd tests
pytest -v --cov=bincrafters_conventions
LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bincrafters_conventions-1.2.1.tar.gz
.
File metadata
- Download URL: bincrafters_conventions-1.2.1.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d8baff28cef6c8c7b53c78b7f71fcc2932fd04f72ba361d3d0343c4b9a96fc |
|
MD5 | 67b8655e426490e7a3939e9b3a71ed32 |
|
BLAKE2b-256 | 14c9c4008ef5d591bdc7d3848023cf8a12f324f7d379a0510539daf5933d4e4e |
File details
Details for the file bincrafters_conventions-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: bincrafters_conventions-1.2.1-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ae8a1441744c9daafbacb490b002fcb680a1be0346c83b949b5170f45afda3 |
|
MD5 | d51f6ad832de5e9aa4740194c2d2e27b |
|
BLAKE2b-256 | 53aeda172839d235a761bd0a21b2bd127126923b61fffdb2b960186f189ddf53 |