[debexpo-devel] GPG code refactoring (was: implement autobuilders)

Serafeim Zanikolas serzan at hellug.gr
Sun Feb 8 18:29:53 CET 2009


On Sun, Feb 08, 2009 at 11:42:28AM +0000, Serafeim Zanikolas wrote:
> On Tue, Feb 03, 2009 at 11:09:32AM +0000, Jonny Lamb wrote:
> > On Tue, Feb 03, 00:13:59 +0000, Serafeim Zanikolas wrote:
> > > I could easily add a class in lib/util.py, to be instantiated only once, that
> > > reads the gpg path off the config file only upon instantiation, and defines
> > > methods for "public" use (parse key id, enc/dec, whatever), in a way that they
> > > reuse a "private" methods for invoking gpg and parsing the output.
> > 
> > Yes, this is what I had in mind.

Attached again with minor edits (and removal of a forgotten debug stmt).

Also, forgot to mention that for the tests to succeed,
debexpo/i18n/en/LC_MESSAGES/debexpo.mo has to be in place.

-S


More information about the debexpo-devel mailing list