You are not logged in.
aurbuild reressurected, this time in its original language, I love it....
It's home now.
Offline
is it just me, or is the new version faster?
Dusty
Offline
I just tried it and found it quite handy. Some feature requests: add emacs to the editor list and maybe a prompt while the menu is displayed.
Offline
I left emacs out a while back because it did nothing but crash on me -thats why I used zile instead. Seems to work fine now, I'll add it.
prompt? you mean like a bash prompt where you have to type exit to get back into the app?
Offline
I mean a prompt like:
Enter your choice:
instead of having the cursor blinking at the side of the screen.
Offline
ok mr.snowman, replaced zile with emacs and added the prompt message.
Offline
Thanks .
Another feature request though : add the facility to also view the .install file (if any). And maybe extending that to the other text files in the tarball...
Offline
Thanks
.
Another feature request though: add the facility to also view the .install file (if any). And maybe extending that to the other text files in the tarball...
try the package here and tell me what you think. It comes with a config file to specify the editor and the menu is changed to be able to edit each file.
Offline
The config file for the default editor is a nice idea. The only suggestions I can make is to replace, in the menu, 'Edit' by 'View/Edit' . And maybe to put the 'No' in red. The yellow is not very visible on white background. :? No problem if you want to keep the yellow. I've just changed the script and now I have it in red 8)
Offline
Thanks for the great suggestions, Snowman. Everything has been commited and uploaded to aur.
Offline
Thanks for the great suggestions, Snowman. Everything has been commited and uploaded to aur.
8)
Offline
I have to admit, that I haven't started using this until recently, but it kicks ass.
Two "feature requests":
1) It'd be better to use the EDITOR environment variable than a seperate config setting
2) It'd be nice to override the menu somehow if the PKGBUILD is marked safe (--auto-build-if-marked-safe hehe)
Offline
I have to admit, that I haven't started using this until recently, but it kicks ass.
Two "feature requests":
1) It'd be better to use the EDITOR environment variable than a seperate config setting
is that in /etc/profile? It must not be set-up by default, echo $EDITOR gives me nothing...
2) It'd be nice to override the menu somehow if the PKGBUILD is marked safe (--auto-build-if-marked-safe hehe)
What if its not safe? exit or go to the menu?
Heres with auto build as a modifier to -s or -b that will go to the menu if not safe:
link
Offline
phrakture wrote:I have to admit, that I haven't started using this until recently, but it kicks ass.
Two "feature requests":
1) It'd be better to use the EDITOR environment variable than a seperate config setting
is that in /etc/profile? It must not be set-up by default, echo $EDITOR gives me nothing...
It's not defined in /etc/profile. I have defined it in my ~/.bashrc. I agree with phrakture that using the EDITOR variable would be nice.
phrakture wrote:2) It'd be nice to override the menu somehow if the PKGBUILD is marked safe (--auto-build-if-marked-safe hehe)
What if its not safe? exit or go to the menu?
Heres with auto build as a modifier to -s or -b that will go to the menu if not safe:
link
I will try it tomorrow.
Offline
is that in /etc/profile? It must not be set-up by default, echo $EDITOR gives me nothing...
EDITOR is one of those quasi-standard things - actually most programs check for $VISUAL first, then $EDITOR. cvs uses $EDITOR when it needs a comment, and I think mutt uses it when an editor isn't defined.
RMS was trying to standardize $BROWSER too.
Offline
ah I see. I recall gentoo setting it up in rc.conf or something, thats why I was a little confused.
Added the EDITOR environment to the link above. Its just the plain file so you'll need something like wget to download it cause a brower will probably mess up the indents.
Offline
Two "feature requests":
1) It'd be better to use the EDITOR environment variable than a seperate config setting
2) It'd be nice to override the menu somehow if the PKGBUILD is marked safe (--auto-build-if-marked-safe hehe)
Implemented this and uploaded to aur.
The config file is gone, so if you don't have the EDITOR envoriment variable set, you'll have to do so in ~.bashrc as:
export EDITOR="your_editor"
You may have to logout and in again if restarting your terminal doesn't work.
The --auto-build or -a will be a modifier to --builddeps and --syncdeps. If the package is safe, it will automatically build and install it otherwise go to the menu.
menu screenshot:
http://user-contributions.org/users/pen … safe-1.png
Offline
Very cool Penguin...thanks for all of your work on this, I know people have been looking for a good solution for a while.
Offline
It appears my host for the source is borked again. Turns out everything I uploaded the other day is lost and now I can't transfer files to it anymore. I've decided to use my own damn machine for this now so, aur has been updated...again... with the new URL.
I also inlcuded a manpage. Cause hell, if I've gotta' redo it, I might as well right a manpage too.
Offline
Random idea which shouldn't be too hard (just ass slow):
--check-updates:
print 'warning: this is hella slow, yo'
for each pkg in all installed pkgs:
if exists in aur:
download PKGBUILD and compare pkgver/pkgrel to installed -$pkgver-$pkgrel
if aur > installed, rebuild
edit: fixed formatting... also, the "all installed packages" should probably use the pacman3 notion of --foreign package - those that are installed but do not exist in any other repo...
Offline
implemented.
-u, --upgrade
Upgrade out-of-date packages installed from aur. This will check aur's website for each aur package so it may
take a while. Each package will be evaluated and upgraded one by one displaying a confirmation message. Use this
as a modifier to --syncdeps or --builddeps. Additionally, --auto-build may be used to bypass the menu if detected
safe.Example:
aurbuild -sua-n, --noconfirm
Used in conjunction with --upgrade to bypass upgrade confirmation messages.
thanks phrakture
Offline
Feature Request #167.32:
If an install file exists, you are forced to look at it unless the package is marked safe - the reason being that malicious .install files are the only real security hole here, due to the 'sudo' installation...
Offline
Little Bug I found when running aurbuild -su it makes really no sence to me so maybe one of you guys can figure it out.
pydance is the last package it shows before I get the error
pydance: no updates
Traceback (most recent call last):
File "/usr/bin/aurbuild", line 535, in ?
aur = float(convert)
ValueError: invalid literal for float(): 21pre191
"The only thing we have to fear is fear itself." - Franklin D. Roosevelt
Offline
Little Bug I found when running aurbuild -su it makes really no sence to me so maybe one of you guys can figure it out.
pydance is the last package it shows before I get the error
pydance: no updates
Traceback (most recent call last):
File "/usr/bin/aurbuild", line 535, in ?
aur = float(convert)
ValueError: invalid literal for float(): 21pre191
yeah, I forgot about the possibility of letters in the version number. See if this works:
EDIT: upgrade is in aur.
aurbuild -sa aurbuild
Use wget for it, browsers like to loose python's indention.
phrakture: Could you try that link as well for your suggestion?
Offline
Penguin that seems to work very well! Thanks for fixing it!
"The only thing we have to fear is fear itself." - Franklin D. Roosevelt
Offline