[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] maint: add a script to list libunistring modules
From: |
Daiki Ueno |
Subject: |
Re: [PATCH] maint: add a script to list libunistring modules |
Date: |
Sat, 20 Jun 2015 10:50:12 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Daiki Ueno <address@hidden> writes:
>> The modules are listed by a script that does:
>> - for each file listed by: git show --oneline --name-only 705f4efc
>> - deduce the containing modules, based on "Files:"
>> - deduce the modules which depend on the containing modules, based
>> on "Depends-on:"
>>
>> It's tempting to automate those steps. Is it okay to add some scripts
>> for that to Gnulib?
>
> So here it is. As noted in the comment, it's often too slow.
Actually, it would be trivial if gnulib-tool had support for:
- listing reverse dependencies: --extract-reverse-dependencies module
- listing containing module, like rpm -qf: --extract-containing-modules file
- recursive query for --extract-dependencies, etc: --recursive
Perhaps these features might be generally useful, but I doubt that they
are acceptable since gnulib-tool seems already too complex to
accommodate such new options (might be a good addition to
python-gnulib).
Thoughts?
Regards,
--
Daiki Ueno