From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S7NBx-0000Ha-RB for garchives@archives.gentoo.org; Tue, 13 Mar 2012 08:34:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 920B3E0AF1; Tue, 13 Mar 2012 08:34:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A0D03E0AD0 for ; Tue, 13 Mar 2012 08:33:41 +0000 (UTC) Received: from [192.168.1.210] (unknown [24.86.176.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id F422D1B402A for ; Tue, 13 Mar 2012 08:33:40 +0000 (UTC) Message-ID: <1331627608.29064.88.camel@big_daddy.dol-sen.ca> Subject: Re: [gentoo-dev] Proposal: New irc data field in layman's repositories.xml file format From: Brian Dolbec To: gentoo-dev@lists.gentoo.org Date: Tue, 13 Mar 2012 01:33:28 -0700 In-Reply-To: References: <1331456941.29064.34.camel@big_daddy.dol-sen.ca> Organization: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-NaUbKtwHC84quE/q+5vE" X-Mailer: Evolution 3.2.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 064c83fd-ce06-417c-a81f-f3bf3b8a23f8 X-Archives-Hash: ce6f8da3df79cac08b8bb0913d95c8c2 --=-NaUbKtwHC84quE/q+5vE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2012-03-12 at 08:49 +0000, Robin H. Johnson wrote: > On Mon, Mar 12, 2012 at 08:52:20PM +1300, Kent Fredric wrote: > > On 11 March 2012 22:09, Brian Dolbec wrote: > > > > > > eg: > > > > > > Channel #gentoo-guis on the freenode network > > > or > > > #gentoo-guis on the freenode IRC network, irc://irc.gentoo.o= rg/gentoo-guis > > > > >=20 > > Though a freeform text field is probably better for humans, I'd > > suggest having more explicit data available as an option, ie: > >=20 > > Channel > > #gentoo-guis on the freenode network > +1 on this. >=20 ... and just when I was beginning to think no one actually cared :) ... The proper form of an irc url is in my example "irc://irc.gentoo.org/gentoo-guis" and I took it from gentoo's irc channel page at http://www.gentoo.org/main/en/irc.xml . That would mean limiting a single field to just valid url's just like the field. irc://irc.gentoo.org/gentoo-guis The other thing I find with your example is that layman no longer uses that old style of xml. It still supports it, if you have that format for some overlay definitions. But does not fit the current repositories.xml format. Personally I would find it quite simple to use a reg expression to extract a valid irc url from a mixture of written text and url. #gentoo-guis on the freenode IRC network, irc://irc.gentoo.org/gentoo-= guis So far there is not a gui for working with layman, so is all command line, including the output of layman -i some-overlay. Don't get me wrong, I have nothing aginst a layman gui. I actually ended up taking over layman's development because of it's lack of a good api for other apps to use. Namely porthole. Plus I fully intend to create a standalone gui for layman. Would it be better that I create 2 irc sub data types then?=20 #gentoo-guis on the freenode IRC network irc://irc.gentoo.org/gentoo-guis So far it seems many/most systems do not come setup to recognize and take proper action for irc:// mime types like they do for http:// --=20 Brian Dolbec --=-NaUbKtwHC84quE/q+5vE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iQEcBAABAgAGBQJPXwZZAAoJECIU2QoBTxfLVKwH/1MhAQ5w66I/OIVoXQhkOyPZ Jbz5tMrHK8jDl6IJrO3/mRAbCY6nIn/Awf3V0KNMJkXx/VChIXc1epFd1/EsQSQs y7XAkbjoUPmnAcLkN/KRmMJ1aWP2lOyUl4j86zIckuK7d8YOaxDQufkDuc6QAWx8 5YZfgHLGnDiIy2GPAQbCOzxLKr8sRUbJL2CUy8eb6CzFYZalXe2JYkvXuMIVokmd jW+RIsxzIkqAJeF+V+08iJhjYVIDDkRm0DPlhdX18pM1xrd42KbfuvM14OllhFoQ ToTYUFDLVworT9977UAWRBAiGD2mHK+NuQ9Y4JBJ5N5urgtZOuZOC0nnvRywTKQ= =ni0O -----END PGP SIGNATURE----- --=-NaUbKtwHC84quE/q+5vE--