fylhan / qompoter Goto Github PK
View Code? Open in Web Editor NEWDependency manager for Qt / C++.
Home Page: https://fylhan.github.io/qompoter/
License: GNU Lesser General Public License v3.0
Dependency manager for Qt / C++.
Home Page: https://fylhan.github.io/qompoter/
License: GNU Lesser General Public License v3.0
If you project targets a commit number (e.g. #82bbdf9) or a tag which have been deleted and re-created (no, you should not do that: git tag -d v1.0 && git push origin :refs/tags/v1.0
), Qompoter may fail (and sometimes fail silently!) to update a Git based package.
Until this is fixed, the tricks is to backup the "vendor" directory, delete it and run qompoter install
again. Like this:
qompoter export
rm -rf vendor
qompoter install
If everything is ok, wait some times to be sure, you could delete the backup archive.
When downloading dependencies as lib, using qompoter update
command, the private token is visible in resulted qompoter.lock file
Version : v0.5.1
Example :
qompoter.json file
{
"name": "george/return-of-the-jedi",
"authors": [
{
"name": "George Lucas",
"homepage": "https://starwars.com"
}
],
"require": {
"young/luke": "v0.2.1-lib:green-light-saber",
"young/leia": "v0.5.*",
"old/yoda": "master"
},
"repositories": {
"old/yoda" : "https://github.com"
}
}
qompoter.lock file after using qomopoter update
{
"last": "123456789",
"name": "george/return-of-the-jedi",
"date": "2024-03-18T11:03:04+01:00",
"require": {
"young/luke": { "version": "v0.2.1-lib", "type": "gitlab", "url": "https://github.com/api/v4/projects/young%2Fluke/jobs/artifacts/v0.2.1-lib/download?job=green-light-saber&private_token=<privateToken>", "md5sum": "456789123" }
,"young/leia": { "version": "v0.5.1", "type": "git", "url": "https://github.com:/young/leia.git", "md5sum": "456123789" }
,"old/yoda": { "version": "master", "type": "git", "url": "https://github.com:/old/yoda.git", "md5sum": "987654321" }
}
}
Hi, thanks for writing this. FYI, qompoter doesn't work by default on MacOS, but you can get it to work by installing some additional packages with Homebrew (https://brew.sh/)
Download and install package from inqlude.
Version : v0.5.1
If a qompoter.lock file looks like this (result of a qompoter update
with a dependency as lib) :
{
"last": "123456789",
"name": "george/return-of-the-jedi",
"date": "2024-03-18T11:03:04+01:00",
"require": {
"young/luke": { "version": "v0.2.1-lib", "type": "gitlab", "url": "https://github.com/api/v4/projects/young%2Fluke/jobs/artifacts/v0.2.1-lib/download?job=green-light-saber&private_token=<privateToken>", "md5sum": "456789123" }
,"young/leia": { "version": "v0.5.1", "type": "git", "url": "https://github.com:/young/leia.git", "md5sum": "456123789" }
,"old/yoda": { "version": "master", "type": "git", "url": "https://github.com:/old/yoda.git", "md5sum": "987654321" }
}
}
There will be an error when running qompoter install
command :
* young/luke v0.2.1-lib
Downloading lib...
Warning: cannot find provided "https://github.com/api/v4/projects/young%2Fluke/jobs/artifacts/v0.2.1-lib/download?job=green-light-saber&private_token=<privateToken>", let's try another repository
Error: no library found "https://github.com:/young/luke/v0.2.1-lib"
FAILURE
FAILURE
A qompoter.json trying to load "v3.1.*" on a package with "v3.1.0" and "v3.10.0" will load v3.1.0
* trialog-qt/qhttpp v3.1.*
Downloading sources from Git...
Selected version: v3.10.0
done
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.