From owner-freebsd-arch@FreeBSD.ORG Sat Aug 16 04:53:01 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DD6C3E4; Sat, 16 Aug 2014 04:53:01 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0204.outbound.protection.outlook.com [207.46.163.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4DFA2A68; Sat, 16 Aug 2014 04:53:00 +0000 (UTC) Received: from BY2PR05CA003.namprd05.prod.outlook.com (10.242.32.33) by BY2PR05MB727.namprd05.prod.outlook.com (10.141.223.23) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Sat, 16 Aug 2014 04:52:56 +0000 Received: from BY2FFO11FD009.protection.gbl (2a01:111:f400:7c0c::100) by BY2PR05CA003.outlook.office365.com (2a01:111:e400:2c2a::33) with Microsoft SMTP Server (TLS) id 15.0.1010.18 via Frontend Transport; Sat, 16 Aug 2014 04:52:56 +0000 Received: from P-EMF01-SAC.jnpr.net (66.129.239.15) by BY2FFO11FD009.mail.protection.outlook.com (10.1.14.73) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Sat, 16 Aug 2014 04:52:56 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF01-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Fri, 15 Aug 2014 21:52:56 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id s7G4qsn06166; Fri, 15 Aug 2014 21:52:54 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 5F47E580A2; Fri, 15 Aug 2014 21:52:54 -0700 (PDT) To: Alfred Perlstein Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML In-Reply-To: <53EEA74B.9070107@mu.org> References: <201408141640.s7EGe422096656@idle.juniper.net> <53ED57F2.5020808@mu.org> <20140815053604.9E40B580A2@chaos.jnpr.net> <53EDB0EF.6090902@mu.org> <20140815173830.93832580A2@chaos.jnpr.net> <53EEA74B.9070107@mu.org> Comments: In-reply-to: Alfred Perlstein message dated "Fri, 15 Aug 2014 17:35:23 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 15 Aug 2014 21:52:54 -0700 Message-ID: <20140816045254.5F47E580A2@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.129.239.15; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(189002)(199003)(77982001)(87936001)(50226001)(76506005)(6806004)(44976005)(85306004)(4396001)(20776003)(47776003)(89996001)(76176999)(50986999)(57986006)(83322001)(101356003)(92566001)(92726001)(93916002)(76482001)(64706001)(77156001)(46102001)(86362001)(69596002)(68736004)(107046002)(70486001)(97736001)(99396002)(80022001)(102176002)(110136001)(84676001)(81156004)(106466001)(81342001)(21056001)(31966008)(74662001)(88136002)(74502001)(79102001)(104166001)(85852003)(83072002)(90896003)(62966002)(48376002)(105596002)(81542001)(95666004)(87286001)(50466002)(102836001)(33656002)(93546004)(42262002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR05MB727; H:P-EMF01-SAC.jnpr.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0305463112 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=sjg@juniper.net; X-OriginatorOrg: juniper.net Cc: Marcel Moolenaar , Phil Shafer , John-Mark Gurney , arch@freebsd.org, Poul-Henning Kamp , freebsd-arch , Konstantin Belousov X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2014 04:53:01 -0000 On Fri, 15 Aug 2014 17:35:23 -0700, Alfred Perlstein writes: >>> How many programs have been successfully converted over to libxo at this >>> point? >> How is that relevant to any of this discussion? >> >Well, it speaks towards the vision of getting this done in a timely >manner. As I said there is a GSOC project that has a ton of code >already done. Yes but as previously pointed out, the approach taken is far from ideal, [we previously rejected the idea of trying to contribute that approach] I think libxo will provide a much better result. >If this libxo is ready to go in, it should go in and we No objection here. There are a small number of apps that we particularly want converted, which we would propose as examples. The purpose of this thread was to illicit feedback on the idea and guage acceptance of the proposed API - which you have to admit isn't as cosy and comforting as printf, but is pretty palatable considering the functionality provided. On that front I think we are looking good. There has been very useful discussion on a number of points. I don't think I have spotted any fundamental objection to the idea. It is probably easier for Phil to commit to our internal mirror. We can take the next steps from there. >should get towards converting more utils to using it. However if we are >going to perpetually add frameworky things, but not convert over >userland tools to the actual framework, then that is a potential problem >worth calling out. Indeed. Again that's why I prefer to see this (the library at least) done by someone who's been doing this sort of thing successfuly for ages.