Fixed small issues and updated GitHub CI

-Make package manager functions return error
-Added Jenkensfile CI for testing purposes
-Updated the github CI for testing purposes
This commit is contained in:
David Allen 2023-01-13 14:07:14 -06:00
parent 5ffce72fa5
commit 072a118c9d
10 changed files with 107 additions and 32 deletions

View file

@ -34,7 +34,7 @@ namespace gdpm::package_manager{
CURL *curl;
CURLcode res;
config::context config;
rest_api::rest_api_context params;
rest_api::context params;
command_e command;
std::vector<std::string> packages;
std::vector<std::string> opts;
@ -102,7 +102,6 @@ namespace gdpm::package_manager{
if(config.enable_sync){
if(p_cache.empty()){
p_cache = synchronize_database(package_titles);
p_cache = cache::get_package_info_by_title(package_titles);
}
}