From c05051582afa6d778edf544bf8ccd9392ef64bb0 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Mon, 2 Dec 2024 13:36:45 +0200 Subject: Handle replaced tenants and clean up code/comments --- mod/mod-ci-github-gh.hxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'mod/mod-ci-github-gh.hxx') diff --git a/mod/mod-ci-github-gh.hxx b/mod/mod-ci-github-gh.hxx index eeda871..392c0e8 100644 --- a/mod/mod-ci-github-gh.hxx +++ b/mod/mod-ci-github-gh.hxx @@ -21,8 +21,6 @@ namespace butl namespace brep { - // @@@ Check if any data members are unused (once the dust settles). - using build_queued_hints = tenant_service_build_queued::build_queued_hints; // GitHub request/response types (all start with gh_). @@ -87,15 +85,12 @@ namespace brep string node_id; unsigned int number; - // @@ TMP The unused base/head members may be useful for trace output when - // we receive the pull_request webhook. - string base_path; // Repository path (/) under github.com. - string base_ref; // @@ TODO Remove if remains unused. - string base_sha; // @@ TODO Remove if remains unused. + string base_ref; + string base_sha; string head_path; - string head_ref; // @@ TODO Remove if remains unused. + string head_ref; string head_sha; explicit @@ -133,7 +128,6 @@ namespace brep struct gh_repository { string node_id; - string name; string path; // Repository path (/) under github.com. string clone_url; -- cgit v1.1