Arch Linux Forums

Discussion forums for Arch Linux, a simple, lightweight linux distribution.

You are not logged in.

#1 2009-03-19 11:44:14

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

reposearch: a tool for finding binary repos

Info page: http://xyne.archlinux.ca/info/reposearch

After following this thread I got the idea to create a database for third-party binary repositories. I started by grabbing all of the binary repos listed on the Unofficial User Repositories wiki page.

The current repo list can be found at http://xyne.archlinux.ca/interface/reposearch.php

I then wrote a simple php page to handle queries and then reposearch to query the list from the command line. See the info page to learn about search options.


Example output:

Code:

$reposearch -s xyne
##### any #####
[xyne-any]
# The home of Powerpill and Xyne's other contributions.
# More info including a package list can be found at http://xyne.archlinux.ca/repositories
Server = http://xyne.archlinux.ca/repos/any/

$reposearch -s game
##### x86_64 #####
[arch-games]
# The Arch Linux Gaming repository project
Server = http://twilightlair.net/files/arch/games/x86_64
Server = http://arch-games.iskrembilen.com/x86_64
Server = http://arch-games.ontheplayground.co.uk/x86_64

$reposearch -s game -a all
##### i686 #####
[arch-games]
# The Arch Linux Gaming repository project
Server = http://twilightlair.net/files/arch/games/i686
Server = http://arch-games.iskrembilen.com/i686
Server = http://arch-games.ontheplayground.co.uk/i686

##### i686 #####
[esclinux]
# Mostly games, interactive fiction and abc notation stuffs already on AUR
Server = http://download.tuxfamily.org/esclinuxcd/ressources/repo/i686/

##### x86_64 #####
[arch-games]
# The Arch Linux Gaming repository project
Server = http://twilightlair.net/files/arch/games/x86_64
Server = http://arch-games.iskrembilen.com/x86_64
Server = http://arch-games.ontheplayground.co.uk/x86_64

Hopefully the usefulness of this tool will grow with the number or repos.

Aside from the usual questions and feedback, I would really appreciate it if you could post repo information in this thread so that I can keep the list up-to-date and comprehensive. Both modification of current repo data and the addition of new repos are welcome. Please post info in the following form to make it easier for me:

Code:

##### <architecture> #####
[<repo>]
# descriptions and other information
# multiple lines if necessary
Server = http://www.example.com/repo/
Server = http://www.anotherexample.com/mirror/repo/

WARNING!
As mentioned in the help message, you use the third-party repos that you find through repo-search entirely at  your own risk. Don't install packages from repos that you don't trust. They can contain malware and other creatively wicked things.


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#2 2009-03-19 11:50:01

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1149
Website

Re: reposearch: a tool for finding binary repos

You owe me 5 dollars.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net - my configs and other random stuff.

Offline

 

#3 2009-03-19 11:55:46

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1242
Website

Re: reposearch: a tool for finding binary repos

Great idea! Xyne, you are a champ! Where do you come up with all these ideas tongue
People can trust my repo, right.....


Archi686 User | Screenshots | Last.FM | .Configs | RFAD Repository | Twitter!
Vi veri universum vivus vici.

Offline

 

#4 2009-03-19 12:21:53

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

rson451 wrote:

You owe me 5 dollars.

http://bbs.archlinux.org/viewtopic.php? … 17#p518617
I helped you, so you owe me 50% of whatever you pulled in (don't worry, we can haggle a bit).

Anyway, your words were "5 dollars says Xyne does this in the next 2 days", not "...says you do...", so I'm in the clear either way.


@haxit
thanks

Hopefully this will catch on and people will start submitting repos in this thread (and on the wiki).


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#5 2009-03-19 12:51:01

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1149
Website

Re: reposearch: a tool for finding binary repos

That "you" was a collective "you" directed at whoever read the thread smile  Good work sir.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net - my configs and other random stuff.

Offline

 

#6 2009-03-19 16:44:24

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 201
Website

Re: reposearch: a tool for finding binary repos

Progress bar during searching should be great.

Offline

 

#7 2009-03-20 07:22:29

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

I'm not really sure how useful the progress bar is considering that the data sent and received is nearly negligible. Most of the time taken is by the server processing the request and there's no reasonable way to have the server report on its own progress during that time. It really shouldn't be taking much time at all btw.

Still, I've added both "-p" and "-#" options to use curls progress output (along with "--curl-args" for additional curl arguments).

Last edited by Xyne (2009-03-20 08:12:02)


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#8 2009-03-20 07:48:30

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 232

Re: reposearch: a tool for finding binary repos

I am just wondering.. with so many applications created by Xyne for Archlinux. Isn't he a Arch developer or TU?

Offline

 

#9 2009-03-20 08:13:13

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

archlinuxsagi wrote:

I am just wondering.. with so many applications created by Xyne for Archlinux. Isn't he a Arch developer or TU?

hehe, I'd just sent in a TU application before reading this post tongue


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#10 2009-03-20 09:04:44

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 201
Website

Re: reposearch: a tool for finding binary repos

Does reposearch have some configs? Where?

Offline

 

#11 2009-03-20 09:09:27

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

Code:

reposearch -h

powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#12 2009-03-20 10:16:31

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 201
Website

Re: reposearch: a tool for finding binary repos

Xyne wrote:

I'm not really sure how useful the progress bar is considering that the data sent and received is nearly negligible. Most of the time taken is by the server processing the request and there's no reasonable way to have the server report on its own progress during that time. It really shouldn't be taking much time at all btw.

Still, I've added both "-p" and "-#" options to use curls progress output (along with "--curl-args" for additional curl arguments).

I thought someting like: "Checking 1/20 repository"

Offline

 

#13 2009-03-20 18:07:12

Army
Member
From: Germany
Registered: 2007-12-07
Posts: 536
Website

Re: reposearch: a tool for finding binary repos

I vote for Xyne to become a TU and later dev (in case you want to)! I have your complete repo installed on my computer and many of them (about half or so) are really helpful for me, the rest is about to become helpful wink


Music: http://www.UnsTucC.de http://myspace.com/UnsTucC http://www.garageband.com/artist/UnsTucC http://www.lastfm.de/music/UnsTucC
Laptop: 1700MHz Pentium M, 512MB RAM, ATI Technologies Radeon 9600 M10, Intel Corporation AC'97 Audio Controller, Intel Corporation PRO/Wireless 2200BG Network Connection

Offline

 

#14 2009-03-20 18:30:13

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

cinan wrote:

I thought someting like: "Checking 1/20 repository"

Maybe the OP is unclear. The package "reposearch" doesn't actually contain the repo list. The repo list is on my site and reposearch sends queries to the site to get a subset of the list. There is no way to intermittently report progress due to the way that apache and php work.

How long are your searches taking? What search patterns are you using? Queries should be really fast.

Army wrote:

I vote for Xyne to become a TU and later dev (in case you want to)! I have your complete repo installed on my computer and many of them (about half or so) are really helpful for me, the rest is about to become helpful wink

big_smile

I'd definitely like to become a dev, but until I learn a "serious" programming language such as C or C++, I don't think I can.  I appreciate your support though. smile
I'll learn them eventually, but Haskell is next on my list so it may take a while.


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

#15 2009-03-21 08:46:23

Dieter@be
Release Engineer
From: Belgium
Registered: 2006-11-05
Posts: 1265
Website

Re: reposearch: a tool for finding binary repos

taurball? what's wrong with the word "source tarball" ?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

 

#16 2009-03-21 11:25:39

Daenyth
Trusted User (TU)
From: Boston, MA
Registered: 2008-02-24
Posts: 883

Re: reposearch: a tool for finding binary repos

I for one welcome our new taurball overlords

Offline

 

#17 2009-03-21 11:30:31

Dusty
Schwag Merchant
From: Shaunavon/Saskatchewan/Canada
Registered: 2004-01-17
Posts: 5870
Website

Re: reposearch: a tool for finding binary repos

Is this why you needed that database?

Dusty

Offline

 

#18 2009-03-21 12:41:59

Xyne
Trusted User (TU)
Registered: 2008-08-03
Posts: 2517
Website

Re: reposearch: a tool for finding binary repos

Dieter@be wrote:

taurball? what's wrong with the word "source tarball" ?

Why say "a melted chocolate, toasted marshmallow and graham cracker sandwich" when you can say "smore"?
A tarball that you upload to the AUR = taurball... you instantly understand that the speaker means a PKGBUILD and local source files. wink

Dusty wrote:

Is this why you needed that database?
Dusty

Yep... although I haven't used it yet. I decided that configuring MySQL without shell access (i.e. write php -> upload -> run -> check -> repeat) was too much of a bitch and that a flat file would do for now considering the size.

I'll get around to converting it later (I'm working on a complete refactoring of powerpill right now).

Last edited by Xyne (2009-03-21 12:57:48)


powerpill... pacman on speed | My Arch Linux Stuff | makesig
==> ERROR: A signature has already been submitted. (use -f to overwrite)

Online

 

Board footer

Powered by FluxBB