cmpb is a library for retrieving lists of binary packages of ALT Linux and comparing the received lists.
Building requires libcurl and nlohmann-json.
Run following commands to build the library and program:
./configure
make
make install
To link the program with the library, you can use pkg-config:
g++ main.cpp `pkg-config libcmpb --cflags --libs`
Run the program:
dptest {branch} {branch}
where {branch} is a branch name.
For example, you can enter this:
dptest sisyphus p10
Program will generate .json files with names 'results_{arch}.json' for each architecture.