[Yum] code cleanup: one function in one source: readHeader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--=-udwCr1Ph2ul4hukBO4+m
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2002-07-21 at 16:02, seth vidal wrote:
> >=20
> >  I offer to allocate the common functions in a separate module.
> > =20
> >  package.py, rpmStuff.py, pkgStuff.py, pkg_tools.py...
> > =20
> >  I do not know, I like all these names;-)
>=20
>=20
> Thats fine w/me - two prerequisites:
>=20
> 1. no classes. make it all procedural for now.
> 2. comment the code heavily.


one more thing - it would probably be most useful if the functions got
broken out into:

rpmUtils.py, hdrUtils.py and sysUtils.py


they being, respectively, stuff to manipulate rpms, stuff to manipulate
the headers and/or info in the headers (ie ver comparison) and generic
stuff to mkdirs/find stuff on the system.

-sv




--=-udwCr1Ph2ul4hukBO4+m
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

iD8DBQA9OxQc1Aj3x2mIbMcRAhXxAJ4q9cITr/JiXWjtvhHnFwEj1DRD9ACgj97C
WB2fc9d3zZ/+mS/K+p1AQ1Q=
=fEIa
-----END PGP SIGNATURE-----

--=-udwCr1Ph2ul4hukBO4+m--



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux