Compare commits
No commits in common. "fca016b1dfe54e38c776863618ccf66b056c9a76" and "94f5e376d4c6c0711010cf155fe480b5dba83cb3" have entirely different histories.
fca016b1df
...
94f5e376d4
@ -735,14 +735,12 @@ std::string CiLogic::queue_build_upload(std::vector<std::shared_ptr<PackageConf>
|
|||||||
job_statuses->at("source_build"),
|
job_statuses->at("source_build"),
|
||||||
[this, r, &task_queue, job_statuses](std::shared_ptr<Log> log) mutable {
|
[this, r, &task_queue, job_statuses](std::shared_ptr<Log> log) mutable {
|
||||||
auto [build_ok, changes_files] = build_project(r, log);
|
auto [build_ok, changes_files] = build_project(r, log);
|
||||||
r->sync();
|
|
||||||
if (build_ok) {
|
if (build_ok) {
|
||||||
task_queue->enqueue(
|
task_queue->enqueue(
|
||||||
job_statuses->at("upload"),
|
job_statuses->at("upload"),
|
||||||
[this, r, changes_files](std::shared_ptr<Log> log) mutable {
|
[this, r, changes_files](std::shared_ptr<Log> log) mutable {
|
||||||
bool upload_ok = upload_and_lint(r, changes_files, false, log);
|
bool upload_ok = upload_and_lint(r, changes_files, false, log);
|
||||||
(void)upload_ok;
|
(void)upload_ok;
|
||||||
r->sync();
|
|
||||||
},
|
},
|
||||||
r
|
r
|
||||||
);
|
);
|
||||||
|
@ -222,7 +222,8 @@ bool WebServer::start_server(quint16 port) {
|
|||||||
|
|
||||||
task_queue->enqueue(
|
task_queue->enqueue(
|
||||||
job_statuses->at("source_check"),
|
job_statuses->at("source_check"),
|
||||||
[this, pkgconf, proposed](std::shared_ptr<Log> log) mutable {
|
[this, proposed](std::shared_ptr<Log> log) mutable {
|
||||||
|
std::shared_ptr<PackageConf> pkgconf = log->get_task_context()->get_parent_packageconf();
|
||||||
std::string package_version = pkgconf->upstream_version + "-0ubuntu0~ppa" + std::to_string(pkgconf->ppa_revision);
|
std::string package_version = pkgconf->upstream_version + "-0ubuntu0~ppa" + std::to_string(pkgconf->ppa_revision);
|
||||||
bool found_in_ppa = false;
|
bool found_in_ppa = false;
|
||||||
for (auto spph : proposed.getPublishedSources("", "", std::nullopt, true, true, "", pkgconf->package->name, "", package_version)) {
|
for (auto spph : proposed.getPublishedSources("", "", std::nullopt, true, true, "", pkgconf->package->name, "", package_version)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user