You are not logged in.

#1 2011-03-26 20:41:48

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

repo-add -f function - about the included "files" list

Does somebody know how (with which tool) the -f (files) list addition can be parsed ?

Till now I knew about the files.tar.gz tarball on the repos was being used by pkgfile. The new list, generated by repo-add -f from which tool is it used ?

Last edited by flamelab (2011-03-26 20:42:12)

Offline

#2 2011-03-26 20:48:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: repo-add -f function - about the included "files" list

nothing yet as far as I know.

Offline

#3 2011-03-26 21:02:28

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: repo-add -f function - about the included "files" list

So it's just there so that it would be used by pacman related tools in the future (like pkgfile) ?

Offline

#4 2011-03-27 02:41:50

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: repo-add -f function - about the included "files" list

I think it will be useful to find which package provides a library, for package currently NOT installed in the system which means

sudo pacman -Qo /usr/lib/****

will not work. Currently we need to use pkgfile to get that info, like in https://bbs.archlinux.org/viewtopic.php … 34#p907934 .


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#5 2011-03-27 05:52:50

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: repo-add -f function - about the included "files" list

I doubt the database containing the filelist will become the default distributed by Arch as it is about 10x larger...

Offline

#6 2011-03-27 06:12:29

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: repo-add -f function - about the included "files" list

Allan wrote:

I doubt the database containing the filelist will become the default distributed by Arch as it is about 10x larger...

How about using repo.db.tar.xz instead of gz? - to compensate for 10x increase in database file size.


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#7 2011-03-27 06:19:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: repo-add -f function - about the included "files" list

We can...   but it will require waiting for everyone to get to pacman-3.5 (which looks for a file <repo>.db so the extension does not matter).   The at least requires new official install media released and probably a 6 month to a year wait.

Also, the size savings with .xz nowhere near compensate for the 10X increase.

Offline

#8 2011-03-28 00:49:47

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: repo-add -f function - about the included "files" list

Allan wrote:

Also, the size savings with .xz nowhere near compensate for the 10X increase.

And the speed loss makes the switch not worth it.

Offline

Board footer

Powered by FluxBB