You are not logged in.

#351 2010-05-25 11:16:13

spazzwig
Member
Registered: 2008-02-04
Posts: 6

Re: Clyde - A better libalpm/makepkg wrapper

... 6 posts above yours: http://bbs.archlinux.org/viewtopic.php? … 00#p763000

mythus wrote:

Greetings,

I have tried out clyde, and it is pretty nice and fast. However, I can't help but to feel there is something I am missing that I liked in yaourt.... that is the ability to simply type yaourt -S packagename versus sudo clyde -S package name.

I am not interested in whatever may be the perceived correct method as I always inspect the package build file anyways, and sure the extra sudo infront of clyde may not be much since yaourt is seemingly longer, but it feels nicer. When I use pacman I always go into su first, so I have my one su - command and then I use pacman - S etc... for whatever I need there. However, you are not supposed to build a package from AUR in su mode and even get a nice warning about it.... but you have to use sudo?

Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.

Offline

#352 2010-05-25 11:19:40

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

mythus wrote:

Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.

This has been anwsered several times.

It seems people wont read through the topic, maybe someone should write a FAQ page?

Offline

#353 2010-05-25 11:29:26

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Clyde - A better libalpm/makepkg wrapper

mythus wrote:

Greetings,

I have tried out clyde, and it is pretty nice and fast. However, I can't help but to feel there is something I am missing that I liked in yaourt.... that is the ability to simply type yaourt -S packagename versus sudo clyde -S package name.

I am not interested in whatever may be the perceived correct method as I always inspect the package build file anyways, and sure the extra sudo infront of clyde may not be much since yaourt is seemingly longer, but it feels nicer. When I use pacman I always go into su first, so I have my one su - command and then I use pacman - S etc... for whatever I need there. However, you are not supposed to build a package from AUR in su mode and even get a nice warning about it.... but you have to use sudo?

Anyways, the jest of all of my rambling here is, if you can make clyde work without sudo, it will be gold as far as I am concerned.

just type

clyde package name

otherwise alias  sudo clyde -S to clyde -S and you are good to go ^^

Offline

#354 2010-05-25 14:29:19

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Clyde - A better libalpm/makepkg wrapper

ijanos wrote:

This has been anwsered several times.

It seems people wont read through the topic, maybe someone should write a FAQ page?

A FAQ page or why not directly a wiki article?

I would prefer the second.

Regards

Offline

#355 2010-05-25 15:05:01

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

orschiro wrote:

A FAQ page or why not directly a wiki article?

I would prefer the second.

Regards

Good point. I created the page. Feel free to expand it, everyone smile

http://wiki.archlinux.org/index.php/Clyde

Offline

#356 2010-05-25 18:32:29

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Clyde - A better libalpm/makepkg wrapper

Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?

Offline

#357 2010-05-25 18:41:43

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

Llama wrote:

Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?

clyde -Qm

Offline

#358 2010-05-25 19:16:14

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Clyde - A better libalpm/makepkg wrapper

ijanos wrote:

clyde -Qm

Thanks!

Pretty good. Not quite as good as yaourt's regular printout, but still pretty good.

Last edited by Llama (2010-05-25 19:18:56)

Offline

#359 2010-05-25 21:13:23

bcat
Member
From: New York, NY, USA
Registered: 2009-01-02
Posts: 30
Website

Re: Clyde - A better libalpm/makepkg wrapper

[Whoops, deleted. Nothing to see here, move along. smile]

Last edited by bcat (2010-05-25 21:14:16)


Running Arch on a Dell Studio 1735. xmonad FTW! Dotfiles here.
Want free cloud-based file sharing? Sign up for Dropbox and we both get some bonus storage!

Offline

#360 2010-05-26 01:11:02

kaolbrec
Member
Registered: 2009-11-29
Posts: 4

Re: Clyde - A better libalpm/makepkg wrapper

This is the second time I've tried Clyde. The first time I had some issues with the makefile (don't know if you remember that irc conversation), but this time it went ok. Unfortunately I get these errors almost constantly, and I don't know what to make of them.

[kaolbrec@sagaris]$ sudo clyde -S clyde
:: clyde package not found, searching for group...
:: clyde group not found, searching AUR...
lua: failed to decompress [-3]
stack traceback:
        [C]: in function 'read'
        /usr/share/lua/5.1/clydelib/aur.lua:85: in function 'getgzip'
        /usr/share/lua/5.1/clydelib/sync.lua:1362: in function 'sync_trans'
        /usr/share/lua/5.1/clydelib/sync.lua:1615: in function 'clyde_sync'
        /usr/share/lua/5.1/clydelib/sync.lua:1621: in function </usr/share/lua/5.1/clydelib/sync.lua:1620>
        (tail call): ?
        /usr/bin/clyde:1032: in function </usr/bin/clyde:943>
        (tail call): ?
        [C]: ?

I got the exact same error while searching for or attempting to install xmonad, or netbeans etc. At the moment Clyde is unusable for me.

EDIT: Scratch that. Clyde is perfectly capable of installing things (and quite quick as you say) but it seems to dump that out every so often, and occasionally keep a lock on the db. Odd.

Last edited by kaolbrec (2010-05-26 01:44:06)

Offline

#361 2010-05-26 01:13:30

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

Re: Clyde - A better libalpm/makepkg wrapper

ijanos wrote:
Llama wrote:

Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?

clyde -Qm

`pacman -Qm` does the same. And it seems faster.

Offline

#362 2010-05-26 02:39:45

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

5000 internetz says you are behind a proxy when you get that gzip error.

Offline

#363 2010-05-26 06:17:43

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

Arm-the-Homeless wrote:
ijanos wrote:
Llama wrote:

Is there a way to list all the installed AUR packages, the way yaourt -Syu --aur always lists them?

clyde -Qm

`pacman -Qm` does the same. And it seems faster.

And less colourful smile

Offline

#364 2010-05-26 08:25:19

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Clyde - A better libalpm/makepkg wrapper

% for i in pacman pacman-color clyde; do (time $i -Qm)| tail -n 0; done
$i -Qm  0,13s user 0,07s system 96% cpu 0,201 total
$i -Qm  0,11s user 0,08s system 97% cpu 0,196 total
$i -Qm  0,51s user 0,11s system 98% cpu 0,620 total

I noticed that in i think all operations clyde is noticeably slower (well, it also shows more output, colorizes etc).
(I mainly use clyde for the cross-repo-aur-search. I prefer to download aur pkgs with slurpy and then manually do makepkg and pacman -U)

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#365 2010-05-26 13:46:40

kaolbrec
Member
Registered: 2009-11-29
Posts: 4

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

5000 internetz says you are behind a proxy when you get that gzip error.

Really? Another reason to hate the campus proxy. All will be better in a week, when term ends and I bugger off back to Cornwall then.

Offline

#366 2010-05-26 17:05:51

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Clyde - A better libalpm/makepkg wrapper

There might be a bug with deleting corrupted packages. I had one today (mplayer) and clyde asked to delete it, but it did not get zapped, so the same happened again. I tried a few times, with both enter (default is Y) and y + enter, but the package was still in the cache. pacman -Syu deleted the corrupted package eventually.

Offline

#367 2010-05-26 18:36:39

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

Re: Clyde - A better libalpm/makepkg wrapper

Ogion wrote:

I noticed that in i think all operations clyde is noticeably slower (well, it also shows more output, colorizes etc).

Pacman is written in pure C, while clyde uses Lua, so yeah it'll be slower. Plus it does the coloring, etc, that you mentioned. Try comparing Clyde to another AUR helper.

Offline

#368 2010-05-26 18:42:11

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

aeosynth wrote:

Pacman is written in pure C, while clyde uses Lua...

Well, that is not that simple. Clyde uses libalpm which is a C library. But still, a program's speed is not really depend on the programming language, you can easily find slow C programs smile

Offline

#369 2010-05-27 09:01:20

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Clyde - A better libalpm/makepkg wrapper

How am I supposed to abort the script at a confirmation prompt?

Offline

#370 2010-05-27 15:42:39

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: Clyde - A better libalpm/makepkg wrapper

^C<enter> works.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#371 2010-05-27 15:49:56

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Clyde - A better libalpm/makepkg wrapper

Stebalien wrote:

^C<enter> works.

Nothing less extravagant?

Offline

#372 2010-05-27 17:53:24

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: Clyde - A better libalpm/makepkg wrapper

Llama wrote:
Stebalien wrote:

^C<enter> works.

Nothing less extravagant?

You can also apply this patch to util.lua and hit 'a' when prompted. It does - or at least should do - the same thing as ^C.

--- util.lua.old    2010-05-27 10:33:14.000000000 -0700
+++ util.lua    2010-05-27 10:47:12.949341118 -0700
@@ -494,9 +494,9 @@
     fprintf(stream, fmt, ...)
 
     if (preset) then
-        fprintf(stream, " %s ", g("[Y/n]"))
+        fprintf(stream, " %s ", g("[Y/n/a]"))
     else
-        fprintf(stream, " %s ", g("[y/N]"))
+        fprintf(stream, " %s ", g("[y/N/a]"))
     end
 
     if (config.noconfirm) then
@@ -512,6 +512,12 @@
 
     if ((not strcasecmp(answer, g("Y"))) or (not strcasecmp(answer, g("YES")))) then
         return true
+    elseif ((not strcasecmp(answer, g("A"))) or (not strcasecmp(answer, g("ABORT")))) then
+        if (alpm.trans_interrupt() == 0 ) then
+            return exit(0)
+        end
+        trans_release()
+        return cleanup(0)
     elseif ((not strcasecmp(answer, g("N"))) or (not strcasecmp(answer, g("NO")))) then
         return false
     end

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#373 2010-06-06 10:39:02

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Clyde - A better libalpm/makepkg wrapper

Just a quick question. Is Clyde already supporting vcs-packages in the way that it recognizes if a package-repo had been updated?

Regards

Offline

#374 2010-06-08 10:51:41

Doorbreath
Member
Registered: 2010-06-08
Posts: 20

Re: Clyde - A better libalpm/makepkg wrapper

Does clyde -Syu update packages from the aur as well

Offline

#375 2010-06-08 10:52:53

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Clyde - A better libalpm/makepkg wrapper

Doorbreath wrote:

Does clyde -Syu update packages from the aur as well

clyde -Suy --aur does.

Offline

Board footer

Powered by FluxBB