[Catalog-sig] RFC: pypan - a Python package manager

Suchandra Thapa s-thapa-11@alumni.uchicago.edu
25 Oct 2002 16:45:09 -0500


--=-9eNyJx/Y+2Xf/DSv/lNS
Content-Type: multipart/mixed; boundary="=-V29YUkY6rPi32loKGNgD"


--=-V29YUkY6rPi32loKGNgD
Content-Type: multipart/alternative; boundary="=-ORxt5hDhwgcniyLIBxRs"


--=-ORxt5hDhwgcniyLIBxRs
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2002-10-25 at 14:55, Thomas Heller wrote:=20

    The chicken and egg issue. It's difficult to reach the critical mass
    where the system is actually used.

It might be useful to see how CPAN got started. =20


    But a 'remove' feature is really needed for a package manager, I
    think.

Since, ciphon already differentiates rpm and win32 installs from I can
run the uninstall=20
for those cases and do nothing in the general one (for now at least).


    > I'll change the configuration files and the ciphon config command to
    > allow the smtp server to be set.  I think I'll keep it around since
    > it seems like it would be useful for developers to be able to get an
    > automated bug report with a stack trace emailed to the bugs mailing
    > list.  I'm planning on extending it a little further so that users
    > can send a bug report manually and to give better reporting of
    > errors.
   =20
    My usual work style is to catch exceptions in a sys.excepthook installe=
d
    in my sitecustomize file - this recipe is in the Python Cookbook.
    This excepthook starts the debugger (pdb), and lets me inspect
    the state of the program immediately.

I'll see if I can get something similar into the current code.

    By the way, there are a lot of unqualified try/except clauses in
    ciphon.py, which make debugging a pain IMO, and also sometimes mask
    programming errors.
   =20

There are a bit of places in ciphon where the exception handling is
sub-par.  That's something that I need to work on.

--=20
------------------------------------------------------------------

Suchandra S. Thapa=20
s-thapa-11@alumni.uchicago.edu

------------------------------------------------------------------


--=-ORxt5hDhwgcniyLIBxRs
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; CHARSET=3DUTF-8">
  <META NAME=3D"GENERATOR" CONTENT=3D"GtkHTML/1.0.2">
</HEAD>
<BODY>
On Fri, 2002-10-25 at 14:55, Thomas Heller wrote:=20
    <BLOCKQUOTE>
<PRE><FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>The chicken and egg issue.=
 It's difficult to reach the critical mass</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>where the system is actually us=
ed.</FONT></FONT></I></PRE>
    </BLOCKQUOTE>
<FONT SIZE=3D"3">It might be useful to see how CPAN got started.&nbsp; </FO=
NT>
<BR>

    <BLOCKQUOTE>
<PRE><FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>But a 'remove' feature is =
really needed for a package manager, I</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>think.</FONT></FONT></I></PRE>
    </BLOCKQUOTE>
<FONT SIZE=3D"3">Since, ciphon already differentiates rpm and win32 install=
s from I can run the uninstall </FONT>
<BR>
<FONT SIZE=3D"3">for those cases and do nothing in the general one (for now=
 at least).</FONT>
<BR>

    <BLOCKQUOTE>
<PRE><FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; I'll change the confi=
guration files and the ciphon config command to</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; allow the smtp server to b=
e set.  I think I'll keep it around since</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; it seems like it would be =
useful for developers to be able to get an</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; automated bug report with =
a stack trace emailed to the bugs mailing</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; list.  I'm planning on ext=
ending it a little further so that users</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; can send a bug report manu=
ally and to give better reporting of</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>&gt; errors.</FONT></FONT></I>

<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>My usual work style is to catch=
 exceptions in a sys.excepthook installed</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>in my sitecustomize file - this=
 recipe is in the Python Cookbook.</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>This excepthook starts the debu=
gger (pdb), and lets me inspect</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>the state of the program immedi=
ately.</FONT></FONT></I></PRE>
    </BLOCKQUOTE>
<FONT SIZE=3D"3">I'll see if I can get something similar into the current c=
ode.</FONT>
    <BLOCKQUOTE>
<PRE><FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>By the way, there are a lo=
t of unqualified try/except clauses in</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>ciphon.py, which make debugging=
 a pain IMO, and also sometimes mask</FONT></FONT></I>
<FONT COLOR=3D"#737373"><FONT SIZE=3D"3"><I>programming errors.</FONT></FON=
T></I>
</PRE>
    </BLOCKQUOTE>
<FONT SIZE=3D"3">There are a bit of places in ciphon where the exception ha=
ndling is sub-par.&nbsp; That's something that I need to work on.</FONT>
<BR>

<TABLE CELLSPACING=3D"0" CELLPADDING=3D"0" WIDTH=3D"100%">
<TR>
<TD>
<PRE>--=20
------------------------------------------------------------------

Suchandra S. Thapa=20
s-thapa-11@alumni.uchicago.edu

------------------------------------------------------------------</PRE>
</TD>
</TR>
</TABLE>

<BR>

</BODY>
</HTML>

--=-ORxt5hDhwgcniyLIBxRs--

--=-V29YUkY6rPi32loKGNgD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: base64

LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMC42IChHTlUv
TGludXgpCkNvbW1lbnQ6IEZvciBpbmZvIHNlZSBodHRwOi8vd3d3LmdudXBnLm9yZwoKaUVZRUFC
RUNBQVlGQWoyNXV3OEFDZ2tRNm5TaENqdDVBWkpFNndDZlZidUFPc2Qya3RJYUNDVUNlZDFSck0z
ZgpHTGtBb0lic0llSmJvUlJobDlwVlBhNnZ5V0YySmg4RQo9NGd3RAotLS0tLUVORCBQR1AgU0lH
TkFUVVJFLS0tLS0K

--=-V29YUkY6rPi32loKGNgD--

--=-9eNyJx/Y+2Xf/DSv/lNS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAj25u2UACgkQ6nShCjt5AZJIQgCgkz5FRt9ZUnZKSyILSLBOi89o
ZfUAoJjfR15bBRWw6ExgCQDW/4SKpc9n
=dFRs
-----END PGP SIGNATURE-----

--=-9eNyJx/Y+2Xf/DSv/lNS--