You are not logged in.

#1 2005-03-28 14:15:49

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Lazy-Pac

This is a reimplementation of Pacman that should be 100% compatible with the "real" Pacman,
there are tons of features in it so even if you don't want to use it for install/remove stuff you can use it for searching and reading PKGBUILDs and downloading both binaries and sources,
the building library is lagging behind in development and does not do all things that makepkg does,
screenshot PKGBUILDs


arch + gentoo + initng + python = enlisy

Offline

#2 2005-03-28 14:28:44

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: Lazy-Pac

what's the reason one should have using this version?

do you know rasat and user-contributions?


The impossible missions are the only ones which succeed.

Offline

#3 2005-03-28 14:59:36

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

use it for learning more about your arch box, or you can write your own frontend based on the libraries,

all serious archers should write their own pacman frontend and in Python it's pretty easy to do it, it's easier than C,


arch + gentoo + initng + python = enlisy

Offline

#4 2005-03-28 16:41:36

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: Lazy-Pac

nice work man smile

Offline

#5 2005-03-28 18:31:21

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Lazy-Pac

So you have to use python? Not interested.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#6 2005-03-28 19:18:31

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

don't like python?
it's slower than C if that's what you mean so it shouldn't be used for stuff that needs serious cpu power but for a package manager it's fast enough,

it's also fewer lines of code to write, these three programs I posted are less than 3000 lines and if it were C it should be way more than that, probably twice as much code,


arch + gentoo + initng + python = enlisy

Offline

#7 2005-03-28 20:57:50

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Lazy-Pac

Xerxes, good job brother.  I knew you were up to something.

I've been a perl nutcase for at least the better part of my *NIX life, but python is really sweet and I've just started learning it.  I started a gtk2-perl pacman frontend awhile back and lost it all when my drive crashed.  Another good reason why I'm glad you used python: I downloaded the RedHat anaconda installer a while back.  It's all in python as well.  I see a beautiful 'marriage' on the horizon for Arch.  Python is really easy and maintainable.

If I ever get some time, maybe we (and other Archers) can colloborate some of our efforts together.  Xerxes, if you're interested, check this out.  I was tyring to implement the perl module as part of my frontend to generate a dependency tree.  They have a python module if you're interested.

Anyway, job well done my swedish friend.  I knew you've been up to something over the past month.

Malmoe (Skåne)  - 4
Stockholm - 2

muahahahaha...

Comeon Oscar, where you at brother?  Damn I love my Swedish brothers...

Offline

#8 2005-03-28 21:17:57

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

Stockhom has no chance against Skåne, it would be like the yankees would beat the the texans, ok it happened once maybe(in the 19' cent.)...

I don't know anything about Perl because Python is my first language I ever used, I think it was Dusty that said that it was good to me but what I read on the net Python could be a little easier/better/powerful than Perl,

and that graphviz looked pretty cool, could be something to try out,

if you don't like the colours in the frontend you can change them in the file /usr/share/lazy-pac/rc

Edit: There are no comments in the libs so it probably won't make any sense, but you can look at the source for lazy-pac and see how it can be done if you want to code your own frontend(cli or gui),
it's way more fun to learn Python by making a real program than just reading docs,


arch + gentoo + initng + python = enlisy

Offline

#9 2005-03-28 21:32:40

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Lazy-Pac

xerxes2 wrote:

Python is my first language I ever used, I think it was Dusty that said that it was good to me

Would I do that? 8)

I like Python... but I don't like coding in it. Its really weird.

Edit: There are no comments in the libs so it probably won't make any sense,

Python programs don't need many comments because the language is practically self-documenting. smile

Offline

#10 2005-03-28 21:39:28

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

Re: Lazy-Pac

Dusty wrote:

Python programs don't need many comments because the language is practically self-documenting. smile

and *technically* self documenting, if you use doc strings

I think the integrated documentation is one of the most ingenious things about python - sure there's javadoc and things like that, but with python it's integrated in the language (MS.NET C# does something similar, but it only outputs xml and forces you to document every public member/method)

Offline

#11 2005-03-28 22:00:18

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

Dusty wrote:

Would I do that? 8)
I like Python... but I don't like coding in it. Its really weird.

yes it was you Dusty and if I remember correctly it was Xentac that tipped(is that an english word?) you about it,
and for liking Python, well some people think that whitespaces are annoying and sometimes they are, when you have to change in your code,

phrakture wrote:

and *technically* self documenting, if you use doc strings

I always forget to use those,  sad
in any case you have to find the functions also so there should be some form of documentation anyway,


arch + gentoo + initng + python = enlisy

Offline

#12 2005-03-28 22:06:55

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

Re: Lazy-Pac

I use doxygen.
and...
ruby!


"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

#13 2005-03-28 22:53:49

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

Re: Lazy-Pac

xerxes2 wrote:

in any case you have to find the functions also so there should be some form of documentation anyway,

$ python
>>> import mymodule
>>> dir(mymodule)

wink

Offline

#14 2005-03-28 22:56:54

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#15 2005-03-28 22:58:32

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

Re: Lazy-Pac

drats! Dusty 1-upped me

Offline

#16 2005-03-28 23:08:37

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Lazy-Pac

cactus wrote:

I use doxygen.
and...
ruby!

Ruby! big_smile


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#17 2005-03-28 23:26:40

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

phrakture wrote:
xerxes2 wrote:

in any case you have to find the functions also so there should be some form of documentation anyway,

$ python
>>> import mymodule
>>> dir(mymodule)

wink

hey, that actually makes sense phrakture, also for myself because it's impossible to remember the code even if you wrote it yourself,

miqorz wrote:

Ruby! Very Happy

I've coded a little Ruby but I went back to Python because there is tons of docs and libs for it, ruby is nice but it will lag behind Python for a few more years atleast,


arch + gentoo + initng + python = enlisy

Offline

#18 2005-03-29 03:04:13

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Lazy-Pac

Maybe in your eyes.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#19 2005-03-29 03:33:59

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Lazy-Pac

miqorz wrote:

Maybe in your eyes.

Are you saying he doesn't have a right to his opinion?

Offline

#20 2005-03-29 05:13:14

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

Re: Lazy-Pac

dp wrote:

what's the reason one should have using this version?
do you know rasat and user-contributions?

Take a look:
http://user-contributions.org/forums/us … m.php?f=19

Offline

#21 2005-03-29 06:32:20

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Lazy-Pac

haha.  Man, that's some funky cold medina.  I checked out the links to Kpacman and Archibald.  Both are dead links.  I couldn't even pull up a 'screenie'.  There doesn't seem to be much support for either of them at present.  Hell, I didn't even know they existed to be honest.  I wonder what the 'shelf life' of yours will be Xerxes?

A GUI Pacman frontend has the same effect around here as spreading bear piss all over your lawn to drive away the deer.  I guess all the 'deer' here prefer the CLI forrest.  I don't get it.  Personally, I like the smell of 'bear piss'.

I for one welcome my Swedish overlords.  I pay homage to my feudal lord Oscar, but Xerxes is my King.  Xerxes, as soon as I get some Python experience under my belt, I hope to help if I can or work alongside yours in another unrelated project.  I have several planned but never seem to be able to finish one of them.  If it ain't time, it's buggy microcode in Maxtor drives.  Either way, I salute you in your determination to finish your projects and hope to use your code as a python tutorial.  Thank you sire, thank you.  Hail Xerxes!

Offline

#22 2005-03-29 09:25:07

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Lazy-Pac

Syncing doesn't work for me. I did a Sync from the lazy-pac menu and current, extra, and testing all failed. My extra repositories worked and so did unstable. I thought it was a bit weird, so I did a 'pacman -Sy' from the console and it resynced all the repositories, even though 3/6 should have been fine.

Looks like some bug hunting is in order.


·¬»· i am shadowhand, powered by webfaction

Offline

#23 2005-03-29 12:21:06

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Lazy-Pac

I've added support for http on the binary side, maybe that's what screwed up for you,

and for checking if the mirrors have been updated since last sync,
I don't know how that works so it isn't in the code yet,


arch + gentoo + initng + python = enlisy

Offline

#24 2005-03-29 13:50:11

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Lazy-Pac

Dusty wrote:
miqorz wrote:

Maybe in your eyes.

Are you saying he doesn't have a right to his opinion?

No, I'm saying that's all he said. Was an opinion. Not a fact.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#25 2005-04-03 11:48:28

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Lazy-Pac

Anyone got a screenie of this? I probably won't use it but I'd be interested to see what the UI looks like..

Offline

Board footer

Powered by FluxBB