Skip to content

Utilities to work with selected version of ports files

License

Notifications You must be signed in to change notification settings

david-antiteum/vcpkg-versions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcpkg-versions

Utilities to work with selected versions of port files. More information in this blog post.

Importer

This utility read all commits in the repository to discover the ports and all the versions. The creates a SQLite database with that information.

Example of usage:

mkdir -p $HOME/tmp
cd $HOME/tmp
git clone https://github.com/microsoft/vcpkg.git
python importer.py --repository $HOME/tmp/vcpkg --db $HOME/tmp/repo.db

Query

Look for packages by name.

Examples

Look for a package using a version:

python query.py --db $HOME/tmp/repo.db --pkg boost/1.67.0

Look for packages with a similar name (using the LIKE operator)

python query.py --db $HOME/tmp/repo.db --pkg json --like

Generator

Generates all the port files for a package and a version, including all the dependencies.

Example of usage:

cd $HOME
rm -rf vcpkg
git clone https://github.com/microsoft/vcpkg.git
rm -rf vcpkg/ports
python generator.py --repository $HOME/tmp/vcpkg --db $HOME/tmp/repo.db --destination $HOME/vcpkg/ports --pkg opencv/3.4.3-3

About

Utilities to work with selected version of ports files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages