You are not logged in.

#151 2014-04-11 17:33:53

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: cower and burp: fast and simple AUR {up,down}loading

progandy wrote:

cower depends on curl which depends on openssl. The bits of calls to openssl in cower are a direct result of using curl, so not having an explicit dependency on openssl is not wrong either. Maybe libcurl should provide an api to set mutex allocation and lock callbacks?

cower links directly to libcrypto, therefore it should depend on curl. It doesn't matter why -- the dependency is absolutely there.

Adding locking callbacks to libcurl has been discussed on the mailing list several times. They won't exist until someone is motivated to add them.

Offline

#152 2014-04-14 04:11:08

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: cower and burp: fast and simple AUR {up,down}loading

What is the date format for %a (last modified) and %s (submission date)? Am i missing another option to convert the date? Does Sun 13 Apr 2014 02:40:18 PM MDT = 1397421618?


m177er ~ $ cower -i zukitwo-themes
Repository     : aur
Name           : zukitwo-themes [installed]
Version        : 20140413-1
URL            : http://gnome-look.org/content/show.php/Zukitwo?content=140562
AUR Page       : https://aur.archlinux.org/packages/zukitwo-themes
Category       : gnome
License        : GPL3
Votes          : 448
Out of Date    : No
Maintainer     : OmeGa
Submitted      : Fri 27 May 2011 09:24:42 AM MDT
Last Modified  : Sun 13 Apr 2014 02:40:18 PM MDT
Description    : A theme for GTK3, GTK2, Metacity, xfwm4, Gnome Shell and Unity.

m177er ~ $ cower -i --format %a zukitwo-themes
1397421618

Thanks.

Offline

#153 2014-04-14 14:47:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cower and burp: fast and simple AUR {up,down}loading

It looks like the number of seconds, epoch, standard stuff: https://en.wikipedia.org/wiki/Unix_time

Edit:

$ date -d 2014-04-13 +%s                                                               
1397340000
$ date -d @1397340000
Sun Apr 13 00:00:00 CEST 2014
$ date -d @$(cower -i --format %a zukitwo-themes)
Sun Apr 13 22:40:18 CEST 2014

Edit 2: Is your cower up to date?

Last edited by karol (2014-04-14 14:59:27)

Offline

#154 2014-04-14 16:13:12

M177ER
Member
Registered: 2008-06-15
Posts: 148

Re: cower and burp: fast and simple AUR {up,down}loading

Thanks karol.

karol wrote:

It looks like the number of seconds, epoch, standard stuff: https://en.wikipedia.org/wiki/Unix_time


Edit:

$ date -d 2014-04-13 +%s                                                               
1397340000
$ date -d @1397340000
Sun Apr 13 00:00:00 CEST 2014
$ date -d @$(cower -i --format %a zukitwo-themes)
Sun Apr 13 22:40:18 CEST 2014

Edit 2: Is your cower up to date?

Cower is up to date, I just installed it last night. I'll try this when I get home:

$ date -d @$(cower -i --format %a zukitwo-themes)


Edit
--------------------------------------------------------
Thank you for the info. I had just installed cower, was testing the different commands and was wondering if I was missing something when use the date options.

m177er ~ $ sudo pacman -Qm cower
cower 11-3

m177er ~ $ date -d @$(cower -i --format %a zukitwo-themes)
Sun Apr 13 14:40:18 MDT 2014

Last edited by M177ER (2014-04-15 01:09:28)

Offline

#155 2014-05-03 08:15:42

alphe
Member
Registered: 2009-03-30
Posts: 18

Re: cower and burp: fast and simple AUR {up,down}loading

First of all thanks for your contribution falconindy.

Unless I miss something, neither the --ignore parameter nor the IgnorePkg variable in config works

~/.config/cower $ cower --debug -uv --ignore z600
debug: ignoring package: z600
debug: found config option: IgnorePkg => dep_build
debug: ignoring package: dep_build
debug: initializing curl
debug: initializing alpm
debug: registering alpm db: core
debug: registering alpm db: extra
debug: registering alpm db: community
debug: registering alpm db: multilib
debug: registering alpm db: aur
:: Checking cower for updates...
:: Checking z600 for updates...
debug: [cower]: curl_easy_perform https://aur.archlinux.org/rpc.php?type=info&arg=cower
:: Checking dep_build for updates...
debug: [z600]: curl_easy_perform https://aur.archlinux.org/rpc.php?type=info&arg=z600
debug: [dep_build]: curl_easy_perform https://aur.archlinux.org/rpc.php?type=info&arg=dep_build
debug: [dep_build]: server responded with 200
debug: [z600]: server responded with 200
debug: [cower]: server responded with 200
debug: releasing curl
debug: releasing alpm

Offline

#156 2014-05-03 10:55:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cower and burp: fast and simple AUR {up,down}loading

I'm not sure what you mean, alphe.
I have moc-svn in IgnorePkg.

$ cower -uv --ignore rxvt-unicode-multi_display-256xresources

<snip>

:: Checking penguin-command for updates...
warning: moc-svn [ignored] 2526-1 -> 2536-1
:: Checking rmlint-git for updates...

<snip>

warning: rxvt-unicode-multi_display-256xresources [ignored] 9.19-1 -> 9.20-1
:: Checking weatherman for updates...

<snip>

Offline

#157 2014-05-03 11:39:39

alphe
Member
Registered: 2009-03-30
Posts: 18

Re: cower and burp: fast and simple AUR {up,down}loading

I assumed that with ignore* cower will ignore this package at all.

From your example I understand that does not update these packages. Just like pacman.

I have a few local packages. Some of them exist in aur but I have modified them so I do want these packages  to be handled by cower.

Either way it is (almost) the same.

Thanks karol.

Offline

#158 2014-05-03 17:27:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cower and burp: fast and simple AUR {up,down}loading

If you don't want the warning in the output, you have to use the '-q' switch

$ cower -uq --ignore rxvt-unicode-multi_display-256xresources
$ 

as just dropping '-v' is not enough:

$ cower -u --ignore rxvt-unicode-multi_display-256xresources
warning: moc-svn [ignored] 2526-1 -> 2536-1
warning: rxvt-unicode-multi_display-256xresources [ignored] 9.19-1 -> 9.20-1

Nothing gets updated either way.

Offline

#159 2014-05-09 12:36:43

axper
Member
Registered: 2013-01-25
Posts: 115

Re: cower and burp: fast and simple AUR {up,down}loading

Is it possible to list every package from AUR? I want to grep the output to find every package in specified category.

Offline

#160 2014-05-09 12:43:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: cower and burp: fast and simple AUR {up,down}loading

No, it isn't.

Offline

#161 2014-05-09 13:46:06

axper
Member
Registered: 2013-01-25
Posts: 115

Re: cower and burp: fast and simple AUR {up,down}loading

Is it possible to search exact name?

Offline

#162 2014-05-10 13:18:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: cower and burp: fast and simple AUR {up,down}loading

sure, but in that case, you'd be using -i, not -s.

Suggest you read the manual...

Offline

#163 2014-06-13 12:12:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cower and burp: fast and simple AUR {up,down}loading

IIRC, pacman used to print package description at the bottom, but now it's near the top:

$ pacman -Si firefox
Repository     : extra
Name           : firefox
Version        : 30.0-1
Description    : Standalone web browser from mozilla.org

<snip>

Do you want to keep the package descriptions at the bottom in cower?

$ cower -i wine-wow64-git
Repository     : aur
Name           : wine-wow64-git
Version        : 20120216-1

<snip>

Description    : A compatibility layer for running Windows programs (both 32-bit and 64-bit; from git)

Offline

#164 2014-12-22 01:09:23

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

Re: cower and burp: fast and simple AUR {up,down}loading

Any plans to update for libalpm.so.9?


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

#165 2014-12-22 01:30:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cower and burp: fast and simple AUR {up,down}loading

ngoonee wrote:

Any plans to update for libalpm.so.9?

Not sure what you mean, but cower-git works with pacman 4.2:

$ pacman -Qo /usr/lib/libalpm.so.9
/usr/lib/libalpm.so.9 is owned by pacman 4.2.0-2
$ cower --version

  12
     \
      \
        ,__, |    |
        (oo)\|    |___
        (__)\|    |   )\_
          U  |    |_w |  \
             |    |  ||   *

             Cower....

Offline

#166 2014-12-22 03:57:02

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: cower and burp: fast and simple AUR {up,down}loading

Maybe is talking about take adventage of new features only present in the new pacman?


Well, I suppose that this is somekind of signature, no?

Offline

#167 2014-12-23 01:08:29

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

Re: cower and burp: fast and simple AUR {up,down}loading

karol wrote:
ngoonee wrote:

Any plans to update for libalpm.so.9?

Not sure what you mean, but cower-git works with pacman 4.2:

$ pacman -Qo /usr/lib/libalpm.so.9
/usr/lib/libalpm.so.9 is owned by pacman 4.2.0-2
$ cower --version

  12
     \
      \
        ,__, |    |
        (oo)\|    |___
        (__)\|    |   )\_
          U  |    |_w |  \
             |    |  ||   *

             Cower....

I meant a new release of cower, sorry for being unclear smile


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

#168 2015-01-14 03:38:35

joaocandre
Member
Registered: 2013-02-23
Posts: 147

Re: cower and burp: fast and simple AUR {up,down}loading

I was trying to isntall cower and encountered the following error:

==> Verifying source file signatures with gpg...
    cower-12.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53)
==> ERROR: One or more PGP signatures could not be verified!

And I got around it following the steps described in https://bbs.archlinux.org/viewtopic.php?id=152337. It did work, though as that post is already more than 2 years old, I was wondering if this was the best way to solve the issue or if there's a better way?

Offline

#169 2015-01-14 03:58:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: cower and burp: fast and simple AUR {up,down}loading

Offline

#170 2015-01-16 02:11:16

joaocandre
Member
Registered: 2013-02-23
Posts: 147

Re: cower and burp: fast and simple AUR {up,down}loading

Thanks for the info. Still, it looks to me that the fix I posted above pointed makepkg to pacman's signed keys, instead of individually signing the key of that specific package.

Offline

#171 2016-07-12 16:05:16

jmontano
Member
From: Colombia
Registered: 2013-04-29
Posts: 9

Re: cower and burp: fast and simple AUR {up,down}loading

Trying to build cower got this error message:

==> Iniciando build()…
cc -pthread  -Wl,-O1,--sort-common,--as-needed,-z,relro  cower.o aur.o package.o  -lcurl -lalpm -lyajl -larchive -lcrypto -o cower
collect2: error: ld devolvió el estado de salida 1
make: *** [<integrado>: cower] Error 1
==> ERROR: Se produjo un fallo en build().

I have no idea how to solve it. Anyone does?

[SOLVED] it was the stupidest mistake. I'd ran out of space on my /tmp partition.

Last edited by jmontano (2016-07-12 16:12:26)

Offline

#172 2016-08-17 09:48:29

dr34m
Member
Registered: 2016-07-28
Posts: 47

Re: cower and burp: fast and simple AUR {up,down}loading

Offline

#173 2017-08-05 10:34:02

obarun
Member
Registered: 2015-07-22
Posts: 11
Website

Re: cower and burp: fast and simple AUR {up,down}loading

a question on this beautiful tools : is it possible to deal with github (API) account with the --domain option?

Offline

Board footer

Powered by FluxBB