A tool to autoupdate packages
Generate GitHub API token.
git clone [email protected]:fedya/updates_tracker.git
sudo dnf install abf-c-c mock rpmdevtools
sudo gpasswd -a $USER mock
Than edit new_checker.py you need to replace github_token with obtained one.
Check sway version
python new_checker.py --package sway
[....]
{
'package': 'sway',
'omv_version': '1.1.1',
'upstream_version': '1.1.1',
'project_url': 'https://github.com/SirCmpwn/sway/'
}
or check vim
python new_checker.py --package vim
[....]
{
'package': 'vim',
'omv_version': '8.1.1592',
'upstream_version': '8.1.1592',
'project_url': 'https://github.com/vim/vim/'
}
- Asks OpenMandriva repo https://github.com/OpenMandrivaAssociation/ for current version
- Detect upstream url and make request to github/repology api to pull new version
- Run local build with abf-c-c tool
- if succeeded run git commit with version
autoupdate [1.1.27]
message - Git push and run abf build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.