You are not logged in.

#176 2010-01-17 16:04:49

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

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

Xyne,
Love bauerbill. I have already dumped yaourt. There is only one thing I would like to request or now how to do.
In yaourt I could install from a specific repository by simply typing
yaourt -S aur/program
Is there a way to do the same in bauerbill or can you add it?


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#177 2010-01-17 17:38:26

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

You can already do that with repos, e.g. community/foo. I'll look into adding support for "aur/".


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

Offline

#178 2010-01-17 17:50:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

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

orphius1970 wrote:

Xyne,
Love bauerbill. I have already dumped yaourt. There is only one thing I would like to request or now how to do.
In yaourt I could install from a specific repository by simply typing
yaourt -S aur/program
Is there a way to do the same in bauerbill or can you add it?

Xyne wrote:

You can already do that with repos, e.g. community/foo. I'll look into adding support for "aur/".

What's the reason for doing this? all packages have a unique name anyway (even the aur guidelines say you cannot use a name that is in the official repos)

So why bother giving a repo name -- unless you have enabled testing.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#179 2010-01-17 17:58:58

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

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

Inxsible wrote:

So why bother giving a repo name -- unless you have enabled testing.

Exactly

On a side note the archlinuxfr repo has duplicate names from AUR packages.

Last edited by zowki (2010-01-17 17:59:37)


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

Offline

#180 2010-01-17 18:18:21

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

All the packages in my repo are also contained in the AUR (or community). The unique package rule only applies to the official repos (core, extra, community) and the AUR, not to third party repos and testing.

aur/foo should work now.

Last edited by Xyne (2010-01-17 18:24:35)


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

Offline

#181 2010-01-17 19:35:21

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

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

thank you Xyne
i also was using archlinuxfr and the duplicate names were the problem.


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#182 2010-01-18 04:27:52

cygoh
Member
Registered: 2009-04-02
Posts: 11

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

Xyne wrote:

All the packages in my repo are also contained in the AUR (or community). The unique package rule only applies to the official repos (core, extra, community) and the AUR, not to third party repos and testing.

aur/foo should work now.

But now bauerbill -S --aur foo doesn't work, I have to specify aur/foo even though I have --aur in the command.

Offline

#183 2010-01-18 06:13:43

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

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

cygoh wrote:

But now bauerbill -S --aur foo doesn't work, I have to specify aur/foo even though I have --aur in the command.

+1

Offline

#184 2010-01-18 09:01:43

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

ooops tongue

It should be fixed now in perl-xyne-arch>=1.0.41


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

Offline

#185 2010-01-18 12:37:08

virus_found
Member
From: Moscow
Registered: 2009-05-22
Posts: 51
Website

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

When doing bauerbill -Su (if AUR is enabled), I receive:

--> Searching for upgradable repo packages...
--> Searching for upgradable AUR packages...
--> Loading AUR taurball data...
warning: about to source /tmp/bauerbill/build/AUR/lenovo-sl-laptop/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  abort [x]

With disabled AUR I get:

--> Searching for upgradable repo packages...
--> Reflecting... retrieved 0 mirrors.
:: The following packages will be downloaded:

So, there is no possibility to skip an AUR package update and proceed to regular packages. I'd be great to see skip [s] among the options for AUR (even if there is only one update).

Offline

#186 2010-01-18 13:03:29

jowilkin
Member
Registered: 2009-05-07
Posts: 243

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

I'd like the option to skip an AUR package upgrade.  If there is a kernel upgrade for instance in AUR, I don't always want to compile it right away, I would rather just update the rest of the system and do the kernel when it's convenient.

Offline

#187 2010-01-18 13:22:53

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

This keeps coming up... just use the "--ignore" option. Pacman doesn't ask you to confirm each upgradable package so neither does Bauerbill. Adding [s] is more complicated than it's worth because it would need to track dependencies retroactively and remove previous packages from the build queue if the user suddenly decides not to build one of the dependencies.


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

Offline

#188 2010-01-18 22:56:14

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

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

Perhaps you could append FAQs to the first post to reduce the frequency that certain questions are repeated. This thread is 8 pages long so far, and i doubt everyone is reading every post just to get an answer.

Offline

#189 2010-01-18 23:01:30

melik
Member
Registered: 2009-10-11
Posts: 108

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

Thanks a lot Xyne big_smile

I can finally remove Yaourt smile.

Offline

#190 2010-01-19 05:59:20

jowilkin
Member
Registered: 2009-05-07
Posts: 243

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

I apologize if this error has been brought up before (I saw a lot of "uninitialized value" errors in this thread but not this specifically I don't think).  Whenever I try to install from AUR I get something like this

> sbb -S virtualbox_bin
warning: virtualbox_bin does not match any package or group in sync db
--> Searching for packages in AUR...
--> Loading AUR taurball data...
No unprivileged user specified with the "BuildAs" option
Please specify an unprivileged user for this operation: jowilkin
Use of uninitialized value $mode in bitwise and (&) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2178, <STDIN> line 1.
Use of uninitialized value $mode in bitwise or (|) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2184, <STDIN> line 1.
Use of uninitialized value $mode in bitwise and (&) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2178, <STDIN> line 1.
Use of uninitialized value $mode in bitwise or (|) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2184, <STDIN> line 1.
Use of uninitialized value $mode in bitwise and (&) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2178.
Use of uninitialized value $mode in bitwise or (|) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2184.
Use of uninitialized value $mode in bitwise and (&) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2178.
Use of uninitialized value $mode in bitwise or (|) at /usr/share/perl5/vendor_perl/Xyne/Arch/Bauerbill.pm line 2184.
warning: about to source /tmp/bauerbill/build/AUR/virtualbox_bin/PKGBUILD
view [v]  backup [b]  edit [e]  continue [ok]  abort [x]

I reinstalled bauerbill and it didnt seem to fix it.  I think I have the latest of the required packages

> pacman -Qs xyne
local/perl-xyne-arch 1.0.41-1
    Xyne's Arch-specific Perl modules.
local/perl-xyne-common 1.0.6-1
    Xyne's common Perl modules.

> pacman -Qs bauerbill
local/bauerbill 0.1.1-1
    A Powerpill extension with AUR and ABS support, among other things.

Last edited by jowilkin (2010-01-19 05:59:36)

Offline

#191 2010-01-19 08:01:23

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

@jowilkin
That should be fixed now, although I have no idea how your umask could be completely undefined. I've added an extra check nevertheless.


I've also added a short FAQ to the info page and mentioned it in the OP.


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

Offline

#192 2010-01-19 08:36:19

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

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

I also get the uninitalized variable using the latest version of whatever from your repos.
It would be really cool if you could add --noconfirm on AUR. When you do it'll be a definite replacement for yaourt for me.


since 2009

Offline

#193 2010-01-19 09:28:58

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

gonX wrote:

I also get the uninitalized variable using the latest version of whatever from your repos.

Please post the error output. There are thousands upon thousands of variables in the code, spread across multiple modules... there is not way for me to debug that without knowing which variable and where.

gonX wrote:

It would be really cool if you could add --noconfirm on AUR. When you do it'll be a definite replacement for yaourt for me.

That will never happen because it is a major security issue. Look at the "TrustedUsers" option though, which will let you bypass the inspection for users that you trust. I'll add that to the FAQ too.


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

Offline

#194 2010-01-19 15:09:05

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

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

Still trying to get the Editor to work. I use emacs and thus use emacsclient as my "editor". This communicates with a running emacs, sending it the filename to be edited. The problem is that bauerbill starts a new shell as root and thus doesn't know about the running instance of emacs, so when it tried to run emacsclient, I get a complaint about no running emacs server.

It would work around this if:

1] The Editor setting in bauerbill.conf overrode any environment setting of EDITOR, because right now, I don't think it does
2] The Editor setting allowed me to set arguments to the command. IOW:

Editor=/usr/bin/emacsclient --socket-name /tmp/emacs1000/server

Offline

#195 2010-01-20 08:10:53

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

@jdarnold
The editor setting in bauerbill.conf (or powerpill.conf, if using PowerpillConf) does override $EDITOR (I've just tested it with vim and nano).

I've also updated the code to allow arguments to the editor.


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

Offline

#196 2010-01-20 11:40:24

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

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

error: no valid editor specified: enter the name or path of an editor or hit enter to exit

~ sp -Qi perl-xyne-arch perl-xyne-common bauerbill|grep Version
2:Version        : 1.0.42-1
24:Version        : 1.0.6-1
44:Version        : 0.1.1-1

When are you planning to merge in your fix?

Offline

#197 2010-01-20 12:32:24

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

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

It's already merged. Grabbed the latest version from my site or wait for your mirror to sync. Always check my site for the latest version.


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

Offline

#198 2010-01-20 13:46:54

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

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

Xyne wrote:

@jdarnold
The editor setting in bauerbill.conf (or powerpill.conf, if using PowerpillConf) does override $EDITOR (I've just tested it with vim and nano).

I've also updated the code to allow arguments to the editor.

Thanks for the change. Works perfectly now that I know to change the config in .config/powerpill and not the one in /etc/bauerbill.conf smile

Offline

#199 2010-01-20 16:15:02

ehntoo
Member
Registered: 2010-01-20
Posts: 5

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

I actually haven't gotten around to trying this yet (on the list for tonight, looks awesome), but I noticed something on the website after deciding to randomly click the XHTML validation:

You need to escpae the < and > in "<pkg>", as it gets picked up as an HTML tag and not displayed.

"…upgrade. Use Pacman's "--ignore <pkg>" option to do that. Bauerbill tries to..."

Offline

#200 2010-01-20 16:42:37

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

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

ehntoo is right about this bug. I am able to replicate it on my computer.


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

Offline

Board footer

Powered by FluxBB