On Tue, Feb 27, 2001 at 04:25:47PM +1100, Craig Sanders wrote:
> yep.
>
> in pseduo-perl
>
> if (mtime of /var/lib/dpkg/dlocatedb < mtime of /var/lib/dpkg/status) {
> system("/usr/sbin/update-dlocatedb")
> } ;
> # now carry on with whatever it is that needed dlocate -S to
On Mon, Feb 26, 2001 at 11:27:32PM +0900, Masato Taruishi wrote:
> At Mon, 26 Feb 2001 01:49:11 -0800,
> Joey Hess wrote:
>
> > > * Will try to use dlocate instead of dpkg -S for extra speedups
> >
> > Doesn't dlotate work just like locate by caching data? If so, this could
>
> compares the time
Or rather, dpkg-shlibs.py as it is called now. It seems stable enough
to replace dpkg-shlibdeps.pl now so I changed its name.
Changes since the first version:
* don't hardcode errno values anymore
* pre-cache data so we only need to do one dpkg -S call for extra
speedup
* remove dlocate usage
> [ I hate to drag this out, but... ]
>
> > That is exactly my point -- every editor / personal setting will be diffe=
> rent
> > as to how many spaces a tab represents.
>
> It seems to me that this is the source of the misunderstanding.
No, see below.
> A tab doesn't represent spaces. It repr
[ I hate to drag this out, but... ]
Jon Nelson <[EMAIL PROTECTED]> wrote:
>
> That is exactly my point -- every editor / personal setting will be different
> as to how many spaces a tab represents.
It seems to me that this is the source of the misunderstanding.
A tab doesn't represent spaces. I
On Mon, Feb 26, 2001 at 12:38:32PM +0100, Wichert Akkerman wrote:
> > To return to being serious, I think that this script is short enough
> > that it's not worth mandating python installation for all developers
> > just to use it. It would be trivial to rewrite it in Perl. Can Python
> > produce s
On Mon, 26 Feb 2001, Manfred Wassmann wrote:
> f*** how do you call a "Ganzzahliges Vielfaches" in english -- of the
"integer multiple" ... :)
MfG
tony
--
leadership (n.) A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to
On Mon, 26 Feb 2001, Wichert Akkerman wrote:
> Previously Jon Nelson wrote:
> > I only see one problem with dpkg-scanlibs.py: it uses tabs
> > tabs are evil, wichert! Every editor under the sun uses different tab
> > settings. Use spaces, my man.
>
> Repeat after me:
>
> Tabs are good.
> On Mon, Feb 26, 2001 at 07:30:22AM -0600, Jon Nelson wrote:
> > That is exactly my point -- every editor / personal setting will be
> > different
> > as to how many spaces a tab represents. There are many programs floating
> > around (3 are shipped *with* Python) to convert tabs to N spaces (i
At Mon, 26 Feb 2001 01:49:11 -0800,
Joey Hess wrote:
> > * Will try to use dlocate instead of dpkg -S for extra speedups
>
> Doesn't dlotate work just like locate by caching data? If so, this could
> result in incorrect dependancies if two library packages contained the
> same file, and you had o
Previously Jon Nelson wrote:
> That is exactly my point -- every editor / personal setting will be different
> as to how many spaces a tab represents.
Right, so as long as we use just tabs everything gets whatever indent
they desire (shiftwidth in vi terms). Great, isn't it?
> In my editor of cho
> On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> > Eeek! You misunderstand the root problem here, I think.
> > Python uses indent level to represent blocks. If those indent levels
> > are different in different editors, you *change* what the program does.
> > Unlike in C, where ind
> "Wichert" == Wichert Akkerman <[EMAIL PROTECTED]> writes:
Wichert> Previously Vladimir Tamara wrote:
>> I don't know too much about licenses, and I don't know where to
>> ask this. The Python license is not compatible with the GPL
>> (it is published in
>> http://www.gnu
Previously Aaron Lehmann wrote:
> Would that make (*shudder*) python mandatory for people who build
> packages? We already have one required crappy language in the
> distribution, and I'm not convinced that it's a good idea to add yet
> another.
I'm not replacing it with another crappy language
th
Previously Jon Nelson wrote:
> I only see one problem with dpkg-scanlibs.py: it uses tabs
> tabs are evil, wichert! Every editor under the sun uses different tab
> settings. Use spaces, my man.
Repeat after me:
Tabs are good. Tabs tell you an indent is requested but do not
forc
Previously Vladimir Tamara wrote:
> I don't know too much about licenses, and I don't know where to ask
> this. The Python license is not compatible with the GPL (it is
> published in http://www.gnu.org/philosophy/license-list.html),
That is a problem if you want to link python to a
Quoting Radovan Garabik ([EMAIL PROTECTED]):
> On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> > > On Sun, Feb 25, 2001 at 10:03:58PM -0600, Jon Nelson wrote:
> > > > I only see one problem with dpkg-scanlibs.py: it uses tabs
> > > > tabs are evil, wichert! Every editor under the sun
Wichert Akkerman wrote:
> * Will try to use dlocate instead of dpkg -S for extra speedups
Doesn't dlotate work just like locate by caching data? If so, this could
result in incorrect dependancies if two library packages contained the
same file, and you had one installed yesterday when the dlotate
> "Ben" == Ben Collins <[EMAIL PROTECTED]> writes:
Ben> On Sun, Feb 25, 2001 at 08:22:02PM -0800, Aaron Lehmann
Ben> wrote:
>> To return to being serious, I think that this script is short
>> enough that it's not worth mandating python installation for
>> all developers ju
On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> > On Sun, Feb 25, 2001 at 10:03:58PM -0600, Jon Nelson wrote:
> > > I only see one problem with dpkg-scanlibs.py: it uses tabs
> > > tabs are evil, wichert! Every editor under the sun uses different tab
> > > settings. Use spaces, my
On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> > On Sun, Feb 25, 2001 at 10:03:58PM -0600, Jon Nelson wrote:
> > > I only see one problem with dpkg-scanlibs.py: it uses tabs
> > > tabs are evil, wichert! Every editor under the sun uses different tab
> > > settings. Use spaces, my
On Sun, Feb 25, 2001 at 08:22:02PM -0800, Aaron Lehmann wrote:
>
> To return to being serious, I think that this script is short enough
> that it's not worth mandating python installation for all developers
> just to use it. It would be trivial to rewrite it in Perl. Can Python
> produce small exc
On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> Eeek! You misunderstand the root problem here, I think.
> Python uses indent level to represent blocks. If those indent levels
> are different in different editors, you *change* what the program does.
> Unlike in C, where indentation d
> On Sun, Feb 25, 2001 at 10:03:58PM -0600, Jon Nelson wrote:
> > I only see one problem with dpkg-scanlibs.py: it uses tabs
> > tabs are evil, wichert! Every editor under the sun uses different tab
> > settings. Use spaces, my man.
>
> That is precisely the reason that tabs should be used; so
On Mon, Feb 26, 2001 at 04:32:36AM +0100, Wichert Akkerman wrote:
>
> I just uploaded a beta-version of dpkg-scanlibs to
> http://people.debian.org/~wakkerma/ . This is the python rewrite
> of dpkg-shlibdeps and will replace it once I'm sure it works properly.
Would that make (
On Sun, Feb 25, 2001 at 10:03:58PM -0600, Jon Nelson wrote:
> I only see one problem with dpkg-scanlibs.py: it uses tabs
> tabs are evil, wichert! Every editor under the sun uses different tab
> settings. Use spaces, my man.
That is precisely the reason that tabs should be used; so that people
>
> I just uploaded a beta-version of dpkg-scanlibs to
> http://people.debian.org/~wakkerma/ . This is the python rewrite
> of dpkg-shlibdeps and will replace it once I'm sure it works properly.
I only see one problem with dpkg-scanlibs.py: it uses tabs
tabs are evil, wiche
I just uploaded a beta-version of dpkg-scanlibs to
http://people.debian.org/~wakkerma/ . This is the python rewrite
of dpkg-shlibdeps and will replace it once I'm sure it works properly.
Besides the fact that this code is actually commented and readable,
the major changes in functionalit
28 matches
Mail list logo