From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13623 invoked from network); 18 May 2022 18:13:36 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 18 May 2022 18:13:36 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id B18FC3408E for ; Wed, 18 May 2022 14:13:33 -0400 (EDT) (envelope-from bounce.mM7a7dc8eefad0d619ba65c04a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id AB0054D6B8F0; Wed, 18 May 2022 14:13:33 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fjrhome.net; spf=none smtp.mailfrom=fde101@fjrhome.net smtp.helo=dpmailmta02.doteasy.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=sysmsg-1; t= 1652897613; bh=HRe9qK2olVtn9iUDDjQr8oQPnCyX46UQ1snYTVH7o1I=; b=M M11knOXmZImL78oq7Pf7uc11ZbMdhQA/tusb3MdaWJvd+cl/PaFu37koqbdUbqJf A8HFv0u2DOvD2oTmwygti1yBp0o4iMYW7ifW8gxX6Gi6tCb2fL9kbSwY9utKU71s CTjxGD5Hve2AJrHquOQc+yxGHZhH16H/S/vkOdLME4= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1652897613; b=F2T2UkHpa0OKu7QhWliZv+CD9xaOafG6AucnyjMYeuVirliEJ8 9aAQZcOQwJNY+MNuTYgPYvWrpsz12M/PTZenPOOBNeUvPVWq02eCiFWJNHkj/Riw EdpSC5S1TLvgbmu1b4cJR3RI6RleRzwNCl2Fz9bKkCIR2IJOth/4WkcnQ= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fjrhome.net; spf=none smtp.mailfrom=fde101@fjrhome.net smtp.helo=dpmailmta02.doteasy.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fjrhome.net; iprev=pass smtp.remote-ip=65.61.219.37 (dpmailmta02-37.doteasy.com); spf=none smtp.mailfrom=fde101@fjrhome.net smtp.helo=dpmailmta02.doteasy.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=dpmailmta02.doteasy.com policy.ptr=dpmailmta02-37.doteasy.com; x-return-mx=pass header.domain=fjrhome.net policy.is_org=yes (MX Records found: dpmail01.doteasy.com,dpmailbu.doteasy.com); x-return-mx=pass smtp.domain=fjrhome.net policy.is_org=yes (MX Records found: dpmail01.doteasy.com,dpmailbu.doteasy.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :date:mime-version:subject:to:references:from:in-reply-to :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1652897613; x=1652984013; bh=bo6xf3Tx+Z/yfIrhH5WDeXGdYzn3sEHQ 2nde+FaU51I=; b=VsG8vCV6UjyM3uh4UrMY7GGSBGfhhOLMkn8r8SLb65CoiUYM J423cGN8Kraz/ZoxHscwMpOgzzJQcwJLVAkWbJcUjEBKvgEchgJ9UuakAOZffwCp Vt98Do6Q9yVXhnPR8MUhVF6gHDdsQ/SpFZBG21bUftcQN3HKyxZlzTnzQZQ= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 8B9584D6B379 for <9fans@9fans.net>; Wed, 18 May 2022 14:13:15 -0400 (EDT) (envelope-from fde101@fjrhome.net) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 330EC99231C; Wed, 18 May 2022 14:13:15 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1652897595; b=qhbh4bcoIOku4d8Co6vInQ9g4Kbl1o58HXZ2tDCM0L+WyGGzMs f+ci0BmPEmYO4+gZpj9ASvhx3frFZyvh55HsWHmkM5m1ja5AeBErQQT5e/9EiIHO ac4dszklE5xSzfVrV745/w5r5+FW6z3U0cOTQWdfF0lCt9tJgbz2HYUb/HH4a6Gd 9ZCwTeHWd7/59uhDG4TqQoDYWjcj0QFQfm++HygeIYO7Jn2ebxZhmsC+yGEsJHGW JMSczfGQcdLI4oK3CqQuKiP855/8mziwMV0hq55rBhFPdYcBzzMv878pUkE3L3D/ LW/s2anZ++ymavlJhLRVfHySnD5ZpdYXVxNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding; s=arcseal; t=1652897595; bh=PMCpJ0DU 8bWs0rBFPyWmSHFLyNiBaGdETMrQyHHkPBI=; b=NYEzWg4IRx4G5r2WKUAWXvmT SJrs4W/vUPiF4+44E8vaof5XY1LENapobOHiSNo8QJeUjEXVefUkHV6KMoCFtNy6 uGhU5+etcZ2L+rzK/OVhrPt+cdjdv17U847h3tfQvy8gdeP3HzeIK14FNFppgjWb AsQ6arO5cjVmFKiao7yXrddvUQIBs57enKa8Wwcn5/VLrxCaa7mseDJWTsArjd6y ywSXFy9tOsjYYRbsggZzV3EsNhC9TDYd8/vydLs3qWmZAi3IC8ir4cGKg7r0ITfH 4Os0DMS2G4uOh2ISYq0yo8w+HdxYrDeiKRhB9mbO1YmhMxhhFrDh2ahf6MA3YQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=fjrhome.net; iprev=pass smtp.remote-ip=65.61.219.37 (dpmailmta02-37.doteasy.com); spf=none smtp.mailfrom=fde101@fjrhome.net smtp.helo=dpmailmta02.doteasy.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=fail smtp.helo=dpmailmta02.doteasy.com policy.ptr=dpmailmta02-37.doteasy.com; x-return-mx=pass header.domain=fjrhome.net policy.is_org=yes (MX Records found: dpmail01.doteasy.com,dpmailbu.doteasy.com); x-return-mx=pass smtp.domain=fjrhome.net policy.is_org=yes (MX Records found: dpmail01.doteasy.com,dpmailbu.doteasy.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrheelgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfhfhfgjtgfgihesthejredttdefjeenucfhrhhomhepfdfhrhgrnhhkucffrdcugfhn ghgvlhdpucflrhdrfdcuoehfuggvuddtudesfhhjrhhhohhmvgdrnhgvtheqnecuggftrf grthhtvghrnhephfehjeekieetleeutdevueegveevffegtdeihfethfffueevkeffvefh feduudevnecuffhomhgrihhnpehshhhithhhuhgsrdhushdpthhophhitggsohigrdgtoh hmnecukfhppeeihedriedurddvudelrdefjedpudelvddrudeikedruddtuddrkedvpddu jeefrdeijedrudefgedrudeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epihhnvghtpeeihedriedurddvudelrdefjedphhgvlhhopeguphhmrghilhhmthgrtddv rdguohhtvggrshihrdgtohhmpdhmrghilhhfrhhomhepoehfuggvuddtudesfhhjrhhhoh hmvgdrnhgvtheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: none (fjrhome.net: No applicable sender policy available) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="fde101@fjrhome.net"; helo=dpmailmta02.doteasy.com; client-ip=65.61.219.37 Received: from dpmailmta02.doteasy.com (dpmailmta02-37.doteasy.com [65.61.219.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 18 May 2022 14:13:14 -0400 (EDT) (envelope-from fde101@fjrhome.net) X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=192.168.101.82; Received: from dpmailrp02.doteasy.com (unverified [192.168.101.82]) by dpmailmta02.doteasy.com (DEO) with ESMTP id 88008104-1393315 for <9fans@9fans.net>; Wed, 18 May 2022 11:13:13 -0700 Received: from dpmail01.doteasy.com (dpmail01.doteasy.com [192.168.101.1]) by dpmailrp02.doteasy.com (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 24IIDCvR006637 for <9fans@9fans.net>; Wed, 18 May 2022 11:13:13 -0700 X-SmarterMail-Authenticated-As: fde101@fjrhome.net Received: from [192.168.1.75] (pool-173-67-134-144.hrbgpa.fios.verizon.net [173.67.134.144]) by dpmail01.doteasy.com with SMTP; Wed, 18 May 2022 11:12:54 -0700 Message-ID: <1275338a-65f0-61c2-8162-ba7c93fa2493@fjrhome.net> Date: Wed, 18 May 2022 14:12:47 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [9fans] 9front, git and mercurial. Content-Language: en-US To: 9fans@9fans.net References: <89F3ABF218EE52FAE7605F9B07728487@eigenstate.org> From: "Frank D. Engel, Jr." In-Reply-To: <89F3ABF218EE52FAE7605F9B07728487@eigenstate.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Exim-Id: 1275338a-65f0-61c2-8162-ba7c93fa2493 X-Bayes-Prob: 0.0001 (Score 0, tokens from: base:default, @@RPTN) X-CanIt-Geo: No geolocation information available for 192.168.101.1 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 017widcJh - ab8eeaf57dc8 - 20220518 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.168.101.82 X-Originating-IP: 192.168.101.82 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 325177c8-d6d6-11ec-bc30-f0c1e1fcc89e Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UN2RmYTY2MDg1ZTM5NWJjYi1NN2E3ZGM4ZWVmYWQwZDYxOWJhNjVj?= =?UTF-8?B?MDRhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M7a7dc8eefad0d619ba65c04a:1:5-L5rHu4Aalpzr4ciugOx7qe62q1vwMXK9TuhHvhu90 Related question I can't seem to track down an answer to: I have a 9front cluster which was set up back when Mercurial was used,=20 so that is what sysupdate is looking for. I finally realized that I am no longer seeing updates because 9front=20 switched to git. How does one go about upgrading an existing 9front install to pull=20 updates from git instead of hg? When I try running the manual commands to pull from git it (logically)=20 complains that it is not a git repository, but I am not finding any=20 clear instructions on how to go about making this switch on an existing=20 install? On 6/14/21 3:13 PM, ori@eigenstate.org wrote: > Quoth Tony Mendoza : >> Quick question (or maybe not), but how are these being hosted? Is this= done on a cloud provider vm platform? Or is this being done in a traditi= onal DC using real hardware? >> >> Just curious to know how this is being done because I would like to do s= omething similar. > Currently, it's hosted on vultr, but there are > a number of hosts that you can use. > > As far as how it's actually done: > > Git goes over git/serve in /rc/bin/service: > > cpu% cat /rc/bin/service/tcp9418 > #!/bin/rc > exec git/serve -r/usr/git > > the '-r' path is implicitly prepended on to > any repositories that are cloned, so eg: > > git/clone git://host.com/repo/path > > clones > > /usr/git/repo/path > > The authenticated protocol, hjgit, is the same > as the unauthenticated git:// protocol, but with > 'tlssrv -a' wrapping the connection to handle auth > and encryption. The '-w' flag on git/serve enables > writing to the repo. > > cpu% cat /rc/bin/service/tcp17021 > #!/bin/rc > exec tlssrv -a /bin/git/serve -wr/usr/git > > Our encrypted 'gits://' extension is the same, > but with a cert, and its key in factotum: > > cpu% cat /rc/bin/service/tcp9419 > #!/bin/rc > exec tlssrv -c/sys/lib/tls/git/git.cert /bin/git/serve -r/usr/git > > That gets you a fully functional git server, > that hosts its code in /usr/git. > > The website is served using tcp80 and execfs: > > cpu% cat /bin/cpurc.local > auth/none execfs -s git.execfs /sys/lib/tcp80/gitrules > > cpu% cat /rc/bin/service/tcp80 > #!/bin/rc > # some ns trickery to allow serving static data, > # we can probably clean this up. > bind /usr/web /mnt/static > mount /srv/git.execfs /usr/web > bind /mnt/static /usr/web/static > rfork n > exec /bin/tcp80 >=20 > And the code for the web ui is more or less a modified > version of this code: >=20 > http://shithub.us/ori/shithub/HEAD/files.html >=20 > There's also a more minimal proof of concept that I > did before phil9 ran with it and improved it here: >=20 > http://shithub.us/ori/git9/HEAD/extra/gitls/f.html >=20 > It's less complete, but probably easier to read and > understand. >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T7dfa66085e395bcb-M7a7dc= 8eefad0d619ba65c04a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription