[arch-dev-public] Find-deps script (was: hidden dependencies)
This is what I use for checking the deps:
[andyrtr@workstation64 cvs]$ grep -l libpcap `find . -name PKGBUILD`
A while ago I posted a script to this ML that does this, but gives more concise output, finding _only_ deps and makedeps, and not random comments and such. Jurgen reworked it a bit for speed and because his bash is leet. I've reattached it here - I suggest you use it. -- Travis
On 10/7/07, Travis Willard <travis@archlinux.org> wrote:
I've reattached it here - I suggest you use it.
Lies
On Sun, 7 Oct 2007 08:35:10 -0400 Travis Willard <travis@archlinux.org> wrote:
This is what I use for checking the deps:
[andyrtr@workstation64 cvs]$ grep -l libpcap `find . -name PKGBUILD`
A while ago I posted a script to this ML that does this, but gives more concise output, finding _only_ deps and makedeps, and not random comments and such.
Jurgen reworked it a bit for speed and because his bash is leet.
I've reattached it here - I suggest you use it.
That's... odd. I could swear I attached it - I remember going through the dialogs and everything. Trying again. -- Travis
On 10/7/07, Travis Willard <travis@archlinux.org> wrote:
On Sun, 7 Oct 2007 08:35:10 -0400 Travis Willard <travis@archlinux.org> wrote:
This is what I use for checking the deps:
[andyrtr@workstation64 cvs]$ grep -l libpcap `find . -name PKGBUILD`
A while ago I posted a script to this ML that does this, but gives more concise output, finding _only_ deps and makedeps, and not random comments and such.
Jurgen reworked it a bit for speed and because his bash is leet.
I've reattached it here - I suggest you use it.
That's... odd. I could swear I attached it - I remember going through the dialogs and everything.
Trying again.
Well that worked. Still this script is more of a fancy grep than what andy intends, I think. I think what he wants is some recursion here to see if a depend is REALLY a depend, just not explicitly listed in the PKGBUILD.
On Sun, Oct 07, 2007 at 08:35:10AM -0500, Aaron Griffin wrote:
On 10/7/07, Travis Willard <travis@archlinux.org> wrote:
On Sun, 7 Oct 2007 08:35:10 -0400 Travis Willard <travis@archlinux.org> wrote:
This is what I use for checking the deps:
[andyrtr@workstation64 cvs]$ grep -l libpcap `find . -name PKGBUILD`
A while ago I posted a script to this ML that does this, but gives more concise output, finding _only_ deps and makedeps, and not random comments and such.
Jurgen reworked it a bit for speed and because his bash is leet.
I've reattached it here - I suggest you use it.
That's... odd. I could swear I attached it - I remember going through the dialogs and everything.
Trying again.
Well that worked.
Still this script is more of a fancy grep than what andy intends, I think.
I think what he wants is some recursion here to see if a depend is REALLY a depend, just not explicitly listed in the PKGBUILD.
There are cases (usually with good programs) where things are in the dependency tree but not actually link-level dependencies. Lib A depends on libcap, App A depends on Lib A but doesn't link to libpcap itself. Walking the dependency tree, you'd see this case and you wouldn't know if it was a link level dependency or not. It's just as likely that Lib A depends on libpcap and App A also depends on libpcap. Should we start making a distinction for this? The namcap depends rule could be changed to cover this case... it'd take a while to do properly though. Jason
On Sun, 2007-10-07 at 12:42 -0700, Jason Chu wrote:
It's just as likely that Lib A depends on libpcap and App A also depends on libpcap. Should we start making a distinction for this? The namcap depends rule could be changed to cover this case... it'd take a while to do properly though.
This would be very cool. I don't care about how much time it takes to make this, the fact that it will be there is more important. If everyone would namcap their packages this will make a good list of to-be-rebuilt packages whenever we bump sonames.
On Sun, 7 Oct 2007 08:35:10 -0500 "Aaron Griffin" <aaronmgriffin@gmail.com> wrote:
On 10/7/07, Travis Willard <travis@archlinux.org> wrote:
On Sun, 7 Oct 2007 08:35:10 -0400 Travis Willard <travis@archlinux.org> wrote:
This is what I use for checking the deps:
[andyrtr@workstation64 cvs]$ grep -l libpcap `find . -name PKGBUILD`
A while ago I posted a script to this ML that does this, but gives more concise output, finding _only_ deps and makedeps, and not random comments and such.
Jurgen reworked it a bit for speed and because his bash is leet.
I've reattached it here - I suggest you use it.
That's... odd. I could swear I attached it - I remember going through the dialogs and everything.
Trying again.
Well that worked.
Still this script is more of a fancy grep than what andy intends, I think.
Yup, that's all it is - I never said it'd cover what Andy wants, I said it'd do the same thing as the "grep" line but be a bit more sophisticated about it (which is why that's all I quoted) Apologies if I was unclear about that. -- Travis
participants (4)
-
Aaron Griffin
-
Jan de Groot
-
Jason Chu
-
Travis Willard