[CentOS-devel] [PATCH] brand_hunter.py that works with existing directories

Thu Jun 19 17:32:08 UTC 2014
kay at deployproject.org <kay at deployproject.org>

On June 19, 2014 at 1:04 PM Karanbir Singh <mail-lists at karan.org> wrote:
> Hi Kay
>
> On 06/16/2014 10:36 PM, Kay Williams wrote:
> > The previous brand-hunter.py let you provide package patterns. It would then
> > search SRPM repositories to find SRPMs matching those patterns (using the
> > magic of yum), download and install them, and search content (expanding
> > gzip/bz2 files as it goes) for possible branding issues.
> >
> > This version is a bit more modest. It assumes you have already downloaded
> > content, e.g. using git clone/get_sources.sh.
> >
> > Then you run brand_hunter.py, providing the path to the directory (or
> > directories), and it searches files (still expanding zipped files as
> > before).
> > ---
> > brand_hunter.py | 153
> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> If you can post the entire script, I can pull it in there.
>

Not sure why it didn't come through. Perhaps a mailer issue. (Or maybe user
error since this is the first time I've tried git send-email). At any rate, I've
attached both the email formatted patch and the entire script to this email.

Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-simplified-brand_hunter.py-that-works-with-existing-.patch
Type: text/x-patch
Size: 5543 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140619/458f6d57/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brand_hunter.py
Type: text/x-python
Size: 4275 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140619/458f6d57/attachment-0007.py>