From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CC3301381F3 for ; Tue, 9 Jul 2013 22:25:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F6D4E08CA; Tue, 9 Jul 2013 22:24:44 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 62FD0E08A1 for ; Tue, 9 Jul 2013 22:24:43 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,1028,1363132800"; d="scan'208";a="22513963" Received: from unknown (HELO rathaus.eclipse.co.uk) ([109.176.215.210]) by smtpout.karoo.kcom.com with ESMTP; 09 Jul 2013 16:43:29 +0100 Date: Tue, 9 Jul 2013 16:46:02 +0100 From: "Steven J. Long" To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: [1/3] Automatic *XML->Wiki wiki.gentoo.org Message-ID: <20130709154602.GB17839@rathaus.eclipse.co.uk> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <09a1a991-ec2a-42ff-ae30-fd4ad737d3ad@email.android.com> <5250810.ak2l4ZvGqZ@xzibit> <51B714E1.6050906@gentoo.org> <20130613163330.GA9073@gentoo.org> <20130616002853.GD29913@orbis-terrarum.net> <51CAF2A7.6000403@gentoo.org> <20130708200255.GA20225@gentoo.org> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130708200255.GA20225@gentoo.org> X-Archives-Salt: b554888b-64cf-4568-918a-98e0b91b4e56 X-Archives-Hash: 14d96e715ecd95864ccca0b484ee5fec Sven Vermeulen wrote: > I did some additional work on the style (as well as making a small wrapper > script to simplify handling it). There are still some issues that I need to > sort out, but I hope I can do that the coming days. > > I keep track of the stuff at [1], an example output can already be found at > [2]. > > [1] https://wiki.gentoo.org/wiki/User:SwifT/proj2wiki > [2] https://wiki.gentoo.org/wiki/User:SwifT/proj2wiki/test > > It would appreciate some feedback - things that do not need to be covered > anymore or so (I know our wiki supports some stuff that shouldn't be > rendered anymore). > > No promises, but everything I know can help ;) > > btw, the tool actually converts GuideXML, so I'll be updating it later on to > support better moves of our documentation as well. Very nice work. The hardened test-conversion is very clean, and works well. The sh makes me twitch though. typeset a=$foo # is easier as: a=$foo # as well as being more portable. [ ] is part of POSIX sh (test is only still necessary in autoconf due to its ill-advised usage of m4, afaic) and you don't quote a lot of the parameter-expansions. -- #friendly-coders -- We're friendly, but we're not /that/ friendly ;-)