Arson - The HOT AUR search helper

Yay, first community contribution!
\ V ) ` ` ) ( )
_) _ `__ ___' __( ) _/
/ _` | '__/ __|/ _ \| '_ \
| (_| | | \__ \ (_) | | | |
\__,_|_| |___/\___/|_| |_|
the AUR search helper!
Thanks rson for this ascii art!
arson v0.8.7 - The HOT AUR search helper!
Usage: arson [options] -COMMAND KEYWORD1 [KEYWORD2 ...]
Where -COMMAND is one of:
-D, --Download Download the AUR package specified
-S, --Search Search AUR for a package name
-I, --Info Get information about a package
-U, --Upgrade List of foreign packages which have an
update available for them in AUR
Download options
--save-to [PATH] Directory for arson to download AUR
packages [Default: Current directory]
-k, --keep Keep the .tar.gz after extracting it
[Default: Delete]
-f, --force Overwrite the package's extraction target
if it exists. [Default: Don't]
-r, --[no-]recursive Check the dependency list for other AUR
packages. [Default: Yes]
Upgrade options
--foreign [REPO] Set all packages within a repository as
foreign, to be included in the
upgrade search. This can be repeated
multiple times. [Default: None]
Info options
-l, --[no-]long Use a more tabular display for output
Generic options
-v, --[no-]verbose Run verbosely
-c, --no-color Supress color output [Default: No]
-V, --version Display the version number
-h, --help Display this help message
--more-help Display even more help
Arson is a cli AUR searcher and downloader, written in Ruby. It allows you to search the AUR for a package you want, and download it. It does NOT automatically install the downloaded package. It can extract it, but not install. Searching for a package also searches through pacman's db cache (rather than going to each mirror and querying those).
Requirements:
ruby
rubygems
Ruby JSON gem (To install it: gem install json)
Ruby Facets gem (To install it: gem install facets)
Get it while it's hot! Download from AUR: http://aur.archlinux.org/packages.php?ID=16021
Last edited by zenix (2008-12-22 11:17:39)

Arson still doesn't work for me in urxvt - it produces the same error as before:
$ arson -S arson
/usr/lib/ruby/site_ruby/1.8/terminfo.rb:80:in `tigetstr': canceled or absent string capability (TermInfo::TermInfoError)
from /usr/lib/ruby/site_ruby/1.8/terminfo.rb:80:in `control_string'
from /usr/lib/ruby/site_ruby/1.8/terminfo.rb:43:in `control_string'
from /usr/bin/arson:26
It seems to work fine in xterm and xfce Terminal though.
I installed ruby, rubygems, ruby-terminfo (make, sudo make install) and minitar (via the .gem file).
Also, I noticed that passing an invalid option produces a whole array of errors, I don't know if it's intended or not:
$ arson -foo
/usr/lib/ruby/1.8/optparse.rb:1443:in `complete': invalid option: -foo (OptionParser::InvalidOption)
from /usr/lib/ruby/1.8/optparse.rb:1441:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1441:in `complete'
from /usr/lib/ruby/1.8/optparse.rb:1280:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1247:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1241:in `order!'
from /usr/lib/ruby/1.8/optparse.rb:1332:in `permute!'
from /usr/lib/ruby/1.8/optparse.rb:1353:in `parse!'
from /usr/bin/arson:45:in `opt_parse'
from /usr/bin/arson:121
Anyway, this looks like a nice utility - once I get it working. (I don't mean to sound harsh, I appreciate your efforts! )

Similar Messages

  • Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Hello,
    this topic is still a problem for me, does anybody have an idea.
    Just to show what's my problem:
    Collective Search help KRED does include a SAP append-search help ASH_KRED which holds the elementary search helps KREDC, KREDE, KREDM, KREDW.
    The search helps KREDE, KREDM, KREDW should not be displayed, so I added another Serach-Help-Append ZKRED_CUST at the end of CSH KRED which holds these 3 SH's with the hidden flag.
    That works, the SH's are not shown anymore.
    I also added some other of the Original SAP SH's (e.g. KREDA) with the hidden flag and added changed copies of these (e.g ZKREDA) there to be shown instead.
    All this can be done modification free by appends.
    The folders of the elementary search helps are shown in the order as they are found included in the KRED SH and the append to this SH.
    This means that the not hidden Sh KREDC from ASH_KRED is shown before all the "custimized" ZKREDx -SH's. But we need this SH not very often, so that I want it to displayed al the right-most position of the folders of SH's or at the most down postition of the drop-down-selection of SH's.
    But I have not found any way to do this modification free.
    The only way to archive this is to modify ASH_KRED by setting the Hidden-Flag for KREDC and add this SH at the end of append-SH ZKRED_CUST again.
    But I want avoid this modification.
    So, is there any way to do this without modifing any of the original SAP SH's ?
    Helmut Fischer

  • What is the use of search helps? where can we creat it?

    use of search helps and where can we create it?

    Hi narendra
    LOCK OBJEC TS
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    SEARCH HELPS
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Match code objects are same as Search helps, where they are used in Previous versions of SAP.
    Now in the newer versions Search helps are replaced them.
    Standard Texts are the texts which are maintained in SO10 Tcode
    Every SAP application document is maintained with HEADER and ITEM texts
    and these texts are fetched from SAP using the READ_TEXT Function module
    by passing TEXT ID, TEXTNAME,TEXTOBJECT and LANGUAGE fields
    You can double click on any long text in the systesm and you can see these paramters in the text editor.
    Text Modules are created and used in Smartforms.
    check these links
    http://www.sap-img.com/abap/attach-a-search-help-to-the-screen-field.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/97/24a23fa34ffb47e10000000a114084/content.htm
    Reward points if useful
    Regards
    Pavan

  • Restricting the Value of Search help in MIRO based on vendor

    Dear all,
    I had a problem in resticting the values of search help for vendor in the Po reference tab.  the Seach help is KRED  .  I had written a search help exit in it but i dont know how to restrict the vaues. I have to restict the Vendors Which starts with 1 series like 10000001,1000002 etc.
    Can any one help me out where to write the code in search help exit like CALLCONTROL-STEP = 'SELONE' or 'SELECT' or 'DISP' and what logic i need to use.
    Thanks & regards
    sreehari p

    Hi Sreehari,
    Write your Select query inside  IF callcontrol-step = 'DISP'.
    Use below code.
    *Types
      TYPES: BEGIN OF l_ty_tab,
             lifnr TYPE lifnr,
             END OF l_ty_tab.
      DATA: l_t_tab TYPE TABLE OF l_ty_tab,
            l_wa_tab TYPE l_ty_tab,
            l_wa_recordtab TYPE seahlpres.
    *Before displaying hitlist
      IF callcontrol-step = 'DISP'.
        REFRESH: record_tab[],l_t_tab[].
    SELECT LIFNR FROM lfa1 INTO TABLE l_t_tab WHERE lifnr LIKE '1%'.
    IF NOT l_t_tab[] IS INITIAL.
    *Pass hitlist to standard table record_tab
        LOOP AT l_t_tab INTO l_wa_tab.
          l_wa_recordtab-string = l_wa_tab.
          APPEND l_wa_recordtab TO record_tab.
          clear l_wa_recordtab.
        ENDLOOP.
      ENDIF.
      ENDIF.
    Thanks,
    Sap Fan

  • Dynamically passing the values to search help

    hi
    can I pass some values dynamically to search help input field.
    If I select a profit centre value from a drop down in separate field it should reflect the corresponding values in
    search help which is cost centre input field ( i/p fields is in a column of a UI element table).
    If I add one more row also the corresponding column should bears the search help...
    thanx in advance.......

    Data dictionary based search helps can have multiple importing parameters within Web Dynpro.  There are few rules that are documented in the online help however:
    Be aware that import and export parameters for the search help are determined only within the same context node (see also Transport of Values for the Input Help), and even then only if a Dictionary structure is assigned to the node.
    http://help.sap.com/saphelp_nw70/helpdata/EN/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm

  • The field SAKNR search help doesn't work?

    Dear Expert,
    My dialog program used a table field data element call SAKNR ,
    and i set the search help in the layout screen of my table control.
    the search help works but after i double click it but the value didn't show up
    in the field.
    don't know what's going on...
    Please Help.
    Regards
    Jack Lee

    Search Help Name   :- C_SAKNR for data element  SAKNR and value table is SKA1 in module pool you can assign  Search Help Name

  • How to get the numerics in search help

    hai friends,
    I have a sel-screen with one text box as date range(from and to).
    below that the user wants another small text box in which if he goes with F4(search help) and it should contain three numerics (1,2,3)
    Here 1 = PO date(EKET-EINDT)
           2 = shipment start date(VTTK-DPTBG)
           3 = shipment end date(VTTK-DPTEN)
    and 1 should be default one.
    then accordingly the date range will be entered by the user and so on.
    can anybody give the solution for this.
    Thanks in advance.
    Regards
    Mahesh

    HI,
    JUST OPEN    SE11===>tick the  DOMAIN radiobutton ==>enter the name of the domain of ur field ===> after that click on VALUE RANGE tab===> give 1, 2 3 etc values in     FIX VAL. column  and write the corresponding text in SHORT TEXT  column  ===>  then save and activate
    now if u press F4 on that field u will get these three values
    hope it will help you
    regards
    rahul sharma
    Edited by: RAHUL SHARMA on Sep 19, 2008 1:56 PM

  • Add STEXT of object U in the result of search help PREM

    Hi All,
    At a customer (4.7 system) we would like to add a field "company" in the result of the search help PREM in pa30:
    This field "company" is the long text of object U. And object U is linked to object P.
    The problem is that I am not able to define join conditions in the selection method (ZM_PREMN) of the elementary search help (PREMN) to get the column "company" filled. Not possible to link HRP1001, PA0002, and HRP1000 to get stext of the correct object in the field company.
    I tried to define a user-exit for the search help, but the problem is that at the place where HRMC_PREM_EXIT_A is called I have not even the pernr's. (To be able to retrace the U's (company's) that are linked with the P's.)
    Does anyone already solved this kind of problems? Does anyone has the knowledge of BADI's for searchhelps?
    Or does anyone has knowledge of the place where we could repair it?
    Any help would be appreciated!
    Thomas

    Hi,
    You might have access to the pernr field by reader memory id 'PER'.
    thanks.
    JB

  • How to change the desription of a standard SAP field in the Search Help

    Hi All,
    In Table T023T there is a field WGBEZ60(Long text describing the material group) and the data element of the field is WGBEZ60.
    Requirement is to change the description of the field WGBEZ60.The desription of the  field is - Description 2 for the material group.
    But the user want as - Description for the material group. He dont want 2 in the description.
    we are using this field in the search help of Material group for the transaction ME21N and ME51N.
    So please tell me how can we change the description of the field in the Search help.
    Thanks.
    Regards,
    Peeyush

    As search help uses data element , it shows its keyword. So you have to do modification to that keyword.
    - Go to CMOD
    - from top menu GOTO -> Text enhancements -> Keywords -> Change -> type WGBEZ60 -> change the description -> Save and add it to transport
    - now use that data element either on the screen or search help. It will have the descripiton modified.
    Regards
    Marcin

  • Records not displayed in the WGBEZ field in H_T023_MEPO search help.

    Hello Friends,
    I have created the search help exit , in that based on the LREF3 , we have to fetch the materail groups.
    1.I have written the code in the exit , in the search help exit tables parameter record_tab , the data is coming correctly
    but when we run  search help, the description field is not getting displayed.
    I have shift 2-3 places left side as well but the description is not displayed correctly.
    So how can we get the description field filled.
    2. We want that the LREF3 field should come in the selection screen of the dialog box, so that user can enter the values in it.(dialog with value restriction) so i have added LREF3 field in the search help parameters but i want that
    this field should not be displayed in the results of search help . Only materail group and its description gets displayed.
    So can we achieve the same.
    Thanks to provide answers for my above two questions.

    Hi
    Please go through the related pointers ->
    The OSS note 672960 has already indicated you need to use BADI to address it.
    For Search criteria
    You can also use user-defined fields as search criteria. To do this, you have to set fields XINPUT and XDISPLAY to 'X' in table ET_FIELDS for the fields you want to use in BADI BBP_CUF_BADI_2 in method MODIFY_SCREEN. The fields defined this way are displayed if you choose the 'Extended search' link.
    Re: Custom field in Create Bid Invitation..
    Re: Search Help for Purchasing Group..
    Re: urgent help request - How to add custom fields to  header BID.
    Re: New Screen with table control information in Process Bid Invitation
    Do let me know.
    Regards
    - Atul

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • How to add the custom help exit to search help in SE11

    Hi All,
    I am trying to add the ZF4IF_SHLP_EXIT_EXAMPLE to search help exit in SE11 for search help LART . But system is asking for the access key.
    Is there any way we can achieve this with out using access key?
    Please suggest me.
    Regards
    Subhaskar

    Hi,
         To add a Search help exit goto SE11 -> in Search help option enter 'LART' -> click on display.
    once you have entered in you will have to click on change button. This will give on information message first, then it will ask if you have to maintain in the original language itself(only if you have logged in with any language other than DE). You can select your option in that then you will be able to view the same in EDIT mode. now you can go ahead and add your search help exit.
    Hope it helps.
    Thanks & Regards,
    Praveenkumar T.

  • Search help Enhancement for the Material Number (MAT1 - Search help name)

    Hi ,
    In my Requirement if the user clicks on the Material Number Search help(eg in ME51N - T.code: Material )
    It will shown a additional Search help along with the existing one.
    That search help would have input parameter fields as Material Number , Material Group , Material description , Plant and storage location.
    The output screen has to display the Available Quantity for the input  material, plant and  storage location.
    The available quantity has to calculated from various Tables like mard , mssq etc.
    My question is how to display the available quantity in the search help screen, i tried with search help exit but not successful.
    I am displaying the remaining fields(except available quantity)  using database view from different tables like Mara , Mard ,Makt.
    where to write the Logic for the Available Quantity to display it in search help.
    Thanks and Regards,
    Prakash K

    Hello,
    if this search help is collective then you could delete standard single (SAP allows maintain collective search help with out object key registration) one and insert custom search help which has the same structure plus additional field.
    best regards,

  • How to change the search help in the standard table?

    Hello Experts,
    Due to service package installation the search help in standard table (VBAP)  field (KDMAT) was changed from Collective search help (VMCV)  to elementary search help (VMCVA).
    Now I need to change the elementary search help to Collective search help, without taking the Access Key.
    Please suggest me the appropriate solution

    hi
    In SE11, go to the change mode of the collective search help and add the elementary search help, in the INCLUDED SEARCH HELPS tab.for including elementary search help, you just have to enter the name of search help along with its parameter in collective search help
    system autimatically takes selection method and dialog from elementary search help
    regards
    Prashant

  • How can I call a specific search help from and still get all the tabs

    hello
    I use F4IF_FIELD_VALUE_REQUEST to display a specific search help from my program. This search help is included in a collective search help, but only the one specified search help is displayed.
    Is it possible to call the collective search help and display one specific search help ?
    Example: in CRM i have a collective search help BUPA. When F4 is issued from a customer field the search help "Search customer" should be displayed, and not the last search help which was activated - i.e.. "Search employee".
    best regards
    Peter Christiansen

    Hi,
    you can try some thing like this..
          CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
            EXPORTING
              TABNAME           = 'KNA1'
              FIELDNAME         = 'KUNNR'
              SEARCHHELP        = 'DEBI'
            TABLES
              RETURN_TAB        = LT_RETURN
            EXCEPTIONS
              FIELD_NOT_FOUND   = 1
              NO_HELP_FOR_FIELD = 2
              INCONSISTENT_HELP = 3
              NO_VALUES_FOUND   = 4
              OTHERS            = 5.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Regards
    vijay

Maybe you are looking for

  • Error while extracting data into 0GL_ACCOUNT

    Hi all,         Initialize delta Process has been done successfully for extracting data into 0GL_ACCOUNT using DataSource 0GL_ACCOUNT_ATTR. However when using Delta Update for extracting data, the following error is displayed: 'ALE change pointers ar

  • Extra photo pages with out extra headers

    Big Time Newb here, I am looking to add extra photo pages as I like the template format and want them all to be under one category name in the header. For example the header might read "My Week" and then have sperate pages listed for Monday, Tuesday,

  • Problem putting music on my zen micro. Pleease help

    Okay, so i'm having a problem syncranizing my music onto my zen micro for some reason. I've had my my zen micro player for almost a year and i've always been able to sync music onto it with no problem but i haven't put any new music on it for about a

  • Trying to make a graph that actually works

    I'm trying to make a graph for my boss that displays the number of tickets each staff member have completed. I found this tutorial: http://www.flashkit.com/tutorials/Dynamic_Content/Creating-Zoubin_Z-61/index.php However when I finished it, I wanted

  • HP Pavilion g6-2320tx Notebook PC - Recovery

    I purchased a HP Pavilion g6-2320tx Notebook PC two weeks back. I was not able to make a recovery discs. On closer look I was surprised to know that it had six primary partitions, including two recovery drives. While making recovery discs, it (Hard D