aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-08 21:27:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-09 14:03:46 +0300
commitc28758a9327efc0f3bfc2f3c14d12b533750d94b (patch)
tree6d40474dddd28973a2dc8899fe18c2cb4ea6ff40 /mod
parent4dcc80df759c7ba1ada65b52a8dc6c793d56e4e5 (diff)
Add support for marking internal repository as non-buildable
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-package-version-details.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index 1c7fac4..0271e03 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -350,10 +350,7 @@ handle (request& rq, response& rs)
<< ~TABLE;
}
- // Don't display the page builds section for stub packages.
- //
- bool builds (build_db_ != nullptr &&
- ver.compare (wildcard_version, true) != 0);
+ bool builds (build_db_ != nullptr && pkg->buildable);
if (builds)
package_db_->load (*pkg, pkg->build_section);