You are not logged in.

#101 2006-07-02 22:08:14

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: aurbuild

Works ok right now. Thanks for the fast response.
pacman runtime detection works fine too.

P.S. "diff -u" output looks better +  no need to specify what you patch smile

Offline

#102 2006-07-04 23:51:59

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: aurbuild

There's a typo in the man page (near the end):

makepkg is the package-building tool tht comes with pacman.

Offline

#103 2006-07-05 02:12:42

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

awsome. Thanks!

Offline

#104 2006-07-05 03:47:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: aurbuild

other typos (I ran ispell on the man page wink ):

into the root filesystem ie. from a poor PKGBUILD

(should be i.e.)
and:

and normaly not needed to build most packages

The orginal directory name of the

simply append the --save swtich

Offline

#105 2006-07-05 20:42:26

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Thanks again Snowman. I thought I had run a spell check on it once before but I was sadly mistaken...

Offline

#106 2006-07-13 01:07:32

n0gabor
Member
From: Hungary / Budapest
Registered: 2006-02-10
Posts: 95

Re: aurbuild

Why aurbuild isn't put in the community repo (or even in current)? It's an awsome tool for using the AUR, and balances the only weakness of archlinux...the relatively few binary and abs packages...

I hope TU's will agree me.

Offline

#107 2006-07-13 23:02:28

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: aurbuild

well, you can't vote with aurbuild can you? im sorry for my ignorance if you can smile


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#108 2006-07-14 02:54:20

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

test1000 wrote:

well, you can't vote with aurbuild can you? im sorry for my ignorance if you can smile

I have something working. I just need a few days to put it together and debug.

Offline

#109 2006-07-15 13:54:52

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Uploaded version 1.4

You can now vote or unvote for packages.

aurbuild --vote foo1 foo2 foo3
aurbuild --unvote foo1 foo2 foo3

Instead of using a config file for the username and password I thought it would be slightly, maybe, oh just a tad bit more secure to just prompt each time and hide password input displayed on the screen. Because you must login to vote or un-vote, you must have a cookie which will be created in ~/.aurbuild/aurcookie.lwp

Running multiple instances is now supported which changes the build directory from ~/.aurbuild to ~/.aurbuild.<PID>. I've worked everything into a main method which is handled by exceptions to cleanup these directories at exit under all circumstances even when a traceback is called so don't worry about tens of hundreds of megabytes of partial builds floating around in your HOME directory.

Also fixed the manpage typos as pointed out by Snowman.

Offline

#110 2006-07-26 11:46:17

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: aurbuild

I have one more flag suggestion: i'd like not to delete downloaded files in case build failed. This way i can go to the directory, fix the problems and run mkpkg *without* the need to download stuff again.

Another nice option might be to wait for user permission before actually doing "sudo mkpkg -i" - since if the user is not near the computer, after a timeout sudo would stop waiting and the job will be cancelled - which sucks in case download and build took 3 hours wink
10x for this great tool!

Offline

#111 2006-07-27 02:13:33

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

added.

-v1.5 (July 26, 2006)
        *Added -w, --wait-sudo to wait for the user to hit enter before using sudo.
        *Added -k, --keep-build-dir to keep the build directory if a package fails to build.
        *Added versionpkg to the menu for CVS/SVN/Mercurial packages.
        *Fixed 'aur[1]' traceback calls when using --upgrade due to PKGBUILD's with syntax errors on the AUR server.
         The default action is to skip the package and relay the package name and syntax errors back to the user.
        *--search now matches first 100 results instead of 25.
        *version.py: alpha-numeric recombination logic re-worked. A rare few may find new upgrades.

AUR

Offline

#112 2006-07-27 04:26:47

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: aurbuild

You are just great!

one more sugesstion to -k flag: what if build goes ok, but pacman upgrade fails - can you check pacman status also?

10x again!

Offline

#113 2006-08-07 19:56:16

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: aurbuild

request: be able to see comments to each package. This is useful because people post suggestions/fixes and maybe the author of the pkgbuild haven't commited/fixed it them yet


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#114 2006-08-07 20:57:59

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

drakosha wrote:

one more sugesstion to -k flag: what if build goes ok, but pacman upgrade fails - can you check pacman status also?

10x again!

Yes I can check for pacman status but what do you want -k to do in that event? Remember installation of the package is optional. -x omits installation.

Offline

#115 2006-08-07 21:00:46

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

test1000 wrote:

request: be able to see comments to each package. This is useful because people post suggestions/fixes and maybe the author of the pkgbuild haven't commited/fixed it them yet

Seems feasible but I would rather try tackling that after the AUR gets updated to django. I'll already have enough to fix once that happens...

Offline

#116 2006-08-08 06:15:47

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: aurbuild

Penguin wrote:
drakosha wrote:

one more sugesstion to -k flag: what if build goes ok, but pacman upgrade fails - can you check pacman status also?

10x again!

Yes I can check for pacman status but what do you want -k to do in that event? Remember installation of the package is optional. -x omits installation.

I'd expect the directory to be kept and not deleted smile

Offline

#117 2006-08-08 11:51:50

pbw
Member
From: Barrie ON, Canada
Registered: 2005-06-01
Posts: 65

Re: aurbuild

It'd be nice also if there was an option to keep the build directory of svn packages for updating.

Adding vote/unvote was a great idea btw, makes it easier on us lazy/forgetful folk smile

Offline

#118 2006-08-08 12:03:43

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: aurbuild

Penguin wrote:

Seems feasible but I would rather try tackling that after the AUR gets updated to django. I'll already have enough to fix once that happens...

i don't know about python(or else i would implement it myself) but in bash it's really easy, like:
lynx -dump -nolist 'http://aur.archlinux.org/packages.php?d … =1&ID=5519'|sed -n '/Comments$/,/Add Comment$/p'|sed 's/pad.gif//'

maybe you(or me, just tell me how) can just put that in the script somewhere? smile


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#119 2006-08-08 23:29:07

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

Getting user comments will be pretty easy. I actually rewrote one of the modules to fit this in easily. Its where to add, under what circumstances, etc., in the main script that takes the most time and I can't justify spending what little time I have right now on it when AUR will updated soon anyways.
I'll try to get to these requests later.

Anyways a bit of an important update for now:

-v1.5.1 (August 8, 2006)
*Fixed inhereted setgid bit in the built the package resulting from AUR's set mode of the parent directory in the tarball.
The unwanted inhereted bit occured only under the following circumstances:
- user was root.
- a 'install -m' line was excuted in the PKGBUILD without explicitly setting the first pair of octets, ie 644 instead of 0644
- Any other type of 'chmod' command without the first octet set.
If you have built any packages meeting the criteria list above, rebuild and install offending packages now. Run the update command to get the list of all
packages built from AUR. String them together in a space separated line to aurbuild and use the menu to see if any install/chmod lines were used. You can
use (s) from the menu to skip the current package and move on to the next.

Offline

#120 2006-08-15 23:59:04

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

same as weatherget:

I've put this up at berlios now so I can finally put my server to rest.
Please direct all your bug reports/feature requests/etc there, it will be easier for me to keep track of.
http://developer.berlios.de/projects/aurbuild

Offline

#121 2006-08-16 07:21:58

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: aurbuild

Nice work, dude!  I made a fix in versionpkg last night - how is your support that going?

Offline

#122 2006-08-16 10:00:01

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

It works fine.
It's been added to the menu as an alternative to makepkg:
https://developer.berlios.de/dbimage.php?id=3071

Offline

#123 2006-11-06 03:16:54

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: aurbuild

-v1.6 (November 5, 2006)
        * Replaced makepkg-opts with builder-opts. This passes OPTS to the builder of choice (makepkg or versionpkg) selected from the menu.
          Note the syntax has changed: --makepkg-opts="ab bla foo" -->  --builder-opts="-a -b --bla --foo"
        * sudo is no longer a required dependency. su -c "CMD" will be invoked if sudo is not installed, requiring a
          root password.
        * -t, --no-sudo switch added to disable the use of sudo and use su -c "CMD" for root operations.
        * -r, --revision switch added to check SVN/CVS/MERCURIAL servers for the latest revisions on qualified PKGBUILDS
          during an --upgrade session.
        * Absolute environmental editor path and switches supported.
        * Preferred builder autodetection implemented. Variables in the PKGBUILD are examined and a star is placed next to the preferred
          builder as well as being pre-selected in the choice field.

The man page covers it more in depth.

Offline

#124 2006-11-06 05:59:35

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: aurbuild

aurbuild -r is awesome, thanks for it smile


I am a gated community.

Offline

#125 2006-11-06 10:05:01

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: aurbuild

thx for the new version. just a note. i have rar 3.6.0-1 installed from aur but when i update all my packages with aurbuild it doesnt show on the list thus doesnt look for updates for it. on the contrary pacman tries to replace it with unrar.
also a package build by me which has the same name as an aur one but hasnt got much to do with it, shows on the update list.
can a behaviour like that be prevented? like for example ignoring packages like pacman? sorry if thats been said before..


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

Board footer

Powered by FluxBB