Re: Search for a file in all Debian source packages

2012-06-04 Thread Yaroslav Halchenko
I have just realized that this helpful Contents-sources.gz I had on my
drive is more than a year old and is not updated by cron as I thought it
was ;-)

Raphael, is there a chance to reincarnate this service or was it
superseded by a better solution?

Thanks in advance

On Thu, 30 Sep 2010, Michael Hanke wrote:
 On Thu, Sep 30, 2010 at 02:21:45PM -0500, Raphael Geissert wrote:
  Michael Hanke wrote:
   Is there any way to accomplish this, without having to create a
   complete mirror of the archive and parse all tarballs?

  As of a few minutes ago:
  http://lintian.debian.org/~geissert/Contents-sources.gz

 Thank you Raphael!
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120604214142.ga23...@onerussian.com



Re: Search for a file in all Debian source packages

2012-06-04 Thread Jakub Wilk

* Yaroslav Halchenko deb...@onerussian.com, 2012-06-04, 17:41:
I have just realized that this helpful Contents-sources.gz I had on my 
drive is more than a year old and is not updated by cron as I thought 
it was ;-)


Raphael, is there a chance to reincarnate this service or was it 
superseded by a better solution?


http://http.debian.net/debian/dists/unstable/main/Contents-source.gz

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120604215358.ga4...@jwilk.net



Re: Search for a file in all Debian source packages

2012-06-04 Thread Salvo Tomaselli
måndagen den 4 juni 2012 23.41.42 skrev  Yaroslav Halchenko:
 I have just realized that this helpful Contents-sources.gz I had on my
 drive is more than a year old and is not updated by cron as I thought it
 was ;-)
 
 Raphael, is there a chance to reincarnate this service or was it
 superseded by a better solution?

apt-file


-- 
Salvo Tomaselli


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201206042359.01758.tipos...@tiscali.it



Re: Search for a file in all Debian source packages

2012-06-04 Thread Yaroslav Halchenko


On Mon, 04 Jun 2012, Salvo Tomaselli wrote:
  drive is more than a year old and is not updated by cron as I thought it
  was ;-)
  Raphael, is there a chance to reincarnate this service or was it
  superseded by a better solution?

 apt-file

nah -- that one for binary pkgs only AFAIK... or am I wrong?

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120604223324.ga11...@onerussian.com



Re: Search for a file in all Debian source packages

2012-06-04 Thread Yaroslav Halchenko

On Mon, 04 Jun 2012, Jakub Wilk wrote:
 I have just realized that this helpful Contents-sources.gz I had
 on my drive is more than a year old and is not updated by cron as
 I thought it was ;-)

 Raphael, is there a chance to reincarnate this service or was it
 superseded by a better solution?

 http://http.debian.net/debian/dists/unstable/main/Contents-source.gz

awesome -- thanks -- that is what I was looking for -- great to see it
now officially available 

FWIW: here is the relevant (still open) wishlist bug for apt-file:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632254
apt-file: option to search Contents-source.gz files

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120604224018.gb11...@onerussian.com



Re: Search for a file in all Debian source packages

2012-06-04 Thread James McCoy
On Mon, Jun 04, 2012 at 06:40:18PM -0400, Yaroslav Halchenko wrote:
 
 On Mon, 04 Jun 2012, Jakub Wilk wrote:
  I have just realized that this helpful Contents-sources.gz I had
  on my drive is more than a year old and is not updated by cron as
  I thought it was ;-)
 
  Raphael, is there a chance to reincarnate this service or was it
  superseded by a better solution?
 
  http://http.debian.net/debian/dists/unstable/main/Contents-source.gz
 
 awesome -- thanks -- that is what I was looking for -- great to see it
 now officially available 
 
 FWIW: here is the relevant (still open) wishlist bug for apt-file:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632254
 apt-file: option to search Contents-source.gz files

$ apt-file -a source update
…
$ apt-file -a source os_unix.c
chromium-browser: /src/third_party/sqlite/src/src/os_unix.c
db: /lang/sql/sqlite/src/os_unix.c
db5.3: /lang/sql/sqlite/src/os_unix.c
iipimage: /fcgi/libfcgi/os_unix.c
inadyn: /src/os_unix.c
kompozer: /mozilla/db/sqlite3/src/os_unix.c
libfcgi: /libfcgi/os_unix.c
lyx: /src/support/os_unix.cpp
mame: /src/osd/sdl/sdlos_unix.c
mess: /src/osd/sdl/sdlos_unix.c
ncbi-blast+: /c++/src/corelib/ncbi_os_unix.cpp
olsrd: /lib/tas/src/os_unix.c
reaver: /src/utils/os_unix.c
refit: /.pc/gptsync_dont_truncate.patch/gptsync/os_unix.c
refit: /.pc/gptsync_nom_nom_nom_newline.patch/gptsync/os_unix.c
refit: /.pc/gptsync_quiet_mode.patch/gptsync/os_unix.c
refit: /gptsync/os_unix.c
sqlite3: /.pc/20-hurd-locking-style.patch/src/os_unix.c
sqlite3: /src/os_unix.c
vim: /src/os_unix.c
wpa: /src/utils/os_unix.c
wpasupplicant: /src/utils/os_unix.c

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy james...@debian.org


signature.asc
Description: Digital signature


Re: Search for a file in all Debian source packages

2012-06-04 Thread Yaroslav Halchenko
ho ho -- smart ;)  not sure even which version to assign if someone
would decide to close this bug report ;)

Apparently this feature is working out of the box by design, as
James McCoy points out.  Since Contents-* file format is the same for
-sources as for any other architecture listing content of binary
packages -- there is no custom action required.

On Mon, 04 Jun 2012, James McCoy wrote:
  FWIW: here is the relevant (still open) wishlist bug for apt-file:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632254
  apt-file: option to search Contents-source.gz files

 $ apt-file -a source update
 …
 $ apt-file -a source os_unix.c
 chromium-browser: /src/third_party/sqlite/src/src/os_unix.c
 db: /lang/sql/sqlite/src/os_unix.c
 db5.3: /lang/sql/sqlite/src/os_unix.c
 iipimage: /fcgi/libfcgi/os_unix.c
 inadyn: /src/os_unix.c
 kompozer: /mozilla/db/sqlite3/src/os_unix.c
 libfcgi: /libfcgi/os_unix.c
 lyx: /src/support/os_unix.cpp
 mame: /src/osd/sdl/sdlos_unix.c
 mess: /src/osd/sdl/sdlos_unix.c
 ncbi-blast+: /c++/src/corelib/ncbi_os_unix.cpp
 olsrd: /lib/tas/src/os_unix.c
 reaver: /src/utils/os_unix.c
 refit: /.pc/gptsync_dont_truncate.patch/gptsync/os_unix.c
 refit: /.pc/gptsync_nom_nom_nom_newline.patch/gptsync/os_unix.c
 refit: /.pc/gptsync_quiet_mode.patch/gptsync/os_unix.c
 refit: /gptsync/os_unix.c
 sqlite3: /.pc/20-hurd-locking-style.patch/src/os_unix.c
 sqlite3: /src/os_unix.c
 vim: /src/os_unix.c
 wpa: /src/utils/os_unix.c
 wpasupplicant: /src/utils/os_unix.c
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120605030055.gc11...@onerussian.com



Re: Search for a file in all Debian source packages

2012-06-04 Thread Paul Wise
On Tue, Jun 5, 2012 at 11:00 AM, Yaroslav Halchenko wrote:

 ho ho -- smart ;)  not sure even which version to assign if someone
 would decide to close this bug report ;)

I have retitled the bug asking for this to be documented. I think both
the manual page and the --help output need to mention the possiblity
to use source as an architecture.

 Apparently this feature is working out of the box by design, as
 James McCoy points out.  Since Contents-* file format is the same for
 -sources as for any other architecture listing content of binary
 packages -- there is no custom action required.

Very nice indeed.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKTje6HPVTev0wPXJr8rKs=kmb1pp_vdnzs7esdiuzdvrcr...@mail.gmail.com



Keeping content of binary and source packages in UDD (Was: Search for a file in all Debian source packages)

2010-10-01 Thread Andreas Tille
On Thu, Sep 30, 2010 at 06:13:45PM -0500, Raphael Geissert wrote:
  I *think*, if Raphael hadn't stepped up first and saved you the bother,
  you could probably get this information out of UDD.
 
 AFAIK (and supported by [1]) UDD doesn't even have the Contents of binary 
 packages.

But in principle it does sound like a good idea to feed this information
into UDD.  What do you think about keeping content of binary and source
packages inside UDD?

Kind regards

   Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101001064534.ga16...@an3as.eu



Re: Keeping content of binary and source packages in UDD (Was: Search for a file in all Debian source packages)

2010-10-01 Thread Andreas Tille
On Fri, Oct 01, 2010 at 08:45:34AM +0200, Andreas Tille wrote:
 On Thu, Sep 30, 2010 at 06:13:45PM -0500, Raphael Geissert wrote:
   I *think*, if Raphael hadn't stepped up first and saved you the bother,
   you could probably get this information out of UDD.
  
  AFAIK (and supported by [1]) UDD doesn't even have the Contents of binary 
  packages.
 
 But in principle it does sound like a good idea to feed this information
 into UDD.  What do you think about keeping content of binary and source
 packages inside UDD?

With content I mean file names (not the content of the files).

Kind regards

  Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101001065138.gb16...@an3as.eu



Re: Keeping content of binary and source packages in UDD (Was: Search for a file in all Debian source packages)

2010-10-01 Thread Paul Wise
On Fri, Oct 1, 2010 at 2:45 PM, Andreas Tille andr...@an3as.eu wrote:

 But in principle it does sound like a good idea to feed this information
 into UDD.  What do you think about keeping content of binary and source
 packages inside UDD?

Sounds very good to me.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimj2rzpz-m2pqxqvai21dwnwocxiznkozrc7...@mail.gmail.com



Search for a file in all Debian source packages

2010-09-30 Thread Michael Hanke
Hi,

I want to determine in what Debian _source_ packages a file with a
particular name exists. There used to be a webservice that had all?
source packages indexed and allowed for this type of query, but I cannot
remember what it was -- maybe it doesn't exist anymore.

Is there any way to accomplish this, without having to create a
complete mirror of the archive and parse all tarballs?

Thanks in advance,

Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100930183103.ga28...@meiner



Re: Search for a file in all Debian source packages

2010-09-30 Thread Benjamin Drung
Am Donnerstag, den 30.09.2010, 14:31 -0400 schrieb Michael Hanke:
 Hi,
 
 I want to determine in what Debian _source_ packages a file with a
 particular name exists. There used to be a webservice that had all?
 source packages indexed and allowed for this type of query, but I cannot
 remember what it was -- maybe it doesn't exist anymore.

http://www.debian.org/distrib/packages

There you can search the contents of packages.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)


signature.asc
Description: This is a digitally signed message part


Re: Search for a file in all Debian source packages

2010-09-30 Thread Michael Hanke
On Thu, Sep 30, 2010 at 08:33:54PM +0200, Benjamin Drung wrote:
 Am Donnerstag, den 30.09.2010, 14:31 -0400 schrieb Michael Hanke:
  Hi,
  
  I want to determine in what Debian _source_ packages a file with a
  particular name exists. There used to be a webservice that had all?
  source packages indexed and allowed for this type of query, but I cannot
  remember what it was -- maybe it doesn't exist anymore.
 
 http://www.debian.org/distrib/packages
 
 There you can search the contents of packages.

_Binary_ packages. This is not what I was looking for.

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100930183800.ga28...@meiner



Re: Search for a file in all Debian source packages

2010-09-30 Thread James Vega
On Thu, Sep 30, 2010 at 2:31 PM, Michael Hanke michael.ha...@gmail.com wrote:
 I want to determine in what Debian _source_ packages a file with a
 particular name exists. There used to be a webservice that had all?
 source packages indexed and allowed for this type of query, but I cannot
 remember what it was -- maybe it doesn't exist anymore.

This used to be available as source.debian.net.  According to the
wiki[0], there appears to be work starting on a replacement.

[0]: http://wiki.debian.org/source.debian.org
-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@debian.org


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikpexe2zzlo=x1joj-mdrxgx6w8sxhcmpgoe...@mail.gmail.com



Re: Search for a file in all Debian source packages

2010-09-30 Thread Raphael Geissert
Michael Hanke wrote:
 Is there any way to accomplish this, without having to create a
 complete mirror of the archive and parse all tarballs?

As of a few minutes ago:
http://lintian.debian.org/~geissert/Contents-sources.gz

(for the time being, to be updated every four days.)


Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i82nve$c0...@dough.gmane.org



Re: Search for a file in all Debian source packages

2010-09-30 Thread Michael Hanke
On Thu, Sep 30, 2010 at 02:21:45PM -0500, Raphael Geissert wrote:
 Michael Hanke wrote:
  Is there any way to accomplish this, without having to create a
  complete mirror of the archive and parse all tarballs?
 
 As of a few minutes ago:
 http://lintian.debian.org/~geissert/Contents-sources.gz

Thank you Raphael!


Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100930200547.gb3...@meiner



Re: Search for a file in all Debian source packages

2010-09-30 Thread Benjamin Drung
Am Donnerstag, den 30.09.2010, 14:38 -0400 schrieb Michael Hanke:
 On Thu, Sep 30, 2010 at 08:33:54PM +0200, Benjamin Drung wrote:
  Am Donnerstag, den 30.09.2010, 14:31 -0400 schrieb Michael Hanke:
   Hi,
   
   I want to determine in what Debian _source_ packages a file with a
   particular name exists. There used to be a webservice that had all?
   source packages indexed and allowed for this type of query, but I cannot
   remember what it was -- maybe it doesn't exist anymore.
  
  http://www.debian.org/distrib/packages
  
  There you can search the contents of packages.
 
 _Binary_ packages. This is not what I was looking for.

Oops. IIRC there was a website where you can search the source code, but
this website took the code directly from upstream. So this might not fit
your needs.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)


signature.asc
Description: This is a digitally signed message part


Re: Search for a file in all Debian source packages

2010-09-30 Thread Jon Dowland
I *think*, if Raphael hadn't stepped up first and saved you the bother, you
could probably get this information out of UDD.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100930211049.ga1...@deckard.alcopop.org



Re: Search for a file in all Debian source packages

2010-09-30 Thread Raphael Geissert
Jon Dowland wrote:

 I *think*, if Raphael hadn't stepped up first and saved you the bother,
 you could probably get this information out of UDD.

AFAIK (and supported by [1]) UDD doesn't even have the Contents of binary 
packages.

The only other alternative (but there's no guarantee that all the source 
packages in Debian are indexed there) is Google's codesearch[2] - and it may 
not be the right solution either.

[1]http://udd.debian.org/schema/udd.html
[2]http://google.com/codesearch

-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/i835if$62...@dough.gmane.org