Skip to content

uniurbit/choco-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

choco-updater 🍫

Chocoupdater is a Python script to update your local Chocolatey repository. You can run it manually or put in a cron.

Requirements

certifi                2020.12.5
chardet                3.0.4
colored                1.4.2
colorama               0.4.4
idna                   2.10
lxml                   4.6.2
pip                    20.3.1
protobuf               3.14.0
requests               2.25.0
setuptools             51.0.0
six                    1.15.0
soupsieve              2.0.1
termcolor              1.1.0
urllib3                1.26.2
wheel                  0.36.1

Usage

  • mode : check
    • From a package list defined in database tbl 'package'
      the script makes HTTP GET to Chocolatey community API just to check latest version of each package and update database.
  • mode : upgrade
    • Runs pending updates then set as updated
  • mode : init
    • migrate query structure in local sqlite3 db
    • seed query structure in local sqlite3 db
  • mode : status
    • show list of upgradable packages
python xml-parser.py init|check|status|upgrade