Skip to main content

No project description provided

Project description

repoupdater

GitHub Release Project Stage License

Build Status Project Maintenance GitHub Activity

Buy me a coffee

Update dependencies in your repositories.

This application was heavily based on addonupdater by Ludeeus. Big props to him for probably 90%+ of this project!

Install

To install, just run:

Requires Python version 3.5.3+

python3 -m pip install --upgrade repoupdater --user

Example

The following example will not commit anything since --test is enabled. This is good for testing you have the right repo and confirming before you commit.

repoupdater --token AAAAAAAAAAAAAAAAAAAAA --repo timmo001/home-panel --apk --docker_path docker --test
Starting update sequence for timmo001/home-panel
Checking for apk updates
curl Already have the newest version 7.61.1-r1
git Already have the newest version 2.18.1-r0
yarn Already have the newest version 1.7.0-r0
apk-tools Already have the newest version 2.10.1-r0
bash Already have the newest version 4.4.19-r1
busybox Already have the newest version 1.28.4-r3
ca-certificates Already have the newest version 20171114-r3
nginx Already have the newest version 1.14.2-r0
nodejs-current Already have the newest version 9.11.1-r2
tzdata Already have the newest version 2018f-r0
:arrow_up: Updates tar to version 1.31-r0
Creating new commit in master for timmo001/home-panel
{'commit': Commit(sha="4085943979212b027cf7a8a92ed74501e8614e77"), 'content': ContentFile(path="docker/Dockerfile")}
Test was enabled, skipping commit

CLI options

param alias description
--token -T An GitHub Access token with repo permissions.
--repo -R Name of the repo for the repository. eg. myorg/myrepo
--apk -a Check for apk updates.
--pip -p Check for pip updates.
--test None If this flag is used commits will be omitted.
--verbose None Print more stuff to the console.
--apk_version None Target version of apk packages, like 3.9.
--docker_path -D Path to your Dockerfile. Leave this blank for the root directory.
--python_req_path -P Path to your python requirements.txt. Leave this blank for the root directory.
--release None Creates a new release this argument require release version eg. v1.0.3.
--fork None Create a fork before creating a pull request, useful if you don't have access to the repo.
-pull_request -PR Create a PR instead of pushing directly to master.

Links

Contribution Guidelines

Code of Conduct

License

MIT License

Copyright (c) 2019 Timmo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repoupdater-0.2.3.tar.gz (7.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page