ID for a given pkgname with AUR

How do I download _comments_ for X package in AUR? Maybe what I need to know is how do I translate 'packagename' to http://aur.archlinux.org/packages.php?d … =1&ID=2243 << correct number
I mean i want the ID for a given pkgname if that was no very clear.
This so I can add it to yaourt, and don't have to check the comments section in aur with a browser since many times, fixes are posted there...

thanks guys, got it working. I didn't look at what is data1 and data2 but this worked:
data1=`lynx -nolist -source "http://aur.archlinux.org/packages.php?K=${PKG}"|grep data1`
aurID=`echo "$data1"|egrep -o "ID.*${PKG}"|cut -c 4-|cut -c -4`
lynx -dump -nolist "http://aur.archlinux.org/packages.php?do_Details=1&ID=${aurID}"|sed -n '/Comments$/,/Add Comment$/p'|sed 's/pad.gif//'
i suppose it would be even neater with color coding etc, but that will have to be looked at another time
edit: changed it to be a bit neater
lynx -dump -nolist "http://aur.archlinux.org/packages.php?do_Details=1&ID=${aurID}"|sed -n '/Comments$/,/Add Comment$/p'|sed 's/pad.gif//'|sed 's/Comment by:/^[[1;37mComment by:^[[1;39m/g'|sed 's/[]//g'|sed 's/ Comments//'|sed 's/Add Comment//'
Although i'd rather the whole 'Comment by: username' line was in another color, but i'm not so good with sed/regexp. Suggestions welcome

Similar Messages

  • How to get XLR to show BPs with no transaction data for a given date range

    Hi -
    I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
    The report has the row expansion:
    FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
    and column expansions:
    FIG(SO_TaxDate = @StartDate:@EndDate)
    and
    FIG(SO_TaxDate = @StartDate2:@EndDate2)
    where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
    The column formulas are, from left to right:
    =ixDimGet("BPA", "CardName")
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for first date range
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for second date range
    The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
    Any help is greatly appreciated!
    Thanks,
    Lang Riley

    Really appreciate your feedback!  Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
    Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query. 
    Using **, i.e., * or #NULL, makes no change in the resulting data in this case.  I had thought that ** would be the solution, but it didn't change the outcome.  I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear. 
    I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set.  It seems that perhaps the IXL query needs to be restructured?  Please keep the suggestions coming including how this query might be restructured if necessary.

  • How to get business activity with status open for a given BP ?

    Hi,
      I want to get the business activity status for a given business partner.
      To be more specific , consider the following customer service scenario:
    Requirement:
    Customer will call the call center
    Call center will create that business partner and BP will be assigned to proceed with the customer requirement
    A report program has to be generated to get the list of customers pending for the given business partner
    Things done:
    I have created a business partner(consumer) through the transaction CIC0
    Now I need to write a report program which will fetch all customers pending(with business activity status open) for a given business partner
        The thing is we are not able to find out where the status of the business activity is maintained.
        Is there any BAPI to meet out this requirement? or is there any other way?
    Regards,
    Arokiaraj. S,
    Asian Paints

    Hello,
    Try BAPI BAPI_BUSPROCESSND_GETLIST to get the activities for a BP and CRM_ORDER_READ to get the status.
    You also use FM CRM_STATUS_CHECK to check the status.
    Regards,
    Frédéric
    Message was edited by: Frederic Schoenaers

  • Inventory load failed... OPatch cannot load inventory for the given Oracle Home.OPatch failed with error code = 73

    Hi,
    I am going to apply bundle patch and my oracle database is 11.2.0.2 and platform Microsoft Windows x86. As per the read me file Oracle recommends that to use OPatch utility release 11.2.0.1.3 or later.To check the accessibility to the inventory i use %ORACLE_HOME%/OPatch/opatch lsinventory command.
    It ended up with giving below details.
    Invoking OPatch 11.2.0.1.1
    OPatch could not create/open history file for writing : ***my oracle home path***\cfgtoollogs\opatch\opatch_history.txt
    **oracle_home***\cfgtoollogs\opatch\opatch_history.txt (Access is denied)
    Oracle Interim Patch Installer version 11.2.0.1.1
    Copyright (c) 2009, Oracle Corporation.  All rights reserved.
    OPatch could not open log file, logging will not be possible
    Oracle Home       : *****
    Central Inventory : C:\Program Files\Oracle\Inventory
       from           : n/a
    OPatch version    : 11.2.0.1.1
    OUI version       : 11.2.0.2.0
    OUI location      : **ORACLE_HOME***\oui
    Log file location : **ORACLE_HOME**\cfgtoollogs\opatch\opatch2015-04-09_16-27-49PM.log
    Patch history file: **ORACLE_HOME**\cfgtoollogs\opatch\opatch_history.txt
    Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
    LsInventorySession failed: LsInventory cannot create the log directory **ORACLE_HOME***\cfgtoollogs\opatch\lsinv\lsinventory2015-04-
    09_16-27-49PM.txt
    OPatch failed with error code = 73
    Can anyone please help me to solve this?
    Do I need to install latest opatch utility?

    Hi,
    this error message "  LsInventorySession failed: LsInventory cannot create the log directory **ORACLE_HOME***\cfgtoollogs\opatch\lsinv\lsinventory2015-04-
    09_16-27-49PM.txt "
    indicates that you have permission issue with your file systems : ORACLE_HOME/cfgtoollogs/opatch
    double check the owner of this file system.
    Regards,

  • Err "Couldn't retrieve binding for the given channelId" in receiver SOAP CC

    Hello.
    We have increase the support package level of our XI 3.0 system from level 17 to 23. After this "upgrade" all interfaces using a receiver SOAP channel communication are getting the next error:
    SOAP: response message contains an error XIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION - com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldnt retrieve binding for the given channelId: Binding:CID=8cb6335a548730ea9ca27aaa78034109; at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBindingByChannelId(AbstractLookupManager.java:361) at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:421) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    We have done the next steps:
    - Run SXI_CACHE and start a complete cache refresh,
    - http://<Host>:<portNo.>/CPACache/refresh?mode=full
    - Restart J2EE server.
    The problem isn't solved.
    any idea?

    Probably you need to ask your BASIS team if they have done it or not.
    Secondly you can just see if something has been done under SWCV SAP BASIS --- http://sap.com/xi/XI/System --- Adapter Metadata, just by oping any adapter and then by looking at Properties or Hisotry from menu "Adapter Metadata". Here you can see the date under "Changed on", so if this matches with your upgrade date then something has been done. But this check will not help you know about the SP level. So better to ask with BASIS.

  • The company I work for has given me an iPhone, but I haven't been able to download any apps. I've created an apple account, it claimed that it had been verified, but everytime I go to download something, it verifies again and claims there's an error.

    The company I work for has given me an iPhone, but I haven't been able to download any apps. I've created an apple ID account, it claimed that it had been verified, but everytime I go to download something, it verifies again and claims there's an error. I've tried this now with 3 different emails, and the message reads: go to the iTunes support page. I've emailed Apple, and they were extremely unhelpful. I was given the most vague responses by Bidyut from the iTunes Store Customer service team. I would just like to be able to use this phone since I'm paying for it.

    It might be helpful if you told us exactly what the error was... If you don't give us specifics, the best you're going to get is vague responses.

  • PO number and PO qunatity for a given WBS element

    hello all,
    in which table does PO  number and PO quantity are stored for a given WBS element...
    or do i need to use any function module....
    i need to use it in an ALV report...
    thanks in advance.....

    For service PO's or  material PO's you can get only by using PR reference.
    for  material you will be having only one PR for One material so there is no problem with Materials.
    for ref find the below screenshot
    for services number of activities comes under single PR so this is some critical to bring the datafor ref find below screenshot
    as mentioned in the screenshot all the service numbers will come under PR 40 line item so by using PR 40 you will be creating PO ,
    Pass order(NPLNR)/W.B.S.E(PS_PSP_PNR) in EBKN get  BANFN & BNFPO  pass this in EKPO for service PO's package number (PACKNO) will be updated by using this go to ESLL pass package number(PACKNO)  and take package (SUB_PACKNO) and pass in package number(PACKNO) you will get the service items for that PO
    Regards
    Ambarish

  • Report to check Positions for a given Personnel Area

    Hi,
    I'm looking for a report which could tell me all the positions ( filled and vacants) for a given Personnel Area. I have around 60 Personnel areas and I need to find all the positions under those.
    Saurabh

    Hi,
    I have already used S_AHR_61016509 - Vacant Positions, with Object Type- IZ and Object ID- Personnel Area.
    I could find only 2 evaluation path A* and B*. But there is nothing coming up in the report.
    Saurabh

  • Batch wise stock for a given period or month

    Hi,
    My company wants to implement stock ageing report in MM.
    We manage the stocks in Batches. For us the main criteria for stock ageing is batch creation date.
    The report should run stock ageing based upon the date range given as an input screen
    For ex : date range in input can be of today or as of 30.06.2010.
    If the report is run as of today then I am able to get the batch stock from table MCHB . Quantity from field "CLABS"  and the batch creation date from the field "ERSDA"
    But if the report to be run as of 30-06-2010. Then I am not able to get the data from MCHBH as of 30.06.2010.
    I have checked for one material in the table and as per stock it should be 351 as of 30-06-2010 but in the MCHBH table for the month 06. year 2010 it is showing as 136 pcs only.
    As our LIS tables are not getting populated correctly I am not able to check those tables too.
    Can any one guide me with the logic or the table where I can get the batch stocks for a particular month.
    I need Material, Batch, Quantity month and year .
    Please advice how can i get the data and from which table.
    Thanks you for your support in advance.
    Regards
    Fazal

    Hi Jurgen,
    Thanks for your reply. I am not looking for any analysis report or LIS report.
    i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
    The report output format to be
    stock <=30 days
    stock>30 and <=90
    stock>90 and <=180
    stock>180 days
    The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
    Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
    If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
    I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
    Thanks
    Fazal.

  • How to get start date of the period for a given date from cube

    I have a situation where i need to find the start day of the period for a given date. is there a way to know that. i want to use that in my report. i enter the date from my report(i have date parameter), depends on the date, i want to display the start day
    of the period. how can i write expression for that in my report?
    ram

    Hi ramprasad74,
    According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
    report will return the first day of FPeriod.
    To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
    In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
    On the toolbar, click Design to toggle to Query mode.
    On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
    In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
    In the Dimension column, choose a value from the drop-down list.
    In the Hierarchy column, choose a value from the drop-down list.
    In the Default column, from the drop-down list, select a single value.
    Click OK. 
    In query designer dialog box, type the mdx query like below:
    with member [Measures].[FirstChild]
    as
    [Date].[Fiscal].currentmember.parent.firstchild.name
    select {[Measures].[FirstChild]} on 0,
    [Date].[Fiscal].[Date].members on 1
    from
    ( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
    from
    [Cube]
    Here are relevant threads you can reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Query similar to FBL5n but for a given period instead of a day

    R/3 transaction FBL5n displays open items for a customer on a given day .
    I have the bc infocube 0FIAR_O03, I m trying to figure out how to display the equivalent of FBL5n but for everyday of the period..

    Hi Sam,
    What I want is for every day in a given period to display open items for a given customer..
    I m trying to play around with clearing date and posting date but Im having a hard time...

  • How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    How do I sync my new ipad mini with my old ipad 2, without losing any apps or data in notes?  I need step by step instructions for first-time sync with ipad mini.  Thanks.

    If you synced it many times, you have to have a backup. It's just a question of how old that backup is now. When did you last sync?
    First of all launch iTunes on your computer and go to Edit>Preferences>Devices. Do you see any backups for you iPad in that window? If so, how new is the newest backup? That will be the backup that you will want to use. But remember that if you use that backup and it is one month old, you can only restore from that date back in time. Anything that you did on the iPad in the past month will not be in that backup.
    Turn on the new iPad Minin and start activating OTA via WiFi. You will get to a certain point in the process where you will be given the choice to Set up as new, Restore from iCloud - or Restore from iTunes. You will want to select Restore from iTunes.
    That is the short and sweet version. There are step by step instructions in this article. This applies to the mini as well as the iPad 4 or the iPad 3 for that matter.
    http://www.everythingicafe.com/how-to-set-up-new-ipad/2012/03/16/

  • Accounts without opportunities for a given date range

    Greetings report gurus,
    I am trying to develop a report that shows distinct account names that do not have any opportunities for a given period of interest. For example, I have one report that queries opportunities that closed during a given period of interest for a specific class of accounts. I would also like to be able to report on accounts associated with that specific class that did not have any opportunities on the board for a given time frame.
    Many thanks for your ideas,
    Dan

    Dan,
    You'd need to look at negative reporting for this, you can find it in the Knowledge Base. You need to write 1 report with the Accounts within your range minus Accounts with optys within your range.
    cheers
    Alex

  • No of days elapsed for a given month

    Hello,
    I am trying to find number of days elased for a given month. How do I write this in CMOD.
    My input variable is CALMonth/Year  - 06/2010. If I run the report today, I should get numbers of days up to today. Please advise.
    thanks for your help in advance.
    AG..

    Following thread might help you with this
    No. of days in a month

  • How to get classification for a given material and material type in MM

    Hello Friends,
    One of my developer colleagues is struggling to find out : how to get classification for a given material and material type in MM?
    He is looking for probable table and table fields to Select from.
    I would appreciate seriously any help in this regard.
    ~Yours Sincerely

    Hi
    Below given the flow and table details for a given class and class type.
    - Table KLAH --> This contains the "Internal class no" [ for the given Class & Class type ]
    - Table KSML --> This contains the " internal character numbers " [ nothing but characteristics attached to the class ] , which can be fetched with the above fetched internal class no
    - Table AUSP --> This table contains the objects ( material ) attached to the internal characters of that class
    - Table CABNT --> This table contains the "Description" for the internal character numbers.
    - award points if this is ok

Maybe you are looking for