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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1418 invoked from network); 14 Jun 2021 19:13:38 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 14 Jun 2021 19:13:38 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob21.topicbox.com (Postfix) with ESMTP id EF6C020FD7 for ; Mon, 14 Jun 2021 15:13:36 -0400 (EDT) (envelope-from bounce.mMa7f7eac030ace173c4260adc.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id E18E94004562; Mon, 14 Jun 2021 15:13:36 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1623698016; bh=ZBkB7+CoDaBi99a/U9i0j1Jaaua0W49JSKqot fuNvlY=; b=j2eX6A5MySdSNfIfgdb/dnVWI/qz/BThEhurSDtDKsCrTHK0Y7/xU QUPVxoCeNllSVUSCUQpSN5L4PqrScoQDNb0jjBY0oGHmDTCZk8yQfsbvCUtAB078 0ubq0IYr9LixzIxPS6QH7gYGpFJ0gIUqZa8QgN5xx8lGvWq7LYosfA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1623698016; b=HVWiGOaLZFGKyXLKw3Af68wNEQyYmm1v7lYUcB8yvrk0YzUeW0 OKpBInaOK379l/uhz68pRX3I/y+Dtsg6gHx9z+bbQWLSZV08ENTpcH9q9Ec2WrL3 oheUBU0jm7Tsht8M4Kwgn9e442ABtodWuoiZkxwtO8i7GM4Nxtyf3k2+4= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); 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 :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=BGVNkcfW cvFELz8TrROYXgSXA0TQM7vvo4FqHKW9YYk=; b=DM/gMNsijfSiT5qCwYL8U3RV y1mWhXQUBJgNHDWG55EBm2kP9KzZo0XlHXKwkCDjlwP04EWKWYTp8EVLDNV233vb X+d/p8GZcmIQweiWLyGjQRamcdiY2wjTUXavGL+mWqdDTb0gaLpnGKpeg30+sPy5 EASsc2Q6LETK9qWA1nI= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 2B9584003C56 for <9fans@9fans.net>; Mon, 14 Jun 2021 15:13:22 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 67681E1F552; Mon, 14 Jun 2021 15:13:22 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1623698002; b=vaw0ONXfMQnzjSjmOxQOxJBXkO9Pq2NVzjGnHvnapWaM/p9USx m1pUD8ev/s4bN9CbKLWHvm9mBLZNmNANoiLsqaDE683LksMmpDWZnKl99/Pxl38z 8Cvb7R0czZLKWv3gsl2v7r0PGBcR7lMVVg7uR2LVpmQ1tEnVnWBZvEFc0O6YACTk DkYMN1vgW79vRNHexDVd8srkE0f1WwktO3uOt7ABYhGu20T6EcRR69h5d4Dp8gIr QtYb0NB0hWXSFcImgq9VFa9iHXsZbiQG1/4KUJfFxzGsEY7ebIs7T6LoVNtvqYhj QqTW/e4R2FSRgLN5GuzykqL1plfhleq+3oIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1623698002; bh=0ZhfUAl2RCcDJrIjg3eZFIm70WvHjHNFMhAFjPdAjfA=; b= szeDEmsCRskQWDPQyDMB89TBU4ArO9N44BPnqAEPas1mhryBRttEz68/rW/SOJDq COlpfK4yCy5j6+6ApKY58Zwk5BDDmBOx+H3uiHtBxxY2Qv2KRKiJTOvsCRtMiX+j 8x6mrS+tsXzHpJHTIwlvSVxlAdUgvTbUihy3FpLxWdoQPwqrfwA5PpSXgkrJ7dhz PLYIxqp/748GyP8gWSV7fAIRN4DIjGLKRG3VtB2K3lPzu24vXUFVSFPPf3IBlMA4 gGLbttnHhQ0SkMNnpsOTIzNvJAR9eUqh9pvcdJGbge2NWl1bXwYdQKZCwyGW4arx EdDI8rNZBYVvwFKygDYZcQ== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org); 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: gggruggvucftvghtrhhoucdtuddrgeduledrfedvhedguddukeculddtuddrgeduhedrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhepkffvufffhfgjgggtgfesthejjedttddtvdenucfhrhhomhepohhr ihesvghighgvnhhsthgrthgvrdhorhhgnecuggftrfgrthhtvghrnhephfefgeetgfeihe ffhedvtdegffdvfedukeevveegueektdeuiefhhedvfeetteefnecuffhomhgrihhnpehs hhhithhhuhgsrdhushenucfkphepvddtiedruddvgedrudefvddruddtjedpjeegrddutd ekrdehiedrvddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvght pedvtdeirdduvdegrddufedvrddutdejpdhhvghlohepmhhimhhirhdrvghighgvnhhsth grthgvrdhorhhgpdhmrghilhhfrhhomhepoehorhhisegvihhgvghnshhtrghtvgdrohhr gheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 14 Jun 2021 15:13:21 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 6ce298f4 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Mon, 14 Jun 2021 12:13:20 -0700 (PDT) Message-ID: <89F3ABF218EE52FAE7605F9B07728487@eigenstate.org> To: 9fans@9fans.net Subject: Re: [9fans] 9front, git and mercurial. Date: Mon, 14 Jun 2021 15:13:18 -0400 From: ori@eigenstate.org In-Reply-To: <96700b75f4544cca03f13fd1c84d8003@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 988e7c3a-cd44-11eb-8b54-ce5bf44d5585 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UN2RmYTY2MDg1ZTM5NWJjYi1NYTdmN2VhYzAzMGFjZTE3M2M0MjYw?= =?UTF-8?B?YWRjPg==?= 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:Ma7f7eac030ace173c4260adc:1:D1ma2sO2TJBHS622P9kxdGOKNG3qppakKRKfXQ9hP8Y 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 traditio= nal DC using real hardware? >=20 > Just curious to know how this is being done because I would like to do so= mething similar.=20 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 And the code for the web ui is more or less a modified version of this code: http://shithub.us/ori/shithub/HEAD/files.html There's also a more minimal proof of concept that I did before phil9 ran with it and improved it here: http://shithub.us/ori/git9/HEAD/extra/gitls/f.html It's less complete, but probably easier to read and understand. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T7dfa66085e395bcb-Ma7f7e= ac030ace173c4260adc Delivery options: https://9fans.topicbox.com/groups/9fans/subscription