Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukasberbuer/conan-check-updates
Check for updates of your conanfile.txt/conanfile.py requirements
https://github.com/lukasberbuer/conan-check-updates
conan package package-manager requirements update
Last synced: 3 months ago
JSON representation
Check for updates of your conanfile.txt/conanfile.py requirements
- Host: GitHub
- URL: https://github.com/lukasberbuer/conan-check-updates
- Owner: lukasberbuer
- License: mit
- Created: 2021-11-30T20:51:37.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T14:53:07.000Z (5 months ago)
- Last Synced: 2024-10-31T12:39:53.300Z (3 months ago)
- Topics: conan, package, package-manager, requirements, update
- Language: Python
- Homepage:
- Size: 558 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# conan-check-updates
[![CI](https://github.com/lukasberbuer/conan-check-updates/workflows/CI/badge.svg)](https://github.com/lukasberbuer/conan-check-updates/actions)
[![Coverage Status](https://coveralls.io/repos/github/lukasberbuer/conan-check-updates/badge.svg?branch=master)](https://coveralls.io/github/lukasberbuer/conan-check-updates?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/conan-check-updates)](https://pypi.org/project/conan-check-updates)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/conan-check-updates)](https://pypi.org/project/conan-check-updates)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)Check for updates of your `conanfile.txt` / `conanfile.py` requirements.
This application is heavily inspired by [npm-check-updates](https://github.com/raineorshine/npm-check-updates).
## Installation
Install the latest version from PyPI:
```
pip install -U conan-check-updates
```## Usage
```
usage: conan-check-updates [--cwd CWD] [--target {major,minor,patch}]
[--timeout TIMEOUT] [-u] [-V] [-h]
[filter ...]Check for updates of your conanfile.txt/conanfile.py requirements.
positional arguments:
filter Include only package names matching any of the given
strings or patterns. Wildcards (*, ?) are allowed.
Patterns can be inverted with a prepended !, e.g.
!boost*. (default: None)options:
--cwd CWD Path to a folder containing a recipe or to a recipe
file directly (conanfile.py or conanfile.txt).
(default: .)
--target {major,minor,patch}
Limit update level: major, minor or patch. (default:
major)
--timeout TIMEOUT Timeout for `conan search` in seconds. (default: 30)
-u, --upgrade Overwrite conanfile with upgraded versions. (default:
False)
-V, --version Show the version and exit.
-h, --help Show this message and exit.
```## Contributing
Contributions are happily accepted.
Just [create an issue](https://github.com/lukasberbuer/conan-check-updates/issues/new) or make a pull-request.### Development setup
```sh
# Clone repository
git clone https://github.com/lukasberbuer/conan-check-updates.git
cd conan-check-updates# Install package and development tools
pip install -e .[dev]# Install the git hook scripts
pre-commit install# Run checks & tests with tox
tox
```