<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;">Hi!<br>
<br>
</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I'm working on a project
to generate deb packages directly from asdf files (if it works,
will be published open sourced).<br>
<br>
</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I need to parse a
component definition form and work with the generated object, so
I'm using asdf::parse-component-form for this, but it first
searches the component (using asdf::find-component) and if it
doesn't exist, then makes a new instance but the desired behaviour
in this case is always generate a fresh instance. I've extended it
so it can accept an optional parameter, 'reuse-instance to get the
desired behaviour (patch attached). </p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><br>
Furthermore, IMHO, asdf::parse-component should be exported so it
makes easier to develop asdf extensions.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><br>
Am I missing something? Is the attached patch acceptable?</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><br>
Thank you</p>
<pre class="moz-signature" cols="72">--
+-----------------
| Francisco Vides Fernández <a class="moz-txt-link-rfc2396E" href="mailto:fvides@dedaloingenieros.com"><fvides@dedaloingenieros.com></a>
| Gerente
| Teléfono fijo: 952 60 29 59
| Fax: 952 60 29 59
| Dédalo Ingenieros <a class="moz-txt-link-freetext" href="http://www.dedaloingenieros.com/">http://www.dedaloingenieros.com/</a>
| PGP: <a class="moz-txt-link-freetext" href="http://pgp.rediris.es:11371/pks/lookup?op=index&search=0xB1299C15">http://pgp.rediris.es:11371/pks/lookup?op=index&search=0xB1299C15</a>
+------
</pre>
</body>
</html>