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 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
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
$ bincrafters_conventions --remote=bincrafters
To update ONLY one project on GitHub https://github.com/bincrafters/conan-conversion
$ bincrafters_conventions --remote=bincrafters/conan-double-conversion
To AVOID to execute push command after to update
$ bincrafters_conventions --remote=bincrafters/conan-libusb --dry-run
To filter PROJECTS by pattern
$ bincrafters_conventions --remote=bincrafters --project-pattern bincrafters/conan-*
To filter BRANCHES by pattern
$ bincrafters_conventions --remote=bincrafters --branch-pattern stable/*
or
$ bincrafters_conventions --remote=bincrafters/conan-libzip --branch-pattern stable/*
To update and check LOCAL everything
$ bincrafters_conventions
To check LOCAL everything
$ bincrafters_conventions --check
To apply Conan conventions in a local file:
$ bincrafters_conventions --conanfile=conanfile.py
To update AppVeyor file:
$ bincrafters_conventions --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
Hashes for bincrafters_conventions-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3593b8fdb39f80e63f7bc0fab7d79791d95892e78473dadd954c5f10bb2d819 |
|
MD5 | e142b5d9e8ba68649921085af8ccf803 |
|
BLAKE2b-256 | 53ac0df2a3b291fb50c936bb64b0c2b9b8e5dcaeaa544bbc5a54941e136a73e3 |