You are not logged in.

#151 2010-03-26 14:22:45

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

Re: Clyde - A better libalpm/makepkg wrapper

I was not offended, I thought it was funny. But I had to defend myself somehow! tongue In all fairness he does really like Clyde, though, as he should! big_smile

They do not always (or even usually) put up a "down for maintenance," usually when it is down it is because that the server is down and it is not actually maintenance, and often there is not another server up that they can redirect the domain to, in my experience anyway.

The ways I thought of were to ping it with http requests, but that could fail because of your end, and parsing downforeveryoneorjustme queries. >.> Though both of those methods would be unreliable and ugly.

Offline

#152 2010-03-26 22:31:51

ShoeUnited
Member
Registered: 2008-04-20
Posts: 8

Re: Clyde - A better libalpm/makepkg wrapper

It's no biggie kiwi.  I know I'm nub.  BUT that doesn't change the Awesome factor of clyde. Hehe.  I mean, you and Ghost code for pete's sake.  I only created a wiki for the first time yesterday. lol  So I'm not offended.  The only people who get offended would be idiot newbs.

I'm comfortable in my nubness. ^_^

-Shoe

p.s. -> yay clyde :3

Edit: Also, clyde confirm works fine so far in Sakura.

Last edited by ShoeUnited (2010-03-26 22:33:53)


Clyde Have you tried it?  AUR: clyde-git https://aur.archlinux.org/packages.php?ID=34686

...Well?   Have you seen the flippin' chart yet?!  http://omploader.org/vM3p6eg

Offline

#153 2010-03-26 23:00:29

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Clyde - A better libalpm/makepkg wrapper

@ShoeUnited - just a quick comment, while this project is both mine and Kiwi's, the VAST majority of the code is his. Between CDM, ALM, and general Arch dev stuff, I haven't had the time to dedicate to much more than occasional bug fixes and tweaks.


.:[My Blog] || [My GitHub]:.

Offline

#154 2010-03-27 05:13:13

ShoeUnited
Member
Registered: 2008-04-20
Posts: 8

Re: Clyde - A better libalpm/makepkg wrapper

@Ghost1227 Alright. smile  Though I meant your guy's ability to code in a general sense. smile

-Shoe


Clyde Have you tried it?  AUR: clyde-git https://aur.archlinux.org/packages.php?ID=34686

...Well?   Have you seen the flippin' chart yet?!  http://omploader.org/vM3p6eg

Offline

#155 2010-03-27 05:56:00

simongmzlj
Member
From: Canada
Registered: 2008-11-06
Posts: 135

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

They do not always (or even usually) put up a "down for maintenance," usually when it is down it is because that the server is down and it is not actually maintenance, and often there is not another server up that they can redirect the domain to, in my experience anyway.

The ways I thought of were to ping it with http requests, but that could fail because of your end, and parsing downforeveryoneorjustme queries. >.> Though both of those methods would be unreliable and ugly.

That is completely reasonable, but you don't have to check before hand, just report a failure connecting to aur. Say if you ran clyde -Ss chromium-svn when aur is down. You'd get back nothing. Why not throw up a little warning when the connection fails/timeout instead of being silent?

Offline

#156 2010-03-27 17:29:38

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Clyde - A better libalpm/makepkg wrapper

I can run clyde -S only as root. But when building AUR packages it's probably not such a good idea to run these scripts as root. yaourt allowed -S for normal users and used sudo for installtion - what is the clyde way?

Offline

#157 2010-03-27 17:42:28

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

Re: Clyde - A better libalpm/makepkg wrapper

Isildur wrote:

I can run clyde -S only as root. But when building AUR packages it's probably not such a good idea to run these scripts as root. yaourt allowed -S for normal users and used sudo for installtion - what is the clyde way?

it was discussed earlier in this topic.
in short: clyde is not a wrapper script like yaourt, the clyde way is to use sudo.

Offline

#158 2010-03-27 17:50:18

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

Re: Clyde - A better libalpm/makepkg wrapper

To recap: Clyde drops privileges to SUDO_USER environment variable when run with sudo and doing makepkg. There are plans to allow it to drop to a designated user when run with su or as root but they are not extremely high on my todo list atm, right now -Syu --aur, color profiles, and any bugs that pop up, are. Most people have sudo anyway. Yaourt also uses sudo to install packages, but only escalates at the install step. The effect is the same (install as root, build with user) just the methods are different. Imo the Clyde way is better since during long builds I do not have to keep reentering my password after sudo times out and it is more consistent with how Pacman works, anyway.

Last edited by Kiwi (2010-03-27 17:51:16)

Offline

#159 2010-03-27 18:33:01

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Clyde - A better libalpm/makepkg wrapper

Ah ok so if I rund clyde with sudo it will build packages as normal user and do only the rest with root privileges - correct?

Offline

#160 2010-03-27 18:39:01

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

Re: Clyde - A better libalpm/makepkg wrapper

Isildur wrote:

Ah ok so if I rund clyde with sudo it will build packages as normal user and do only the rest with root privileges - correct?

yep.

Offline

#161 2010-03-29 15:31:57

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: Clyde - A better libalpm/makepkg wrapper

I would like clyde to explicitly warn me when an AUR package is out of date. That can sometimes spare a lot of time searching for bugs.

Offline

#162 2010-03-29 16:55:22

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Clyde - A better libalpm/makepkg wrapper

Clyde shows the download size of packages while removing.

.clyde -Rs pacman-color
checking dependencies...

Targets (1): pacman-color-3.3.3-1  

Total Download Size:    0,00 MB
Total Installed Size:   0,08 MB

Do you want to remove these packages? [Y/n] 
(1/1) removing pacman-color                        [-----------------------------------------------] 100%

Is this a bug or a feature? wink


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#163 2010-03-29 17:13:13

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

Re: Clyde - A better libalpm/makepkg wrapper

That is partly a bug and partly user weirdness. If you do not have the -s it will not show anything about download size or removed size, but that it shows download size at all with -s a bug I will fix.

And I am working on the display of differing versions and out of date. I have also an as of yet not fully tested, and still a little not as nice as it will be, -Syu --aur done. I can probably polish it up tonight or tomorrow some more.

Offline

#164 2010-03-29 19:17:33

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

Re: Clyde - A better libalpm/makepkg wrapper

possible bug: when invoking clyde without an active internet connection, it fails (obviously) but doesn't seem to free db.lck again afterwards


ᶘ ᵒᴥᵒᶅ

Offline

#165 2010-03-29 19:41:20

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Clyde - A better libalpm/makepkg wrapper

Already reported on the issue page and fixed I believe. Use the issue tracker for bugs, not the forum

Offline

#166 2010-03-29 20:14:29

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Clyde - A better libalpm/makepkg wrapper

Thanks Daenyth, I posted the next one to bugs.archuser.com.
But now I see the github is used by more users. Maybe it would be better to use just one bugtracker?!


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#167 2010-03-29 20:32:02

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

Re: Clyde - A better libalpm/makepkg wrapper

I thought I fixed that as Daenyth said, when did you install/update Clyde last?

And I do not check bugs.archuser very often, use github.

http://github.com/Kiwi/clyde/issues

I get an email when an issues is posted so I see it very quickly.

Last edited by Kiwi (2010-03-29 20:32:53)

Offline

#168 2010-03-29 22:58:52

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: Clyde - A better libalpm/makepkg wrapper

Daenyth wrote:
Kiwi wrote:

- Would this be considered a bug ?

When installing aur's packages from the AUR like: "clyde -S aur/quiteinsane"
Clyde does not recognize (yet) that the beginning "aur/" means the AUR although imo it could do the same as "clyde -S quiteinsane"

Not so much a bug, just a missing feature. I intend to make aur/package work the same as in normal repos to override the one it wants to install, I just have not got to it....

For those who are not aware: If two repos have the same name package, it is possible to install from a specific one by installing it as 'repo/package' instead of 'package'.

There's no need for this at all, since packages in AUR are not allowed to share a name with packages in the official repos. About the only thing it could be used for is to prefer aur over arch-games or archlinunxfr perhaps.

I disagree. I may (and do) have a custom repository whose packages have the same name as AUR packages (usually because I makepkg'd them from AUR, and saved the results in my custom repo). It would sometimes be useful to be able to specify that I want to install (or check info on) an AUR package named X rather than the package in my custom repo named X.

Offline

#169 2010-03-29 23:35:59

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Clyde - A better libalpm/makepkg wrapper

Good point, hadn't considered that

Offline

#170 2010-03-30 02:08:31

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

Re: Clyde - A better libalpm/makepkg wrapper

clyde -Si aur/dupepkg now works btw (and has for a few days), -S aur/dupekpkg does not, though, yet. I will get to it, should not take long once I sit down and try....

Offline

#171 2010-03-30 06:33:53

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

I thought I fixed that as Daenyth said, when did you install/update Clyde last?

And I do not check bugs.archuser very often, use github.
...

The '-Rs' problem still exists with todays Clyde-build, if you meant me not litemotiv.

I moved my bug-report to github. Maybe the 'Bugs'-button on Clyde's webpage should link to github instead bugs.archuser.com and maybe Ghost1227 should edit his post on page 1 to send people only to github for bug-reports.


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#172 2010-03-30 07:27:45

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: Clyde - A better libalpm/makepkg wrapper

Yay for updates! The clyde homepage just got a major overhaul!


.:[My Blog] || [My GitHub]:.

Offline

#173 2010-03-30 10:23:03

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

Re: Clyde - A better libalpm/makepkg wrapper

I have not touched the -Rs, I meant the crashing when not having a connection to the Internet should have been fixed.

Offline

#174 2010-03-30 10:47:19

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Clyde - A better libalpm/makepkg wrapper

When I put a new XferCommand into /etc/clyde.conf it doesn't seem to get used, should it?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#175 2010-03-30 11:05:50

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

Re: Clyde - A better libalpm/makepkg wrapper

At the moment that is one of only like two features of Pacman not implemented yet. When I was at the spot I would have written it I did not have something else implemented I needed, iirc. Since then I have implemented the other thing but never made it back to it.

Offline

Board footer

Powered by FluxBB