From owner-freebsd-python@freebsd.org Thu Jun 29 21:26:38 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD7BDDA5E68 for ; Thu, 29 Jun 2017 21:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A2EEE74575 for ; Thu, 29 Jun 2017 21:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9F76CDA5E67; Thu, 29 Jun 2017 21:26:38 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D465DA5E66 for ; Thu, 29 Jun 2017 21:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FC0274573 for ; Thu, 29 Jun 2017 21:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5TLQbaA019138 for ; Thu, 29 Jun 2017 21:26:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 219687] [NEW PORT] net/google-compute-engine: User daemon for Google Compute Engine Date: Thu, 29 Jun 2017 21:26:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: helen.koike@collabora.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 21:26:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219687 --- Comment #9 from Helen Koike --- (In reply to Richard Gallamore from comment #7) >> But now it uses version 20170609 instead of 2.4.0, is this ok? I feel th= at 2.4.0 should be somewhere as it is the version used in setup.py, what do= you think? >> I tried to use GH_TAGNAME=3D20170609 with PORTVERSION=3D2.4.0 but it doe= sn't seem to work the way I imagined > Yes, revert back to how it was previously. This was a better solution, ju= st > needed to verify. >=20 >> With these changes now portlint returns: >> # portlint -AC >> looks fine. > This is great. The problem to revert it back I get: # portlint -AC FATAL: Makefile: either PORTVERSION or DISTVERSION must be specified, not b= oth. What is the best way to handle this? > Couple things with the poudriere log. > - Only the port listed in summary is required, in this case > net/google-compute-engine. > - Not sure how the build was invoked, but I usually use poudriere bulk -t= C.(-t > is for extra testing and -C will clean the specified package before build) > I also want to note that poudriere bulk is not the recommended procedure.= From > the porters handbook, testport is suggested method, details here[1]. Thanks, I'll regenerate the poudriere tests like you suggested. >=20 >=20 > When I initially went to the github repo, for some odd reason the README.= md did > not show up and was just blank with no information. Going back to it now,= the > information I was expecting is shown, so this work perfectly for WWW. The= re are > some other items that need to be will need to be looked at. >=20 > - Portname. Usually this is the same as project name, but I don't think t= hat > would be a good fit. google-compute-image would be a bit more accurate, b= ut > more opinions would be best. The github project is called compute-image-packages but it provides 3 diffe= rent packages as described at https://github.com/GoogleCloudPlatform/compute-image-packages#packaging. - google-compute-engine - google-compute-engine-init - google-config So I believe that we should have one port for each of them. google-compute-engine-init is not necessary, as it only provides init scrip= ts but I already added rc scripts as .in files in the google-compute-engine package. google-config provide some udev rules, syslog configuration and bash scripts for hostname and dhcp that are not really required for google-compute-engine but I intend to port google-config latter. So as there are 3 packages under the github compute-image-packages project,= I am porting just the google-compute-engine one, so I think it should keep th= is name. > - The comment should match the project comment on github minus "Linux". > Changing this however with the current portname is a violation of having = the > portname in comment so waiting for portname feedback before deciding the > correct comment. Do you mean "Guest Environment for Google Compute Engine" ? It could be, I am just wondering which should be the Comment in the future google-config package > - pkg-message.in[2]. Can you please provide a simple setup guide. It does= n't > need to be long, just a simple how-to startup guide of procedures required > after installing the package for the first time. If configuration is requ= ired, > pointing to a url with more information would be great. The easier configuration is a reboot to make the init scripts to start, I'll write this in pkg-message and I can add a manual guide. >=20 > One more bit of information, how was the port tested? or is the port curr= ently > being used in production? I am testing it by hand in a virtual machine running at Google Cloud Engine platform. The available tests in the upstream project are just mock tests that verifi= es if the software calls the right functions in the right order, it doesn't re= ally check if it works or not and it can be biased as it was derivated directly = from the code. To enable the tests I'll also need to port each test, increasing = the number of patches and the maintenance complexity. As I believe the mock tests are more important to the developer then to Fre= eBSD (as it is implemented in the project), I don't think we need to bother to p= ort them. What do you think? --- (In reply to Kubilay Kocak from comment #8) Thank you Kubilay for reviewing this, I am updating the package with the suggested changes and I'll attach it soon. --=20 You are receiving this mail because: You are on the CC list for the bug.=