From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 9F5616663E for ; Thu, 7 Jan 2021 16:17:42 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 69E961EA09 for ; Thu, 7 Jan 2021 16:17:42 +0100 (CET) Received: from vizir.gilouweb.com (vizir.gilouweb.com [IPv6:2001:41d0:d:2147::100]) by firstgate.proxmox.com (Proxmox) with ESMTP id B86131E9F6 for ; Thu, 7 Jan 2021 16:17:40 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by vizir.gilouweb.com (Postfix) with ESMTP id 4461C82B474 for ; Thu, 7 Jan 2021 16:17:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gilouweb.com; s=mail; t=1610032654; bh=oODsHvZFTEBkWMgcMvHpWQD1XpH08IGHF4Yp7Y0GkrU=; h=To:From:Subject:Date:From; b=rtbqePHHj8fgJhmXww/o9ra9JPRSPqqHdYsldVTbD0ZqNXaXIYMl5hgj9JQakOZDX evUowaKD11c6cTr4RQZ1Ovz/cXkpgQWYIZgAeP1s1xSOc3OtNHD2XtyGVbU6BS4luK i0UyzjgvYk/++DpcXdR7beyLDIJa0UEugCXSEh+63QAb02NHJfM8uUdzHYAZ3r78To kTBj13u+ZYZ1vg7p6ixfzq5s8WYRDJzj4MS2xfEikI6Am/wQ23RIr6G5RM44/CapPX ewSbRWGgQ7GT8XzB/JqwRYlJNBcyZkOl13eb6rxzz8xBzmaLfYkW4Up8c7V4lJd5KY CgbFz2/CvUQ/Q== X-Virus-Scanned: Debian amavisd-new at vizir.gilouweb.com Received: from vizir.gilouweb.com ([127.0.0.1]) by localhost (vizir.gilouweb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APNjiLXSuTbh for ; Thu, 7 Jan 2021 16:17:24 +0100 (CET) Received: from [IPv6:2001:910:102d::3ca] (unknown [IPv6:2001:910:102d::3ca]) by vizir.gilouweb.com (Postfix) with ESMTPSA id 6760482B464 for ; Thu, 7 Jan 2021 16:17:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gilouweb.com; s=mail; t=1610032644; bh=oODsHvZFTEBkWMgcMvHpWQD1XpH08IGHF4Yp7Y0GkrU=; h=To:From:Subject:Date:From; b=nPlXKiA9UgUE+Zme0Won9P5tZrzjWixtUYyLRIh4CzfmTY7gYfxtxweq2zAsaKN6I cTJoTXUD2XpdcbJeKe98SlwEE1l3uU89DUtWXCb1VBetz6T4yXCk3nvA1FDizMJmJy hB3wGcu8tLMr0Kcsw2+Wut2c5DKQ8Z/O5XxcHecwnUU35a4jfy04fHapPy32m8qR77 YRClNr9Ywuoz5VhoX6dZCry1uZQtqnrb505j3ScUTIk8ToSgPKDTz1SvAl/pma1TK+ LD4yrnpv93Og6YTG605vMFW6LBYZjoheEUq8QHH0DelOk1APinCcb/wCzJz+4Km2FM dZRhq7PgMubLg== To: pve-devel@lists.proxmox.com From: Gilles Pietri Message-ID: <1ceff1ea-4a30-1412-695f-0ae908908aa0@gilouweb.com> Date: Thu, 7 Jan 2021 16:17:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="U1gdOZCXxoUKk1iwuaVEGedIytHEOZ7pe" X-SPAM-LEVEL: Spam detection results: 0 AWL -0.000 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] PVE development environment X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2021 15:17:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --U1gdOZCXxoUKk1iwuaVEGedIytHEOZ7pe Content-Type: multipart/mixed; boundary="nXUrYX7GnYT0jYlR6DlEshlzBGYuodE4r"; protected-headers="v1" From: Gilles Pietri To: pve-devel@lists.proxmox.com Message-ID: <1ceff1ea-4a30-1412-695f-0ae908908aa0@gilouweb.com> Subject: PVE development environment --nXUrYX7GnYT0jYlR6DlEshlzBGYuodE4r Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, Sorry if this doesn't belong here, point me in the right direction if there is one ;) I read extensively what's there, and that is very helpful: https://pve.proxmox.com/wiki/Developer_Documentation I also read the thread here: I read also https://lists.proxmox.com/pipermail/pve-devel/2018-August/033448.html but that deals more with the repos than the actual dev env. Now I wonder, this all assumes you work directly on the test setup, patch and code from there, and I'm not a big fan of this, for many reason= s=E2=80=A6 I usually do write code on my own station, that can access various test setups that I can spawn, be it in virtualbox, test installs of proxmox or nested ones for actual qemu tests. My question is, how do you guys do it, if there are any consensual setups? I wondered about different possibilities, tested some: - coding, versionning on a test environment: I don't like that: I need to maintain a test environment that includes the coding tools, and it will break, again and again, and not be in a reliable state, should I need to debug something. - compiling locally, having the debian and proxmox tooling, but that is not a happy solution, as I don't run Debian 10 or proxmox on my machine - using a set of hooks in git, mirroring stuff to a test instance, and compiling the packages there, rebooting as needed, that is easy enough, but I need to factor the dev environment - using a CI system to handle that on my branches/remotes, namely gitlab-ci with a runner on a pvetest instance, assetting the .debs, deploying them=E2=80=A6 that feels a bit overkill, but=E2=80=A6 well, I m= ight like that more, but maybe we could have a lighter way there. So, if I'm dumb and there's an obvious choice, just tell me ;) If not, I'd love to hear about how you guys do it, and if we could make suggestions for that! Cheers, Gilou --nXUrYX7GnYT0jYlR6DlEshlzBGYuodE4r-- --U1gdOZCXxoUKk1iwuaVEGedIytHEOZ7pe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5onlxz4mc8gNQYhDheCFTRaFof4FAl/3JgMACgkQheCFTRaF of5l1RAAx08jTyzzUvs4ODCCpPbwJ8dAawZLyt8GnsYqHVrOWfoP3MyrRgnjx7oi RRqJXCaBzp1Ql5V/osNq72RLTWQxdycajKrmAmQf4abwPfIsnVnf/tG4q9H5Aqwe 13xX6FFG4sclojUUkiYrTS0kkWKXlRCLrNd0fkBRYOYul079y+nU7RRqg9FzFOup njjHLnKYR4fUySrUDAWKgv3YB+pcPQ8xXY8ce7pIf8/3IxMALWI/pKPudRfMk8nw egpAxtEFlXJvT/xvmE1ydzFs6a3JnzojMDQVxSr1MRi71p9P1aTdgIyUeSHWbNOE 9YXiZlNQDZ7xW29ocxgYX6VNVlkBZeAPZGbV3W6dWJfNB9chrfEncEESTeEa7Cz2 dzbdtBZhP67/MYwhaG+9E2pK8qWke+xkrT77FWxjbVYfmfno1OSuk7uIrOGR3kd+ TXcVp6Pw8aZnQZ3Px/D6St/5cV7ehn1bKgSQNS8pWPvvZ7yKbNGJlMX6R1fc9HQD FndXYDIAgo/pvuUTwmzC7qIFavMmxWggwmogfe5yxylXQZcG1L7JcaGdZZ2ESPmw vWpr9gQCNY1BwY3qOhx7nGRtzxyDOK5QKgXVkgfUnRoKyxiy/O1x0afyZYdQk4Ii kCZO3zNgGggXcjBCLb2uJgVKzYApyakoqxPklplCCOIYSCWMQlM= =FHev -----END PGP SIGNATURE----- --U1gdOZCXxoUKk1iwuaVEGedIytHEOZ7pe--