Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mu88W-0007uy-CA for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 06 Dec 2021 07:10:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mu88U-0004Wl-NP for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 06 Dec 2021 07:10:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mu88U-0004Wc-Ds for pgsql-pkg-debian@lists.postgresql.org; Mon, 06 Dec 2021 07:10:06 +0000 Received: from forwardcorp1j.mail.yandex.net ([2a02:6b8:0:1619::183]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mu88M-0006TL-Ur for pgsql-pkg-debian@postgresql.org; Mon, 06 Dec 2021 07:10:05 +0000 Received: from iva8-c5ee4261001e.qloud-c.yandex.net (iva8-c5ee4261001e.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:a8a6:0:640:c5ee:4261]) by forwardcorp1j.mail.yandex.net (Yandex) with ESMTP id CB3CE2E1F31; Mon, 6 Dec 2021 10:09:56 +0300 (MSK) Received: from iva8-3a65cceff156.qloud-c.yandex.net (iva8-3a65cceff156.qloud-c.yandex.net [2a02:6b8:c0c:2d80:0:640:3a65:ccef]) by iva8-c5ee4261001e.qloud-c.yandex.net (mxbackcorp/Yandex) with ESMTP id cIQnes2XaG-9uL8J5QX; Mon, 06 Dec 2021 10:09:56 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1638774596; bh=VCnonzkJUKaFEebjJLamQByt6jIAQ7zZaMPHIdb+YY8=; h=Message-Id:References:Date:Subject:Cc:To:In-Reply-To:From; b=OqEEzUGRV/tPT14rgYVhebh7ICC5Ysb4dJs7d8WCTru1HRXXGCsBKT0xmk8oH+LJD XTNca2KBG2jzHSz8tP/VtjNknC7B6U2SQxcNpjr9k1bU520kZkUte4vhVr9yUKkL28 uCWfRLFNnWK6QmLYC3bMfAZfGuugVmMuJoa9j7Ms= Authentication-Results: iva8-c5ee4261001e.qloud-c.yandex.net; dkim=pass header.i=@yandex-team.ru Received: from dynamic-ekb.dhcp.yndx.net (dynamic-ekb.dhcp.yndx.net [2a02:6b8:0:2807:14f5:754b:fbb4:6597]) by iva8-3a65cceff156.qloud-c.yandex.net (smtpcorp/Yandex) with ESMTPSA id rbGLyzSJ22-9uPmg770; Mon, 06 Dec 2021 10:09:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 2 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Adding packages fro WAL-G and Odyssey From: Andrey Borodin In-Reply-To: Date: Mon, 6 Dec 2021 12:09:55 +0500 Cc: pgsql-pkg-debian@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FDAF3A4-4C0D-47F5-821F-20CFD578B3C6@yandex-team.ru> <54DCFC65-56DE-43AE-8219-B9D19B5AA311@yandex-team.ru> To: Christoph Berg X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > 5 =D0=B8=D1=8E=D0=BB=D1=8F 2021 =D0=B3., =D0=B2 21:25, Christoph Berg = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): >=20 > Re: Andrey Borodin >>> we'd need a proper debian/ directory for these, either in the = upstream >>> repo or in a separate one. >> Odyssey had debian/ dir = https://github.com/yandex/odyssey/tree/master/scripts/debian >=20 > Hi, >=20 > that directory would need to be /debian, not somewhere deeper in the > tree. (Interestingly, you already have a /debian, just with less > files.) >=20 >> WAL-G is simply one Go binary. = https://github.com/wal-g/wal-g/tree/master/cmd/pg >> Though it's a separate Go binary for each DB: PG, MySQL, MSSQL, = MongoDB etc. But I think it's better to start from PG anyway. >> We used to build this binary and create almost empty debian/ dir with = a script (FPA). We can commit this dir it it's better to have it in = source tree. >=20 > FPA usually doesn't produce "proper" packages with a curated > debian/changelog (no throwing away of old entries, and sensible log > messages) and the other bits. >=20 > debian/rules shouldn't try to build a -dbg package these days >=20 > debian/control shouldn't depend on postgresql-server-dev-13 but on > postgresql-server-dev-all if you really need server headers instead of > just the client ones. >=20 > The Description needs more content >=20 > Standards-Version is outdated >=20 > Consider using debhelper-compat (=3D 13) instead of debian/compat 9 >=20 > Consider providing a systemd .service file along the init script Thanks, Christoph! We have updated /debian stuff in Odyssey. Can you please take a look = again? https://github.com/yandex/odyssey/pull/372/files Best regards, Andrey Borodin.=