From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 08CD9C5D2FA for <9fans@9fans.net>; Fri, 6 Dec 2019 00:35:08 -0500 (EST) (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 A370207032D; Fri, 6 Dec 2019 00:35:08 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1575610507; b=EuCOMnP8ZbGUk3vcI+gfAT0pSza80Oh6gA2epJ8TugbUrY9lnq Hl8JdjejKMW58i4QL1lCxKLRnl2NhQ0WNFNd988ONulqibbRoQgAk2iGbk6pt3EC 2YreDzzQdjWHXBygWGxJZqCJq4IcYoFgSKQP7Y18Z52+vCZVKG16z4fUqoZOMznl a3MILKwx7qMFxTbAzc6mvryjAt6of67MnM1Lj5uc85QWiJ7JEe8Me3YRfEyCMel2 20/ml1g+fUFaIRvQ1EMEgoZaDazn7soNjqmRCrNbV6CBAOLsMpOVBUCNqyOH/gdf IfMvA6Zk4dr7kPvqyqdkH69+D8yoKWWNd8+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:mime-version :content-type:content-transfer-encoding; s=arcseal; t= 1575610507; bh=6vHmZwHNW7hygKPKDF8Ci1Xl/r2Tlz1wBKHk6lhtLeE=; b=h ySTXO9190wgifWfhfP/jXIu09M7KgUMR01YkCrXTa8gpr1pyHQSSoSvpgX2ubmQ5 I+m31vLVPYrM5DHH9zq90dwrlt24a+5A08Sxcq0q8QPdhTfTKF6z6wfHi/5JXR80 DKdtFW2BAliV2cB6FQbubT55E/+flC1/wpVqtry0f3SqZkwWYGnZ/4JQpUDbSNih i64SpBod//Ej1/yMo+jvtDvSwF+aiwkIPzvtgHrhB+U3/+ZfStb6cHppKuF4FsUB vK3PqshmcFqXUZhBJi77uOsKvqB9J9JGEVe/VqH2cNTccaJZUFV6+qeNhjBOx9Ih 6VsQyabOd4LdT3B45PGyg== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); dkim=pass (1024-bit rsa key sha1) header.d=eigenstate.org header.i=@eigenstate.org header.b=B5uxEyRX header.a=rsa-sha1 header.s=mail x-bits=1024; 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=eigenstate.org; x-aligned-from=pass (Address match); x-ptr=fail smtp.helo=eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Record found); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Record found); 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 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); dkim=pass (1024-bit rsa key sha1) header.d=eigenstate.org header.i=@eigenstate.org header.b=B5uxEyRX header.a=rsa-sha1 header.s=mail x-bits=1024; 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=eigenstate.org; x-aligned-from=pass (Address match); x-ptr=fail smtp.helo=eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Record found); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Record found); 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: gggruggvucftvghtrhhoucdtuddrgedufedrudekvddgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuff fhgggtgfesthejjedttddtvdenucfhrhhomhepohhrihesvghighgvnhhsthgrthgvrdho rhhgnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddtiedruddvgedrud efvddruddtjedpjeeirddvuddrudduledrudefleenucfrrghrrghmpehinhgvthepvddt iedruddvgedrudefvddruddtjedphhgvlhhopegvihhgvghnshhtrghtvgdrohhrghdpmh grihhlfhhrohhmpeeoohhrihesvghighgvnhhsthgrthgvrdhorhhgqeenucevlhhushht vghrufhiiigvpedt 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=eigenstate.org; client-ip=206.124.132.107 Received: from 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>; Fri, 6 Dec 2019 00:35:06 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from eigenstate.org (localhost [127.0.0.1]) by eigenstate.org (OpenSMTPD) with ESMTP id 5e5488fd for <9fans@9fans.net>; Thu, 5 Dec 2019 21:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eigenstate.org; h= message-id:to:subject:date:from:mime-version:content-type :content-transfer-encoding; s=mail; bh=2NG6G89fG5J2mh2jSrz76Ofa1 Y0=; b=B5uxEyRXTH6Gf1DE7GUtGJpFxo6qkc1ulr7qufHNqNytcPJ90bHdC2T1L kixDwSsCJYZJYr55Vyhtsmsk5ooPhhbHvgYVwCW7wpAGzhz3dEi8UPHQk2hGkOKj 82Q1IOQa0XoAkl57qmU9xxJtL7KWBsNDK6z9mYPr9cBAgBvZX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eigenstate.org; h=message-id :to:subject:date:from:mime-version:content-type :content-transfer-encoding; q=dns; s=mail; b=U9erny79jXPSbIQxydJ zT40I5IIcZv753E5dLKfeWTeKtHzQDfeH+0nGR9z5MeOnV4epG4Ob9rRR3D3d3GD LshCUsap2L5rOKzEXl2QOQrKg1E+CEULYThpgsqELJkJ1J/r4/WryizwJRgg4/UK E01FGUyoYeGaL7QVjPygKF3Y= Received: from abbatoir.hsd1.ca.comcast.net (c-76-21-119-139.hsd1.ca.comcast.net [76.21.119.139]) by eigenstate.org (OpenSMTPD) with ESMTPSA id 12d957c4 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Thu, 5 Dec 2019 21:35:03 -0800 (PST) Message-ID: To: 9fans@9fans.net Subject: git9 on 9legacy Date: Thu, 5 Dec 2019 21:35:03 -0800 From: ori@eigenstate.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 2e11de76-17ea-11ea-8477-bf4a3f46ab5b I got a box running 9legacy running, and fixed the portability issues in git9, since it didn't seem like anyone else was going to do the work. There are two patches needed which I put on sources: - rc-line-split: implement `delim{...} syntax for rc - walk port walk command to 9legacy. Other than that, there were a couple of tweaks needed to git9 itself: 9legacy has no '%z' format specifier, which means that there's no way of printing pointer differences; that's ok, they weren't really used for anything important. And 9legacy awk is still an ape program, which means that it uses /bin/sh. Some of the system calls that git9 was doing from within awk used rc syntax. I pulled the code up into awk, and made the commands shell agnostic. So, to summarize: # get dependencies patch/apply rc-line-split patch/apply walk cd /sys/src mk all mk install # get bootstrap version of git9 cd /tmp hget http://github.com/oridb/git9/archive/master.tar.gz | tar xvz cd git9-master mk all mk install # now you can get stuff with git git/clone git://github.com/oridb/git9 cd git9 mk install