Skip to content

uilianries/conan-package-updater

Repository files navigation

Build Status: Linux and Macos Build status: Windows codecov Codacy Badge Pypi Download

Conan Package Updater

A script to update all Conan packages

logo

Requirements

  • Python 3
  • the Conan client

INSTALL

To install by pip is just one step

Local

If you want to install by local copy

pip install .
Remote

Or if you want to download our pip package

pip install conan_package_updater
Github
pip install git+https://github.com/uilianries/conan-package-updater.git

USAGE

usage: conan_package_updater.py [-h] [--user] [--yes] [--ignore] [--dry-run]
                                [--version]
                                organization token

Conan Package Updater

positional arguments:
  organization   Github organization name e.g. bincrafters
  token          Github Token used to create new branches

optional arguments:
  -h, --help     show this help message and exit
  --user, -u     Organization is an user account
  --yes, -y      Do not ask for confirmation
  --ignore, -i   Ignore errors receive from remote
  --dry-run, -d  Check which packages will be removed only
  --version, -v  show program's version number and exit
Update all packages

    conan-package-updater bincrafters ${GITHUB_TOKEN}


#### REQUIREMENTS and DEVELOPMENT
To develop or run conan remove outdated

    pip install -r bincrafters_package_updater/requirements.txt


#### UPLOAD
There are two ways to upload this project.

##### Travis CI
After to create a new tag, the package will be uploaded automatically to PyPi.  
Both username and password (encrypted) are in travis file.  
Only one job (Python 3.6) will upload, the others will be skipped.


##### Command line
To upload this package on pypi (legacy mode):

    pip install twine
    python setup.py sdist
    twine upload dist/*


#### LICENSE
[MIT](LICENSE.md)

About

One command, all Conan packages updated

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages