delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/31/14:58:11

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 31 Dec 2015 20:57:53 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Edward Hennessy (ehennes AT sbcglobal DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] Project leadership
In-Reply-To: <96A12FC1-E09C-4D63-8346-5A62FDAB4228@sbcglobal.net>
Message-ID: <alpine.DEB.2.11.1512311916190.12724@newt>
References: <5AC3D5C5-144F-41AE-9562-47BC34D9047F AT noqsi DOT com> <CAJXU7q_GnuGNMtUWkB-xgBiKgY5R5W4ZCjtnz5EJizG+46dm1w AT mail DOT gmail DOT com> <C7FDF8B6-B335-46C3-8A25-F95ACECF4B79 AT noqsi DOT com> <CAJXU7q_3XwthnN_8mp7B+-ShHeK+=7J=54ZavKBUG3S3bSKp2A AT mail DOT gmail DOT com>
<20151222193859 DOT 26898 DOT qmail AT stuge DOT se> <20151223202851 DOT 637d5b1f AT jive DOT levalinux DOT org> <20151223195846 DOT 8392 DOT qmail AT stuge DOT se> <CAM2RGhS2bg=Rjuq6oEeOacV7PfUENy_jq7dxag=vWsUbdH6pAQ AT mail DOT gmail DOT com> <20151229155647 DOT GA3752 AT localhost DOT localdomain>
<CAM2RGhSLND5+JSSj=1cUPUhzkTCK6d7NZ61QL-eViZRccY5LqA AT mail DOT gmail DOT com> <20151229175222 DOT GD3752 AT localhost DOT localdomain> <alpine DOT DEB DOT 2 DOT 11 DOT 1512311656190 DOT 1475 AT newt> <96A12FC1-E09C-4D63-8346-5A62FDAB4228 AT sbcglobal DOT net>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-1982668496-1451588605=:12724
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <alpine DOT DEB DOT 2 DOT 11 DOT 1512312047291 DOT 15043 AT newt>

On Thu, 31 Dec 2015, Edward Hennessy (ehennes AT sbcglobal DOT net) [via geda-user AT delorie DOT com] wrote:
> I havenąt found a way to disable Xorn during make distcheck.

From an Autotools point of view, you'd want to enable all conditional 
Makefiles in "make distcheck" so they are tested and distributed even if 
they aren't normally enabled.  It does make sense in a way that "make 
distcheck" fails when a test in one of these Makefiles fails.  I'm afraid 
there's no easy way to fix this without fighting the tools.

That said, I completely understand that this makes testing changes to the 
build system unnecessarily cumbersome.  (I used to add the failing tests 
to XFAIL_TESTS temporarily before running "make distcheck".)  I guess the 
intention behind this is that there shouldn't be failing tests in master, 
at least at the time of a release.

So the options to handle this are:
(a) Don't merge the code until the defect is fixed.
(b) Have "make distcheck" fail as a reminder that the code doesn't work right.
(c) Hack the test driver so a failed test doesn't cause "make distcheck" to abort.
(d) Add the defect to the documentation as a known bug and set the corresponding tests to XFAIL.

Since this is a minor flaw, I had decided for (b), but if you think (c) or 
(d) is more appropriate I wouldn't object.

> How much effort is required to fix the defects?

Basically, a new abstraction layer for "SPICE objects" would have to be 
introduced in the spice-sdb backend (other backends aren't affected). 
This isn't a big issue per se, but since this would make changes all over 
gnet_spice_sdb.py necessary and this is the largest backend (~1250 lines), 
I'd estimate 1-2 days to do it properly.

The original gnetlist presented a package as an opaque object to backends 
and didn't allow them to access the individual components of which it is 
composed.  If a backend wanted to handle slots as individual objects (like 
the spice-sdb backend does), it had to override gnetlist's "get-uref" 
function so the slots were each assigned an individual refdes.  In the 
refactored code, this is handled differently (you can access the 
"components" property of a "Package" object), so the renaming mechanism 
doesn't exist, and a backend which wants to handle slots as individual 
components needs to handle this itself.  Unfortunately, I haven't found 
the time to implement this in spice-sdb yet.

--8323329-1982668496-1451588605=:12724--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019