From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C439C158094 for ; Thu, 28 Jul 2022 11:31:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE3CFE0DA4; Thu, 28 Jul 2022 11:31:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 279B9E0DA4 for ; Thu, 28 Jul 2022 11:31:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8B31340BBE for ; Thu, 28 Jul 2022 11:31:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37D8F52C for ; Thu, 28 Jul 2022 11:31:24 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1659007867.60ce5fec404770c2dbc58352808397f7e9b87c93.zorry@gentoo> Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: buildbot_gentoo_ci/db/ X-VCS-Repository: proj/tinderbox-cluster X-VCS-Files: buildbot_gentoo_ci/db/model.py buildbot_gentoo_ci/db/projects.py X-VCS-Directories: buildbot_gentoo_ci/db/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 60ce5fec404770c2dbc58352808397f7e9b87c93 X-VCS-Branch: master Date: Thu, 28 Jul 2022 11:31:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3a5f275-0622-4828-8d64-9304896212e8 X-Archives-Hash: 1eee736140e71b6c0bf0e3d71679b3a5 commit: 60ce5fec404770c2dbc58352808397f7e9b87c93 Author: Magnus Granberg gentoo org> AuthorDate: Thu Jul 28 11:31:07 2022 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Thu Jul 28 11:31:07 2022 +0000 URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=60ce5fec Add support for gitlab/github project name in project db Signed-off-by: Magnus Granberg gentoo.org> buildbot_gentoo_ci/db/model.py | 2 ++ buildbot_gentoo_ci/db/projects.py | 1 + 2 files changed, 3 insertions(+) diff --git a/buildbot_gentoo_ci/db/model.py b/buildbot_gentoo_ci/db/model.py index d6e9860..be305f2 100644 --- a/buildbot_gentoo_ci/db/model.py +++ b/buildbot_gentoo_ci/db/model.py @@ -109,6 +109,8 @@ class Model(base.DBConnectorComponent): default=lambda: str(uuid.uuid4())), # project's name sa.Column('name', sa.String(255), nullable=False), + # project name on gitlab/github + sa.Column('git_project_name', sa.String(255), nullable=False), # description of the project sa.Column('description', sa.Text, nullable=True), sa.Column('profile', sa.String(255), nullable=False), diff --git a/buildbot_gentoo_ci/db/projects.py b/buildbot_gentoo_ci/db/projects.py index 936cd9d..8e2cd6f 100644 --- a/buildbot_gentoo_ci/db/projects.py +++ b/buildbot_gentoo_ci/db/projects.py @@ -216,6 +216,7 @@ class ProjectsConnectorComponent(base.DBConnectorComponent): return dict( uuid=row.uuid, name=row.name, + git_project_name=row.git_project_name, description=row.description, profile=row.profile, profile_repository_uuid=row.profile_repository_uuid,