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 B1A4FFA6B4C for <9fans@9fans.net>; Sat, 4 Apr 2020 12:15:52 -0400 (EDT) (envelope-from cinap_lenrek@felloff.net) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id DE467E4E92E; Sat, 4 Apr 2020 12:15:52 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1586016952; b=Dy2Y0eJmckw/1ivKuR8oEB+sy1LrB6oSWhjUXhn82c+XG4N3x+ ExgHmlBiBffxFLagSyeP/kZSPl07noNVDm9+BwGZclBW75dDFy7GCkpCI92S7/AH Gk0kFo0GUaUHMtHOUKvof9pMrSuorW3uaI2+iOYgurUYOdpQWaACixKeKCppBbk4 Ly5p+2URWXWFhGKPqbQIFBK+eyZMtHGebtD3k/Mq4C6uW/bhrjewZ41cKX2eynPj 9kAgP961pGWP6k1IsUbxrKeFTTl86ojS9X33rMswSAGMNNg5p9LVT/YPDU739Txo RPY65rXAhso7X7zp/0bstvsjtOqYEIL/VRnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:from:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1586016952; bh=r3DZ3hmzTqu+rs0+693qwn3EvMthUBDmdgD4JK3cCGA=; b= NILkwyrRZ/8O3Vv9i4lpmJ1YQTsCCfNYZFOuWb2PVOOs5mLlWWBSsRY9J/tEftzr AL0v0D3JRHb9Lm5wXeKtOSxrSrZWD2mYIoyNFd/Poa3+SUdNz/tmEYAioTITxGGG HOeMimPHXN3dojJiPsnhu8FWHS2oAyDiVR7+TwmYktCyG8J04oDg3orA9CrUdOYR JF0751WIdBphwDRh5jLjrQyTfFpEmQyRCQ5fIJHoPWqFAOH3yf34xsyV2aI3eHNt pzBFv50ms/iH+3TZ9+B3xnP/zRMUGQCKJyxt0IhrnAah0/4A6cRf/Ynidhm7ofSv 90eSGP9HCLmHvSB0oDQ1jQ== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); 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=felloff.net; iprev=pass smtp.remote-ip=216.126.196.34 (duke.felloff.net); spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=duke.felloff.net policy.ptr=duke.felloff.net; x-return-mx=pass header.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-return-mx=pass smtp.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); 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=felloff.net; iprev=pass smtp.remote-ip=216.126.196.34 (duke.felloff.net); spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=duke.felloff.net policy.ptr=duke.felloff.net; x-return-mx=pass header.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-return-mx=pass smtp.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdekgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffhffvuf gjgggtgfesthejjedttddtvdenucfhrhhomheptghinhgrphgplhgvnhhrvghksehfvghl lhhofhhfrdhnvghtnecukfhppedvudeirdduvdeirdduleeirdefgeenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudeirdduvdeirdduleeirdefgedp hhgvlhhopeguuhhkvgdrfhgvlhhlohhffhdrnhgvthdpmhgrihhlfhhrohhmpeeotghinh grphgplhgvnhhrvghksehfvghllhhofhhfrdhnvghtqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (felloff.net: 216.126.196.34 is authorized to use 'cinap_lenrek@felloff.net' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="cinap_lenrek@felloff.net"; helo=duke.felloff.net; client-ip=216.126.196.34 Received: from duke.felloff.net (duke.felloff.net [216.126.196.34]) by tb-mx1.topicbox.com (Postfix) with ESMTP for <9fans@9fans.net>; Sat, 4 Apr 2020 12:15:47 -0400 (EDT) (envelope-from cinap_lenrek@felloff.net) Message-ID: <34FEFC835BD5D28B15D77593712E30C0@felloff.net> Date: Sat, 4 Apr 2020 18:15:37 +0200 From: cinap_lenrek@felloff.net To: 9fans@9fans.net Subject: Re: [9fans] Git and heritage (Was: Software preservation in the post-hg era) In-Reply-To: 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: 91c810a8-768f-11ea-9b01-adf58eaca3d7 > I've attached the two patch sets, I make no claim to being a great > coder, the focus was to make the changes (a) as clear as possible, (b) > as unintrusive as possible. - if(port == nil){ - port = "ssh"; - s = strchr(host, ':'); - if(s != nil){ - *s = '\0'; - port = s+1; - } - } this breaks for ipv6 addresses. i'd suggest you at least check for ] first and then look for the colon. example: "[::1]:22". then the big question is what should be put in the thumb file to identify the host, if you start messing with the network addresses. there can be different ssh servers per port. for example: gerrit. -- cinap