Compare commits
No commits in common. "5f01bf51444df15fdce9256446f1016369aafdb0" and "ed1559beb627eba0b21ab888e9334ba0b6327f58" have entirely different histories.
5f01bf5144
...
ed1559beb6
@ -2,9 +2,9 @@ packages:
|
||||
- name: cmake
|
||||
upstream_url: "https://gitlab.kitware.com/cmake/cmake.git"
|
||||
upstream_browser: "https://gitlab.kitware.com/cmake/cmake/-/commit/"
|
||||
packaging_url: "https://salsa.debian.org/cmake-team/cmake.git"
|
||||
packaging_browser: "https://salsa.debian.org/cmake-team/cmake/-/commit/"
|
||||
packaging_branch: "master"
|
||||
packaging_url: "https://git.lubuntu.me/Lubuntu/cmake.git"
|
||||
packaging_browser: "https://git.lubuntu.me/Lubuntu/cmake/commit/"
|
||||
packaging_branch: "ci/unstable"
|
||||
|
||||
releases:
|
||||
- plucky
|
||||
|
@ -321,9 +321,13 @@ bool CiLogic::pull_project(std::shared_ptr<PackageConf> &proj, std::shared_ptr<L
|
||||
|
||||
// Now read the HEAD commits and store them
|
||||
log->append("Fetching complete. Storing Git commit data...\n");
|
||||
if (!proj->packaging_commit) proj->packaging_commit = std::make_shared<GitCommit>();
|
||||
if (!proj->upstream_commit) proj->upstream_commit = std::make_shared<GitCommit>();
|
||||
if (!proj->packaging_commit) {
|
||||
proj->packaging_commit = std::make_unique<GitCommit>();
|
||||
}
|
||||
|
||||
if (!proj->upstream_commit) {
|
||||
proj->upstream_commit = std::make_unique<GitCommit>();
|
||||
}
|
||||
*proj->packaging_commit = get_commit_from_pkg_repo(packaging_dir.string(), log);
|
||||
*proj->upstream_commit = get_commit_from_pkg_repo(upstream_dir.string(), log);
|
||||
proj->sync();
|
||||
@ -667,14 +671,6 @@ std::string CiLogic::queue_pull_tarball(std::vector<std::shared_ptr<PackageConf>
|
||||
|
||||
*(r->packaging_commit) = *(existing_item->first_pkgconf->packaging_commit);
|
||||
*(r->upstream_commit) = *(existing_item->first_pkgconf->upstream_commit);
|
||||
if (existing_item->first_pkgconf->packaging_commit) {
|
||||
if (!r->packaging_commit) r->packaging_commit = std::make_shared<GitCommit>(*(existing_item->first_pkgconf->packaging_commit));
|
||||
else *(r->packaging_commit) = *(existing_item->first_pkgconf->packaging_commit);
|
||||
}
|
||||
if (existing_item->first_pkgconf->upstream_commit) {
|
||||
if (!r->upstream_commit) r->upstream_commit = std::make_shared<GitCommit>(*(existing_item->first_pkgconf->upstream_commit));
|
||||
else *(r->upstream_commit) = *(existing_item->first_pkgconf->upstream_commit);
|
||||
}
|
||||
r->sync();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user