You are not logged in.

#1 2006-04-08 04:48:40

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

[IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

I know I'm going to get flac for this but here goes...
Pry is a replacement for Pacman written in Ruby.
I'll let the marketing-speak tell the rest: http://pry.rubyforge.org/

--Jesse (FlashHater on IRC)


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

#2 2006-04-08 05:40:36

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Learn Ruby. Pry is mainly a tool for me to dive in to Ruby

Currently I am doing same by learning Ruby+Glade by developing a GUI package information application for Pacman. Got the idea from Ubuntu's gnome-apps-installer (Python+Glade).

In general its no different from the other GUI pacman developed by others. I want to include an additional application category, detailed description and mini screenshot for each package, similar information as in freshmeat.net


Markku

Offline

#3 2006-05-07 05:34:08

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

cool. I will have to snag the code and take a look mindtrigger.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2006-05-07 07:12:39

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Thank goodness someone has looked at it.
I have implemented basic search and regex search and database serialization, and it's up to 60x faster at searching than pacman


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

#5 2006-05-07 11:42:50

Riklaunim
Member
Registered: 2005-04-09
Posts: 106
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

my ideas:
- support for mirrors: like I enter 5 urls to extra repo -> pry would fetch info from each of them and then made a list what package is where sorting urls for package by speed (average download speed od the repo info).
- search and download directories with pkgbuilds...

Offline

#6 2006-05-07 13:17:25

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

mindtriggerz wrote:

I know I'm going to get flac for this but here goes...
Pry is a replacement for Pacman written in Ruby.
I'll let the marketing-speak tell the rest: http://pry.rubyforge.org/

--Jesse (FlashHater on IRC)

I think this a fine idea. I had hoped that someone would do something similar in Python with Xerxes2's libpypac.

The advantage of using high level languages like Python and Ruby is that you can experiment a lot more rapidly with different ways of achieving the same goal, like package searching, or trying to integrate a DB backend rather than the zillion flat file approach.

I may have to jump aboard on this project as a way of getting in to Ruby.

Offline

#7 2006-05-07 13:52:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

/me enters the room


Mr Green

Offline

#8 2006-05-07 14:40:02

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

60x faster?! Email Judd. Now. big_smile

Offline

#9 2006-05-07 16:08:31

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

I downloaded it as well and will be looking through it later this week.  Looks interesting so far!

Offline

#10 2006-05-07 19:17:56

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Ok, my 60x faster is based on using a precompiled serialized database versus Pacman's flatfile DB. As I've said: Pry doesn't yet do package installation (or even touches the pacman database), mainly because I'm afraid I might FUBAR my pacman db.
And to cactus and anyone else looking at my bad comments and/or lack of documentation: Yeah, I know, I'm sorry
If anyone has the urge to make a patch or wants to get SVN access, feel free to email me at Jesse [at] mindtriggerz [dot] net or talk to me on IRC (FlashHater)
^-^
--Jesse


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

#11 2006-05-07 19:22:06

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

mindtriggerz wrote:

And to cactus and anyone else looking at my bad comments and/or lack of documentation: Yeah, I know, I'm sorry

oh snap!
wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#12 2006-05-07 19:23:19

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

mindtriggerz wrote:

Ok, my 60x faster is based on using a precompiled serialized database versus Pacman's flatfile DB. As I've said: Pry doesn't yet do package installation (or even touches the pacman database), mainly because I'm afraid I might FUBAR my pacman db.
And to cactus and anyone else looking at my bad comments and/or lack of documentation: Yeah, I know, I'm sorry
If anyone has the urge to make a patch or wants to get SVN access, feel free to email me at Jesse [at] mindtriggerz [dot] net or talk to me on IRC (FlashHater)
^-^
--Jesse

Jesse,

I think that a good idea would be to draw up a TODO list for all the necessary features to get a fully-functioning pacman replacement. Then, contributors can take a look at the list and assign tasks to themselves that they are interested in.

Offline

#13 2006-05-07 19:24:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Ya know, it probably isn't worth duplicating the pacman 2.X series, as pacman 3 is on the horizons.  You should probably check out cvs for that.

Offline

#14 2006-05-07 19:32:12

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

arooaroo wrote:
mindtriggerz wrote:

Ok, my 60x faster is based on using a precompiled serialized database versus Pacman's flatfile DB. As I've said: Pry doesn't yet do package installation (or even touches the pacman database), mainly because I'm afraid I might FUBAR my pacman db.
And to cactus and anyone else looking at my bad comments and/or lack of documentation: Yeah, I know, I'm sorry
If anyone has the urge to make a patch or wants to get SVN access, feel free to email me at Jesse [at] mindtriggerz [dot] net or talk to me on IRC (FlashHater)
^-^
--Jesse

Jesse,

I think that a good idea would be to draw up a TODO list for all the necessary features to get a fully-functioning pacman replacement. Then, contributors can take a look at the list and assign tasks to themselves that they are interested in.

I kinda already have one on the development status page
I might go and set up a page on the UCB wiki.
EDIT: Looks like you can't get write access to the UCB wiki without permission. RubyForge has a wiki, so http://pry.rubyforge.org/wiki/wiki.pl


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

#15 2006-05-08 21:19:49

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Wiki is updated! And I have divided up the major steps for development to get package installation working.


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

#16 2006-05-08 21:22:06

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

Nice one. I'm tempted, although I need to start reading up on Ruby.

Offline

#17 2006-05-09 10:43:09

mindtriggerz
Member
Registered: 2004-07-06
Posts: 31

Re: [IN DEVELOPMENT] Pry - A Pacman Replacement/Substitute

I recomend you browse through the online version of Programming Ruby to get a feel for the language and then read _why's poignant guide to ruby
Warning: why's guide just might break your brain. beware of cartoon foxes and chunky bacon.


[img]http://www.d-destroy.de/userbars/windowsserver.png[/img]
[Pry Developer][FlashHater]

Offline

Board footer

Powered by FluxBB