You are not logged in.

#51 2010-01-09 19:49:13

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

flowheat wrote:

I might be doing something wrong but for some reason bauerbill isn't seeing the necessary updates.

Confirmed :

[20:47 root /home/faelar] pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 xyne-any is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): perl-xyne-arch-1.0.19-1  

Total Download Size:    0.07 MB
Total Installed Size:   0.25 MB

Proceed with installation? [Y/n] n
[20:47 root /home/faelar] bauerbill -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 xyne-any is up to date
 community is up to date

Offline

#52 2010-01-09 19:50:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Xyne wrote:

@flowheat
That's definitely an error. I'll fix that now.

@skottish
I think it would make more sense to show that too (the code is there, commented out) but for some reason the Pacman devs decided that "-Qu" should only show the local version (ask them why).
I'll add an option to show the upgrade version, maybe as "$pkgname $local_ver -> $sync_ver".

You're one of the good ones Xyne.

Offline

#53 2010-01-09 20:34:56

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,668
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Ok. I've fixed the  "-Syu" bug. It was because I wasn't returning from Pacman when updating the database. I had missed that myself because I've already added "Rebase" to my config.

@skottish
smile

*edit*
The output of "-Qu" now appends " -> <new ver>" to each line.

Last edited by Xyne (2010-01-09 21:06:44)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#54 2010-01-10 01:10:28

flowheat
Member
From: Pittsburgh, PA
Registered: 2008-09-23
Posts: 94

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I can confirm the -Syu bug is fixed.

You're the best Xyne.  Thanks again for the amazing contribution.  I'm sure I'm just one of many who will be doing...

┌─[kurt@arch:~]-[15:08:55]
└─> sudo bauerbill -Rsn yaourt
checking dependencies...

Remove (1): yaourt-0.9.2.6-1

Total Removed Size:   0.32 MB

Do you want to remove these packages? [Y/n] y
(1/1) removing yaourt                               [#########################################################] 100%

Offline

#55 2010-01-10 02:26:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Hi, it's me again.

Xyne, you've really outdone yourself on this one. It's provide me with a couple of tools that I've wanted for a while.  Excellent work and thank you.

Offline

#56 2010-01-10 03:33:37

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,668
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

skottish wrote:

Hi, it's me again.

Xyne, you've really outdone yourself on this one. It's provide me with a couple of tools that I've wanted for a while.  Excellent work and thank you.

Do you mean the frontend or are you actually using some of the backend code?  Sometimes I think I should make more of an effort to spread awareness of the code itself as I'm sure it could be used to create loads of interesting apps. At the same time I don't really want to have to worry about backwards compatibility. tongue

In either case, thanks for the feedback. It really is nice to see something appreciated.


Btw, if you were referring to the backend, perhaps this will interest you: http://bbs.archlinux.org/viewtopic.php?id=88434


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#57 2010-01-10 03:53:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

The front end. I haven't even looked at the code. I've got my head swimming in trying to get this system to (more or less) where I want it so that I can spend my energy with the projects that I've been thinking about.

I do have a question for you and unfortunately I didn't save the output. The last time that I -Suy'd, the output mentioned quickserve. I don't have quickserve installed. It did have upgrade information if that helps. How come?

Offline

#58 2010-01-10 04:03:47

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,668
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Haha, that confused the fsck out of me for a minute. I was just doing a bit of work on quickserve and uploaded a few versions and was worried that I might have somehow mixed something up (no idea how that would even be possible, but I couldn't think of anything). What was even more confusing is that quickserve is written in Python and completely unrelated to bauerbill... then I realized what happened.

You're using the Rebase option and it listed the new packages in the xyne-any repo. The rebase output contains information about packages which have been added, removed and upgraded since the last database update.

Try this to see what I mean: "bauerbill -Sy -b <path to empty dir>"

Last edited by Xyne (2010-01-10 04:04:12)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#59 2010-01-10 04:08:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Xyne wrote:

Haha, that confused the fsck out of me for a minute. I was just doing a bit of work on quickserve and uploaded a few versions and was worried that I might have somehow mixed something up (no idea how that would even be possible, but I couldn't think of anything). What was even more confusing is that quickserve is written in Python and completely unrelated to bauerbill... then I realized what happened.

You're using the Rebase option and it listed the new packages in the xyne-any repo. The rebase output contains information about packages which have been added, removed and upgraded since the last database update.

Try this to see what I mean: "bauerbill -Sy -b <path to empty dir>"

Cool, that makes sense.

Offline

#60 2010-01-10 06:01:25

Troolari
Member
Registered: 2010-01-01
Posts: 23

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

This is awesome, just got rid of yaourt. pacman-color, however, doesn't seem to be working when using --aur.

Offline

#61 2010-01-10 06:10:10

Dead Code
Member
Registered: 2009-01-18
Posts: 227

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Wow.. amazed by the influx of so many aur helpers recently

Offline

#62 2010-01-10 06:50:36

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,668
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

@Troolari
If you mean that the output of "-Ss" and "-Si" isn't completely colorized, that's because pacman-color doesn't provide information from the AUR and I haven't added color to that output. I'm not sure how to handle that because I want to present as unified an interface as possible but I don't want to add extra checks to determine exactly which pacman application the user is running.

@Dead Code
Yep, there are heaps, although I do think this one is the most comprehensive of them (dependency handing, security, etc). I'm biased though. Admittedly some of them have a completely different focus. Bauerbill includes ABS support and is intended to be a full replacement for Yaourt, with additional features.

I'm not really sure why you decided to post your comment in this thread, but feel free to try the different helpers and share your experience.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#63 2010-01-10 07:03:29

Troolari
Member
Registered: 2010-01-01
Posts: 23

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Yeah, that's excactly what I meant, but it's nothing. Don't worry about things as trivial as colorization of output. Just wondered whether it's a problem with the pacman-color or the bauerbill.

Offline

#64 2010-01-10 07:20:14

Dead Code
Member
Registered: 2009-01-18
Posts: 227

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Xyne wrote:

I'm not really sure why you decided to post your comment in this thread, but feel free to try the different helpers and share your experience.

i am looking for a replacement for yaourt, weighing my options wink

i will be trying bauerbill tonight!

Offline

#65 2010-01-10 11:43:02

Dead Code
Member
Registered: 2009-01-18
Posts: 227

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

testing bauerbill. looks awesome! nice work!

Offline

#66 2010-01-10 11:54:52

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Nice program with many cool features.

The only thing I am missing is AND searches like tupac does them.
This makes it a lot faster finding packages.

Nonetheless, good work!

Offline

#67 2010-01-10 13:36:38

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Does bauerbill have AUR upgrading support (like `yaourt -Syu --aur`)?

If so, looks like I'll be using it. tongue

Offline

#68 2010-01-10 13:40:22

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

This looks like an interesting option to yaourt, especially since I already use powerpill... going to try it out later today.

Last edited by Zeist (2010-01-10 13:41:58)


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#69 2010-01-10 14:00:03

someothernick
Member
Registered: 2007-09-18
Posts: 5

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

Arm-the-Homeless wrote:

Does bauerbill have AUR upgrading support (like `yaourt -Syu --aur`)?

If so, looks like I'll be using it. tongue

┌─[ ~ ]
└─[ ron@BoX ]$ sudo bauerbill -Syu --aur --abs
:: Synchronizing package databases...
core is up to date
extra is up to date
xyne-any is up to date
community is up to date
--> Searching for upgradable repo packages...
--> Searching for upgradable AUR packages...
--> Loading AUR taurball data...
--> Loading ABS taurball data...
No unprivileged user specified with the "BuildAs" option
Please specify an unprivileged user for this operation: ron
--> Done


I like. big_smile

Offline

#70 2010-01-10 15:53:20

zowki
Member
From: Trapped in The Matrix
Registered: 2008-11-27
Posts: 582
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

someothernick wrote:
Arm-the-Homeless wrote:

Does bauerbill have AUR upgrading support (like `yaourt -Syu --aur`)?

If so, looks like I'll be using it. tongue

┌─[ ~ ]
└─[ ron@BoX ]$ sudo bauerbill -Syu --aur --abs
:: Synchronizing package databases...
core is up to date
extra is up to date
xyne-any is up to date
community is up to date
--> Searching for upgradable repo packages...
--> Searching for upgradable AUR packages...
--> Loading AUR taurball data...
--> Loading ABS taurball data...
No unprivileged user specified with the "BuildAs" option
Please specify an unprivileged user for this operation: ron
--> Done


I like. big_smile

I have now sold my soul to bauerbill


How's my programming? Call 1-800-DEV-NULL

Offline

#71 2010-01-10 18:20:45

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I just got an error from bauerbill

sudo bauerbill --aur -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 arch-games is up to date
 xyne-any is up to date
 archstuff is up to date
 archlinuxfr is up to date
--> Searching for upgradable repo packages...
--> Searching for upgradable AUR packages...
--> Loading AUR taurball data...
warning: about to source /tmp/bauerbill/build/AUR/nvidia-all/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  abort [x]  ok
--> an associated install file was found for nvidia-all: /tmp/bauerbill/build/AUR/nvidia-all/ARRAY(0x135b850)
error: /tmp/bauerbill/build/AUR/nvidia-all/ARRAY(0x135b850) does not exist

Offline

#72 2010-01-10 19:02:21

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

same here with virtualbox :

--> an associated install file was found for virtualbox_bin: /tmp/bauerbill/build/AUR/virtualbox_bin/ARRAY(0x1bf9808)
error: /tmp/bauerbill/build/AUR/virtualbox_bin/ARRAY(0x1bf9808) does not exist

I have some questions if you don't mind.
- How bauerbill choose servers ? One of the updates I got was downloading slooowly. Pacman use the french mirror and already download package pretty fast. I looked at bauerbill.conf but didn't see anything special.
- Can I change the output ? I found the downloading part quite messy...

Bauerbill is a great tool, I probably need to configure it better, but it is nice to see how quickly you correct the bugs and all. Thank you for your work Xyne.

Offline

#73 2010-01-10 19:02:31

thoughtcrime
Member
Registered: 2008-09-27
Posts: 156
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

I'm going to try bauerbill now, it sounds quite interesting (a faster yaourt, wheyy!)

Two suggestions:

Xyne wrote:

@Troolari
If you mean that the output of "-Ss" and "-Si" isn't completely colorized, that's because pacman-color doesn't provide information from the AUR and I haven't added color to that output. I'm not sure how to handle that because I want to present as unified an interface as possible but I don't want to add extra checks to determine exactly which pacman application the user is running.

How about colorizing both pacman and AUR output yourself (which would mean that one does not need to install pacman-color anymore)?

And because of that aria2c dependency issue, you *could* make aria2c an optional dependency and download everything with wget (or directly via perl somehow) if it is not installed.


EDIT: And yes, I was using yaourt with powerpill.
EDIT2: I am used to yaourt running sudo for me when I want to do anything that requires root access. Could you implement that too (maybe as an option in a config file)?

Last edited by thoughtcrime (2010-01-10 19:16:17)


- blog (about arch and other stuff): http://thoughtyblog.wordpress.com/
- x86_64 user

Offline

#74 2010-01-10 19:24:39

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

thoughtcrime wrote:

EDIT2: I am used to yaourt running sudo for me when I want to do anything that requires root access. Could you implement that too (maybe as an option in a config file)?

+1 smile


ᶘ ᵒᴥᵒᶅ

Offline

#75 2010-01-10 21:01:49

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,668
Website

Re: Bauerbill: Powerpill + ABS, AUR, CPAN and Hackage support + more

@some-guy94 & faeler
That's due to an error in the PKGBUILD. I've added code to catch it for now, but please contact the packagers and inform them that the "install" variable should not be an array.


@ faeler

All uncommented mirrors in pacman.conf (which includes mirrorlists specified by "Include=...") are used for package downloads, along with any mirrors retrieved using the "Reflect" option. Source files are downloaded from the URLs specified in the PKGBUILDs. I recommend that you set aria2c's minimum speed option in your config, which will break a connection to a mirror if it is too slow. This will let you use "Reflect" without having to consider the speed of mirrors.

As for the output, I'm currently filtering aria2c's download output. I could probably add some options to configure that but there isn't much to configure. Powerpill used to create its own download progress line but I removed that code when rewriting the module because it was really messy (mostly because I had to use a combination of shell and built-in commands to get the real size of split downloads). If you have some specific ideas of how to improve the output, I'll consider implementing them.




@thoughtcrime
Colorizing all of the output would require me to wrap Pacman even harder. At the moment Powerpill and Bauerbill pass control when there is nothing for them to do. Wrapping all functions just to colorize the output seems like a bad design decision to me. It seems more reasonable to colorize the output of Powerpill/Bauerbill alone and leave the rest up to Pacman-color or whatever else the user wants to use. This also circumvents the complexity of dealing with different locales (I don't want to have to write regexes to colorize output in multiple languages).

I will make the output prettier though, but as all of the code is still new, I have mostly been focusing on functionality so far. Aesthetics can wait until everything works as expected.


@thoughtcrime & litemotive
It already checks and uses sudo when running pacman. The only thing that it doesn't do is check if it needs root itself, but I think that would just be a little too much hand-holding for Bauerbill to say "oh hey, you probably wanted to run me as root, let me sudo myself for you". Just create an alias if you always want to run it as root, e.g. alias sbb="sudo bauerbill".

Last edited by Xyne (2010-01-10 23:01:51)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB