You are not logged in.

#51 2008-04-29 06:11:03

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: arson - The HOT AUR search helper

This is pretty awesome, I was waiting for a AUR RPC client. Thanks

Offline

#52 2008-04-29 17:02:39

benito
Member
Registered: 2008-04-17
Posts: 12

Re: arson - The HOT AUR search helper

zenix: Of course I don't mind you included my code, that was the reason I posted it. smile

I also appreciate the one-directory-feature! But it bombs on me if there is a file of the same name as the package in the pkgdir (example: aiccu):

/usr/lib/ruby/1.8/fileutils.rb:499:in `mv': File exists - aiccu (Errno::EEXIST)
    from /usr/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
    from /usr/lib/ruby/1.8/fileutils.rb:1404:in `fu_each_src_dest0'
    from /usr/lib/ruby/1.8/fileutils.rb:1402:in `each'
    from /usr/lib/ruby/1.8/fileutils.rb:1402:in `fu_each_src_dest0'
    from /usr/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
    from /usr/lib/ruby/1.8/fileutils.rb:494:in `mv'
    from /usr/bin/arson:183:in `aur_download'

That leaves this:

~> ls -lR aiccu 
aiccu:
total 8
drwxr-xr-x 2 user wheel 4096 29. Apr 18:45 aiccu
-rw-r--r-- 1 user wheel 1029 29. Apr 18:45 aiccu.tar.gz

aiccu/aiccu:
total 8
-rw-r--r-- 1 user wheel 984 29. Apr 18:45 aiccu
-rw-r--r-- 1 user wheel 892 29. Apr 18:45 PKGBUILD

Of course one can't move ./aiccu/aiccu/aiccu to ./aiccu/aiccu...

AFAIK it's part of the Arch PKGBUILD Standard[tm] to place all files into a subdirectory of the same name as the package before tar'ing them. So you might simply untar the tarball to the current directory -- as long as nothing is being overwritten, I'd say. But I don't know if this is possible with minitar. -?

Last edited by benito (2008-05-05 20:16:44)

Offline

#53 2008-04-30 00:56:05

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

Guess what? I heard you guys in a timely manner (finally!). Here's a bugfix release!

arson 0.8.2 has been released! Yay! Now, calling "arson -U" works!

ChangeLog: (it's a short one!)

arson v0.8.2 (29April2008)
- Stupid me. When checking the keyword count for commands, I wanted to exclude
:upgrade. I put :update instead. Fixed. (Thanks rson451)
- Changed minitar to extract instead to /pkg/pkg/[files] to instead
/pkg/[files]
- Stopped including ToDo with the distribution. Added ToDo: Move contents of
ToDo to the Remember the Milk public Todo.

So, what feature should I work on now? I still need to get my website finished (I'm making it from scratch, mostly) so then I could be confident to host a bugtracker (which I'm working on with the main dev to add OpenID support) and possibly host git myself (I've talked on IRC a bit, it seems lighter than I thought. Maybe as a test run then?) Great. I want to do all that and school isn't even over yet. I really wish someone would at least point the way so I could quickly setup a centralized git server and put up my website working code and let others help out while I'm studying for exams (gah, how I hate them...) Enough ranting. Download the fixes & enjoy!


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#54 2008-04-30 09:23:29

benito
Member
Registered: 2008-04-17
Posts: 12

Re: arson - The HOT AUR search helper

Sadly, there's yet another bug in the Upgrade-operation: the method `pacman_check_aur_updates` is defined but is isn't called anywhere (AFAICS).

And the extraction of the tarball is faulty as well: if the tarball is extracted to the current working directory there is no second subdirectory, so this second subdirectory shouldn't be `mv`ed or `rm`ed -- for e.g. in case of the package `aiccu` (but also arson itself!) this leads to the script, that's called like the package, being removed (try `arson -D arson`).

Suggested  patch for the second:

 --- /usr/bin/arson.orig    2008-04-30 11:15:53.000000000 +0200
+++ /usr/bin/arson    2008-04-30 11:18:47.000000000 +0200
@@ -179,12 +179,12 @@
             # Extract pkg.tar.gz to `pwd`, instead of `pwd`/pkg
             Archive::Tar::Minitar.unpack(tgz, Dir.pwd)
 
-            # Getting everything into 1 directory
-            FileUtils.mv "#{pkg}.tar.gz", pkg
-            FileUtils.mv Dir["#{pkg}/#{pkg}/*"],pkg
-            FileUtils.rm_r "#{pkg}/#{pkg}"
-            # Deleting the .tar.gz after it's been extracted
-            FileUtils.rm "#{pkg}/#{pkg}.tar.gz" unless $Options[:no_delete]
+            # Deleting the .tar.gz unless it's marked to be kept
+            if $Options[:no_delete]
+                FileUtils.mv "#{pkg}.tar.gz", pkg
+            else
+                FileUtils.rm "#{pkg}.tar.gz" 
+            end
 
         else
             puts colorful("Error: #{pkg} already exists. Pass -f to skip this check", :red)

But anyway: Thanks for your quick responses! They make it enjoyable to stay tuned and help!

Offline

#55 2008-04-30 16:04:09

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: arson - The HOT AUR search helper

benito wrote:

Sadly, there's yet another bug in the Upgrade-operation: the method `pacman_check_aur_updates` is defined but is isn't called anywhere.

smile he must have missed part of the diff i posted.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#56 2008-05-25 06:26:15

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: arson - The HOT AUR search helper

How come the searches are so slow? I was under the impression that because it's using RPC, the searches would be performed server-side and as instantaneous as searching for them on the site.

edit: After looking into it, I submitted a patch for a query method that will return the fields you ask for. Should speed the searches up considerably, if accepted.

Last edited by scj (2008-05-29 11:00:01)

Offline

#57 2008-05-29 13:17:44

scj
Member
From: Sweden
Registered: 2007-09-23
Posts: 158

Re: arson - The HOT AUR search helper

I wrote a simple rewrite of arson to make use of my json query patched version of AUR. The searches are ALOT faster!

http://pastebin.org/39449

it can download, but the server only has dummy packages anyway.

Last edited by scj (2008-05-29 13:28:55)

Offline

#58 2008-05-30 15:27:41

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

I second rson451.
There hasn't been one time where I have tried arson and did not get a stack trace. It's a simple script, yet so buggy.

Is it possible to use YARV to speed it up?

Last edited by SpookyET (2008-05-30 17:45:10)

Offline

#59 2008-05-30 17:43:31

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

FISH Completion

It should go into one of the following:
~/.config/fish/completions/arson.fish
/usr/share/fish/completions/arson.fish

arson.fish

# vim: set ft=fish :et"

complete -c 'arson' -s 'D' -l 'Download' -x -d "Download the AUR package specified"
complete -c 'arson' -s 'S' -l 'Search' -x -d "Search AUR for a package name"
complete -c 'arson' -s 'I' -l 'Info' -x -d "Get information about a package"
complete -c 'arson' -s 'U' -l 'Upgrade' -A -d "List of foreign packages which have an update available for them in AUR"
complete -c 'arson' -l 'save-to' -n '__fish_contains_opt -s D Download' -r -d "Directory for arson to download AUR packages [Default: Current directory]"
complete -c 'arson' -s 'k' -l 'keep' -n '__fish_contains_opt -s D Download' -d "Keep the .tar.gz after extracting it [Default: Delete]"
complete -c 'arson' -s 'f' -l 'force' -n '__fish_contains_opt -s D Download' -d "Force the extraction of the package"
complete -c 'arson' -s 'v' -l "verbose" -d "Run verbosely"
complete -c 'arson' -s 'c' -l 'no'-color -d "Supress color output [Default: No]"
complete -c 'arson' -s 'V' -l 'version' -d "Display the version number"
complete -c 'arson' -s 'h' -l 'help' -d "Display the help message"
complete -c 'arson' -l 'more-help' -d "Display even more help"

Here's how completion generally looks like in FISH:
fish-service-completion.png

Don't ask to write bash completion. It's horrible. I may write a zsh one.

Offline

#60 2008-05-30 17:55:47

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

A recursive download would be useful -- download dependencies as well.

Offline

#61 2008-05-30 19:35:32

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

Which is the most readable?

aur-info-readability.png

Last edited by SpookyET (2008-05-30 19:35:45)

Offline

#62 2008-05-30 19:49:07

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

I'm sorry mate, but for something so bleeding simple, it should not be so buggy.

sorin ~/P/a/test > for i in (p -Qqm); arson -D $i;end
Downloading package arson to /home/sorin/Packages/abs/test
Found package arson! Downloading it now...
Downloading package aurshell-git to /home/sorin/Packages/abs/test
Found package aurshell-git! Downloading it now...
/usr/lib/ruby/1.8/fileutils.rb:1297:in `unlink': No such file or directory - aurshell-git/aurshell-git (Errno::ENOENT)
    from /usr/lib/ruby/1.8/fileutils.rb:1297:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1302:in `platform_support'
    from /usr/lib/ruby/1.8/fileutils.rb:1296:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1285:in `remove'
    from /usr/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
    from /usr/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
     ... 7 levels...
    from /usr/bin/arson:149:in `aur_download'
    from /usr/bin/arson:147:in `each'
    from /usr/bin/arson:147:in `aur_download'
    from /usr/bin/arson:295
Downloading package aurvote to /home/sorin/Packages/abs/test
Found package aurvote! Downloading it now...
/usr/lib/ruby/1.8/fileutils.rb:1297:in `unlink': No such file or directory - aurvote/aurvote (Errno::ENOENT)
    from /usr/lib/ruby/1.8/fileutils.rb:1297:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1302:in `platform_support'
    from /usr/lib/ruby/1.8/fileutils.rb:1296:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1285:in `remove'
    from /usr/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
    from /usr/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
     ... 7 levels...
    from /usr/bin/arson:149:in `aur_download'
    from /usr/bin/arson:147:in `each'
    from /usr/bin/arson:147:in `aur_download'
    from /usr/bin/arson:295
Downloading package color-theme to /home/sorin/Packages/abs/test
Downloading package colorgcc to /home/sorin/Packages/abs/test
Found package colorgcc! Downloading it now...
/usr/lib/ruby/1.8/fileutils.rb:1297:in `unlink': No such file or directory - colorgcc/colorgcc (Errno::ENOENT)
    from /usr/lib/ruby/1.8/fileutils.rb:1297:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1302:in `platform_support'
    from /usr/lib/ruby/1.8/fileutils.rb:1296:in `remove_file'
    from /usr/lib/ruby/1.8/fileutils.rb:1285:in `remove'
    from /usr/lib/ruby/1.8/fileutils.rb:756:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:1339:in `postorder_traverse'
    from /usr/lib/ruby/1.8/fileutils.rb:754:in `remove_entry'
    from /usr/lib/ruby/1.8/fileutils.rb:612:in `rm_r'
     ... 7 levels...
    from /usr/bin/arson:149:in `aur_download'
    from /usr/bin/arson:147:in `each'
    from /usr/bin/arson:147:in `aur_download'
    from /usr/bin/arson:295
Downloading package dtach to /home/sorin/Packages/abs/test
Found package dtach! Downloading it now...
Downloading package exiftool to /home/sorin/Packages/abs/test
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:694: Interrupt
    from /usr/bin/arson:14:in `require'
    from /usr/bin/arson:14
fish: Job 1, "arson -D $i;" terminated by signal SIGINT (Quit request from job control (^C))
sorin ~/P/a/test >

Offline

#63 2008-05-30 21:32:19

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: arson - The HOT AUR search helper

spooky, there is a new build that i've not had problems with. i admittingly dont install many packages from aur though.  zenix will be posting it soon i believe.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#64 2008-05-30 21:39:22

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

rson451 wrote:

spooky, there is a new build that i've not had problems with. i admittingly dont install many packages from aur though.  zenix will be posting it soon i believe.

I'm using the latest.

Offline

#65 2008-06-01 21:22:27

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

Ok, I've uploaded 0.8.3, which contains fixes for the -U command. I've not change PKGBULID to include the -m parameter nor have I included completion for any shell. I'm not sure this would fix any problem Spooky has been getting, but I'd like him to test this release. I'll look into seeing what I can do to speed the script up, but no guareetees!

Git Repo! git://github.com/evaryont/arson.git

SpookyET: This is the latest rson was talking about. Officially relesed. Yay me. Can someone else test SpookyET's fish completion? Just want to make sure it works. The -I parameter is supposed to be short. It's detailed, yet it doesn't take up much vertical space. I'll see about adding a longer version (maybe -Qv?) that looks closer to pacman/yaourt but I'm not sure. I like -I how it is. Besides, this isn't that simple, really.

Current goals:
* Add recursive download. Not sure exactly how to tell the difference between pacman and AUR packages, but I'll see what I can do. *DONE*
* Add a check for the File.unlink calls, to prevent the above errors (though I've never gotten them) *DONE*
* Wait until Aaron/Simo finally push AUR v1.5.2, which would include the &include= parameter to /rpc.php, so I can include scj's changes. Delayed until AUR v1.5.3, due by Sept
* Add a "makepkg -s" call, to have arson make the pkg. (Default: Don't). arson will be one step closer to auto-install, but not actually there. Opinions?
* Add Ferret indexing (in mem) for adv searching. *DONE* *Reversed, it was a stupid idea*
* Add alphabetical sort for the output in -S (by package name) *DONE*
* Add searching pacman cache. (Sort would then also be by repo name)

EDIT: For those who downloaded the package a few minutes ago and found that it wasn't work, sorry, my fault! I forgot to update the PKGBUILD. Now it works! Have fun with it smile

EDIT: Updates, the repo is Github now, not gitorious.

Last edited by zenix (2008-07-22 00:26:26)


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#66 2008-06-01 22:36:57

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

zenix wrote:

Ok, I've uploaded 0.8.3, which contains fixes for the -U command. I've not change PKGBULID to include the -m parameter nor have I included completion for any shell. I'm not sure this would fix any problem Spooky has been getting, but I'd like him to test this release. I'll look into seeing what I can do to speed the script up, but no guareetees!

Git Repo! http://gitorious.org/projects/arson

SpookyET: This is the latest rson was talking about. Officially relesed. Yay me. Can someone else test SpookyET's fish completion? Just want to make sure it works. The -I parameter is supposed to be short. It's detailed, yet it doesn't take up much vertical space. I'll see about adding a longer version (maybe -Qv?) that looks closer to pacman/yaourt but I'm not sure. I like -I how it is. Besides, this isn't that simple, really.

Current goals:
* Add recursive download. Not sure exactly how to tell the difference between pacman and AUR packages, but I'll see what I can do.
* Add a check for the File.unlink calls, to prevent the above errors (though I've never gotten them)
* Wait until Aaron/Simo finally push AUR v1.5.2, which would include the &include= parameter to /rpc.php, so I can include scj's changes.
* Add a "makepkg -s" call, to have arson make the pkg. (Default: Don't). arson will be one step closer to auto-install, but not actually there. Opinions?
* Add Ferret indexing (in mem) for adv searching.
* Add alphabetical sort for the output in -S (by package name)
* Add searching pacman cache. (Sort would then also be by repo name)

EDIT: For those who downloaded the package a few minutes ago and found that it wasn't work, sorry, my fault! I forgot to update the PKGBUILD. Now it works! Have fun with it smile

The fish completion works. I also wrote a zsh one which I'll post later.

It's not just the -I parameter. It's everything. Sentences are hard to scan. They are not concise. I actually have to read its output like a news article.
Also, the script's AUR interaction is slow compared to aursh, which is instant. Sometimes, it's slower than yaourt.
-U is pretty worthless for me. As you may know, I keep a local repository of all aur packages I install.
I have nothing foreign. So, it can't check for updates because it uses "pacman -Qqm". It would be useful if I could tell it to treat certain repositories as foreign.

It's still not working properly.

% arson -D arson 
Downloading package arson to /home/sorin/test
Found package arson! Downloading it now...
Error: arson already exists. Pass -f to skip this check
% arson -f -D arson
Downloading package arson to /home/sorin/test
Found package arson! Downloading it now...
Error: arson already exists. Pass -f to skip this check
%

Another problem. It does not create the subdirectory under certain circumstances.

% arson -D exiftool
Downloading package exiftool to /home/sorin/test
WARNING: You are about to download exiftool, which has been flagged out of date!
Found package exiftool! Downloading it now...
% ll
total 272K
-rw-r--r-- 1 sorin users  584 2008-06-01 18:34 PKGBUILD

Offline

#67 2008-06-01 23:52:39

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

I've never gotten those errors... Can you paste your ruby version? Also, what is the contents of ~/test?


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#68 2008-06-01 23:58:34

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

% p -Qs ruby
local/ruby 1.8.6_p114-1
    An object-oriented language for quick and easy programming
local/rubygems 1.1.0-1
    A package management framework for the Ruby programming language

I just tested arson in ~test. There is nothing there besides what arson created.

I did the loop to test if it can download properly.

for i in (p -Qqm); arson -D $i; end

Offline

#69 2008-06-02 02:10:57

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

alright, 0.8.4 is out! Arson is still slow, but once Aaron/Simo finally commit & push scj's patches, arson's speed will shoot up!
Changelog:

arson v0.8.4 (1June2008)
- Added SpookyET's FISH arson completion script.
- Will add SpookyET's Zsh arson completion whenever.
- Fixed -f paramter, it now actually works!
- Added Ferret searching. To use it: arson -S <keyword> <filter> where
<filter> is a Ferret query (see:
http://ferret.davebalmain.com/api/classes/Ferret/QueryParser.html)
- Added alphabetical sorting to all commands.
- Added a check for the only FileUtils#rm call in the script.
- Still waiting on Aaron or Simo to push 1.5.2 with scj's patches - those will
help in arson's speed immensely!

I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#70 2008-06-02 02:27:57

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

You need to put the completion in /usr/share/fish/completions/arson.fish
* You forgot to update the md5sums. I suggest emacs with pkgbuild-mode. It takes care of that.
* install: invalid mode `100644'  (invalid -m switch)
* install: invalid mode `100755'   -- " --
* ==> ERROR: Build Failed

- I would suggest upgrading/installing during an update as well. I installed ferret and that fixed it.
* arson --help should not be more than 80 characters wide. Use multiple lines to describe a command.
* You did not add the new filter option to search the command to help. I would suggest --filter to simplify things. The current way makes completion very hard.
* Downloading packages that are out of date is still broken.
- -f was indeed fixed.

I'm seriously thinking of forgetting this script. Attention to detail is seriously lacking.

Don't code guidence software in ADA for rockets. It might boomerang your house. BOOM.

Last edited by SpookyET (2008-06-02 02:54:26)

Offline

#71 2008-06-02 10:25:49

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

1. I haven't gotten confirmation that the completion works. It's in the .tar.bz2, if you really want it.
2. Sorry about that, I'll upload the PKGBUILD again
3. invalid modes: fixed. Will upload
4. I don't do the upgrade/install because rubygems is so slow. The alert message is enough, IMO.
5. I'll change it, but you're the first to complain.
6. I'll update the help, but other than for completion, there isn't any other reason to add a --filter option. If anyone else wants it, I'll add it.
7. exiftool is broken, the .tar.gz in AUR is packaged differently than the normal packages built by makepkg (bad hand-made job?) so that won't work with arson, period. I haven't encountered this with any other out-of-date packages. (Tested: qpkg)
8 Told ya, -f was fixed. Though, I don't understand why it didn't work in the first place, thanks for alerting me.

Go ahead, "forget" this script. Honestly, I like this over any other solution currently available. (Of course, I wrote it wink) Thank you for the bug reports and fish/zsh (whenever you post that) completion, but if you think that attention to detail is lacking, why don't you help? The git repo is publicly readable, so you can always check out the latest revision and work on a bug yourself. This is a one-person job, not a whole corporation. I'm sorry arson isn't up to your standards. Though, they are good standards, something like >80 char width shouldn't be much of a put-off, imo.


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#72 2008-06-02 13:01:10

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

You probably won't get confirmation any time soon. There are few arch fish users. Though, it's no zsh, nevertheless, fish is awesome because it's got awesome features and it breaks the 38 year shell routine.

pacman -S fish
Put this folder in ~/.config/ . The completion is already there.

FISH screenshots
FISH review

Offline

#73 2008-06-02 21:36:49

zenix
Member
From: Earth - Save it!
Registered: 2007-08-05
Posts: 104
Website

Re: arson - The HOT AUR search helper

arson v0.8.5 (1June2008)
- PKGBUILD fixes. Oops.
- Completion is now installed.
- added a "beta mode" - just add "beta" anywhere in arson's parameter list,
and ruby-prof will be activated. Requires ruby-prof (sudo gem install
ruby-prof) to be installed.
- The help message is now no longer than 80 charachters wide!

SpookyET: Sorry. thanks for the prodding. I'm sure this works now smile

Spooky recommended adding a --filter option for the search filter (right now, it's the second parameter) - should I? Opinions?

Last edited by zenix (2008-06-02 21:47:37)


I made an AUR helper once.
I also go by evaryont and nogweii elsewhere on the internet.
Check out my projects and packages.

Offline

#74 2008-06-02 21:55:05

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: arson - The HOT AUR search helper

Do you think that you can implement --foreign <repository name> so I won't have to uncomment my local repo to check for AUR updates? I put all AUR packages in a local repository. I have nothing foreign. No AUR script is capable of this. It's an opportunity to differentiate yourself.

One thing that makes searching slow is that it's not incremetal. It waits for the entire query to be returned before it displays the results.

I still prefer aursh for searches.
aursh aur search kde -> 1 second (421 packages)
arson -S kde -> infinity :-( Well, maybe not infinity, but who knows, hours?

Last edited by SpookyET (2008-06-02 22:08:22)

Offline

#75 2008-06-02 22:20:25

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: arson - The HOT AUR search helper

i see nothing wrong with adding search filters, but i do agree it should be an option.  mainly because if it's ever implemented to search for multiple keywords the second paramater thing will be out of whack.  i also like spooky's idea about adding foreign repos.  setting up a local repository is probably very convenient for some users and adding this facility in arson would set it apart from others at this time.

i'm going to look into how aursh searches because that big of a difference is crazy.  i'm curious myself.

zenix -- my server barfed over the weekend so i've not been on irc.  i'll get up with you soon about that script you were talking about.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB