You are not logged in.

#1 2010-09-01 09:40:33

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Search AUR when offline [Solved]

Hey guys, is there a way to search for packages in the AUR db,
when not connected to the net.

As can be done by the other repositories.

Last edited by x33a (2010-09-03 02:03:07)

Offline

#2 2010-09-01 09:57:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Search AUR when offline [Solved]

No. The AUR is not a package repository like the others - it is a PKGBUILD repository.

See the wiki for more details.

Offline

#3 2010-09-02 01:04:43

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Search AUR when offline [Solved]

Thanks.

Is there a way to maintain an offline cache of the PKGBUILDs though?

Offline

#4 2010-09-02 01:18:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Search AUR when offline [Solved]

x33a wrote:

Thanks.

Is there a way to maintain an offline cache of the PKGBUILDs though?

I don't know of any official way. What do you need almost 25k PKGBUILDs for?

Offline

#5 2010-09-02 02:07:03

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Search AUR when offline [Solved]

x33a wrote:

Is there a way to maintain an offline cache of the PKGBUILDs though?

There wouldn't be much point... Without being online, you wouldn't be able to download the source to be able to build the packages.

Offline

#6 2010-09-02 02:11:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Search AUR when offline [Solved]

fukawi2 wrote:
x33a wrote:

Is there a way to maintain an offline cache of the PKGBUILDs though?

There wouldn't be much point... Without being online, you wouldn't be able to download the source to be able to build the packages.

How can you make the list of available AUR packages without killing the server?

Offline

#7 2010-09-02 04:19:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Search AUR when offline [Solved]

karol wrote:

How can you make the list of available AUR packages without killing the server?

Dump to a file accessible via HTTP/FTP each hour/day:

SELECT Name, Version, Description, URL, License
FROM Packages
ORDER BY Name;

http://projects.archlinux.org/aur.git/t … schema.sql

Last edited by fukawi2 (2010-09-02 04:20:22)

Offline

#8 2010-09-03 02:02:34

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Search AUR when offline [Solved]

karol wrote:

I don't know of any official way. What do you need almost 25k PKGBUILDs for?

Well, i don't need the PKGBUILDs, rather a way to search through the available packages smile

So, i guess there is no other way to search aur, than to be online.

Thanks people.

Offline

#9 2010-09-03 02:19:21

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Search AUR when offline [Solved]

x33a wrote:
karol wrote:

I don't know of any official way. What do you need almost 25k PKGBUILDs for?

Well, i don't need the PKGBUILDs, rather a way to search through the available packages smile

So, i guess there is no other way to search aur, than to be online.

Thanks people.

Of course there's no way to search for packages when the AUR is offline. It's offline, not much you can do.

You could create a cron job though. Have some sort of program or shell script parse output from an AUR helper that allows searching (aur-search, clyde, and bauerbill are nice, there are definitely more) and place that in a text file. Just set that cron job to a certain interval (depending on your needs) and then just work from there. wink

Offline

#10 2010-09-03 03:29:59

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Search AUR when offline [Solved]

itsbrad212 wrote:
x33a wrote:
karol wrote:

I don't know of any official way. What do you need almost 25k PKGBUILDs for?

Well, i don't need the PKGBUILDs, rather a way to search through the available packages smile

So, i guess there is no other way to search aur, than to be online.

Thanks people.

Of course there's no way to search for packages when the AUR is offline. It's offline, not much you can do.

You could create a cron job though. Have some sort of program or shell script parse output from an AUR helper that allows searching (aur-search, clyde, and bauerbill are nice, there are definitely more) and place that in a text file. Just set that cron job to a certain interval (depending on your needs) and then just work from there. wink

Yeah, and increase the load to the server while you're at it smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#11 2010-09-03 04:14:48

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Search AUR when offline [Solved]

ngoonee wrote:
itsbrad212 wrote:
x33a wrote:

Well, i don't need the PKGBUILDs, rather a way to search through the available packages smile

So, i guess there is no other way to search aur, than to be online.

Thanks people.

Of course there's no way to search for packages when the AUR is offline. It's offline, not much you can do.

You could create a cron job though. Have some sort of program or shell script parse output from an AUR helper that allows searching (aur-search, clyde, and bauerbill are nice, there are definitely more) and place that in a text file. Just set that cron job to a certain interval (depending on your needs) and then just work from there. wink

Yeah, and increase the load to the server while you're at it smile.

I guess I left out the whole "use an appropriate amount of time between queries" part. tongue

Offline

#12 2010-09-06 02:43:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Search AUR when offline [Solved]

Nah, i don't want to put unnecessary load on the servers. If the servers supported this concept, then it would be different case.

Though, brad's idea is theoretically good.

Thanks for the input guys.

Offline

#13 2011-03-23 15:03:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Search AUR when offline [Solved]

I know it's a pretty old thread but I think it will benefit from a follow-up: https://bbs.archlinux.org/viewtopic.php … 57#p867757

Offline

Board footer

Powered by FluxBB