Perl packaging guidelines: request for a new official policy

feature request about this here: http://bugs.archlinux.org/task/18113
*edit*
Ok, the new version of pacpan is out: http://xyne.archlinux.ca/info/pacpan
It's only in my repo for now. I'll move this version to the AUR after some feedback.
After some initial debugging (if necessary), I would like to request that the official Perl packaging guidelines be changed to recommend using pacpan as a tool to aid packaging CPAN packages. In many cases it will provide a fully working PKGBUILD by default and in those cases when it doesn't, the provided PKGBUILD will be a very good starting point. It can also be used for comparison to existing PKGBUILDs.
Packagers will find the following functions useful (please see  the info page for some output examples):
pacpan --get-pkgbuilds [pkgs]
This will print out default PKGBUILDs for the specified packages. Packages may be specified with the standard pacman package names (e.g. perl-foo-bar) or with the CPAN names (e.g. Foo-Bar for a distribution, Foo::Bar for a module). Pacpan will map modules to their distributions uniquely and thus prevent package conflicts when attempting to package different modules which are in the same distrbution.
It will also provide a comprehensive provides array which will ensure dependency resolution when dealing with dependencies specified in META.yml on CPAN.
Pacpan is also able to detect depends, makedepends and optdepends for CPAN packages.
Of course this depends on the presence and correctness of the META.yml file on CPAN, but this is present for (nearly?) all active distributions.
pacpan --check-local
This will inspect local perl packages and determine if local CPAN packages are named according to the packaging guidelines. It will also determine which modules a package provided by directly matching the files owned by the package according to pacman against the modules provided by those files, including version numbers where available. This will show packagers mistakes in the package and suggest changes to correct them. There is also a function for regular users to update the provides array of perl packages in the local database to ensure dependency resolution while waiting for packagers to correct their PKGBUILDs.
Last edited by Xyne (2010-02-01 22:35:47)

The reason to include modules in the provides array is to enable finer tuning of dependencies. If the modules within a distribution ever change, there would be no need to change the depends array of all packages which had specified that distribution instead of the modules that they actually depend on. It also makes searching easier as someone who is looking for the functionality of a particular module will be able to find it via a pacman search.
If that is really an issue, then it would be trivial to remove the provides from the PKGBUILDs that the code generates. If we could strictly enforce the packaging guidelines in the official repos and the AUR then I suppose it might make sense to ignore modules completely, but I don't see how it hurts to list them in the provides array.
With the current code that I have, I think I have full module-to-distribution resolution and all PKGBUILDs generated by the code for a requested package or module map to the corresponding distribution. The pacpan rewrite is complete and I'm working on plugging the backend into bauerbill right now to handle dependency resolution, installation and makedeps removal. I hope to release the code soon (maybe today, depending on how productive I am), at which point we can really get this discussion going with a feature request on the bug tracker.

Similar Messages

  • I could not remember my apple ID password so I made a request for a new one. When I received the email with the link on resetting my password it was addressed to John Ohare. My name is not John Ohare. Does this mean someone is hacked my iCloud account?

    I could not remember my apple ID password so I made a request for a new one. When I received the email with the link on resetting my password it was addressed to John Ohare. My name is not John Ohare. Does this mean someone has hacked my iCloud account?

    Hello Corinne Craven,
    Thank you for using Apple Support Communities!
    You can update the name on your Apple ID here:
    Appleid.apple.com
    If you suspect unauthorized access to your apple ID I would normally recommend resetting your password, but you have already done this.
    Here is some information about 2 step verification which is another level of security for your account.
    Apple ID: Frequently asked questions about two-step verification for Apple ID
    http://support.apple.com/kb/HT5570
    Be sure to read all the information in the article if you choose to use two-step verification.
    Take care,
    Sterling

  • Submit a request for a new feature

    Hi, How can I submit a request for a function in Transform filter in Adobe Illustration?

    Feature Requests HERE

  • An install request for a new helper app appeared, I entered my system password to download the app.  Since then safari will not open.  It just comes up with a safari quit unexpectedly report.  I have tried logging on as a Guest but it does the same.

    I have a MacBook Pro with OS X Yosemit.  MY safari will not open, it only comes up with a safari quit unexpectedly report.  A new helper app appeared requesting my system password to download the helper.  Stupidly I input the password, when I log off I can see the download icon for a split second still running asking to abort or continue.  How do I sort this?
    cheers

    Genieo Adware is installed.  Removing it will help.
    If you have another browser installed, use it.
    If not, launch App store and get another  browser for temporary use.
    Remove it afterwards.
    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
                   or
        Remove the adware  manually  by following the “HowTo” from Apple.
        http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • XI - Closing request for each new coming file

    Hi all,
    I will receive files from XI system to BW (csv files).
    I have a scenario like this; each new file that has been received by Bw system (pushed by XI) has to be exactly one request in PSA.
    That means one file will be one request in PSA.
    There shouldn't be a case where two newly received file went to the same psa request.
    As I know, we can close a request based on the row number, size or time. But i need to close this request after each file receive in BW.
    Thanks in advance.
    Regards
    Ozan

    Hi,
            You can try one thing, in your proxy method of interface class through SPROXY transaction. Read in data from XI in different packages with code as mentioned below.
    **** INSERT IMPLEMENTATION HERE **** ***
    DATA: l_text TYPE string,
            l_s_data TYPE LINE OF 'YOUR WEBSERVICE NAME'
            l_t_data TYPE 'YOUR WEBSERVICE NAME'.
    FIELD-SYMBOLS <l_line> LIKE LINE OF input-data-item.
    Divide the data and transfer it to PSA with some identifier*
      LOOP AT input-data-item ASSIGNING <l_line>.
        MOVE-CORRESPONDING <l_line> TO l_s_data. 
        APPEND l_s_data TO l_t_data.
       Append l_s_data to l_p_data.
    ENDLOOP.
    Sent it to the DataSource/PSA
      CALL FUNCTION 'Remote Function Module'
        EXPORTING
          data           = l_t_data
        EXCEPTIONS
          internal_error = 1
          OTHERS         = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO l_text.
        RAISE EXCEPTION TYPE zbudcx___BIC__CQZPI_AUS0000300
        EXPORTING text = l_text.
      ENDIF.
    I hope, this works.
    Regards,
    Harpal

  • "trust" request for a new computer...over and over??

    I keep getting a trust request whenever I connect to my new computer over and over.Even after "allowing"

    user9293143 wrote:
    Hello,
    I need an advice on how to go about this. My Oracle 9i DBA Certificate got burnt in a fire accident and I need to get a new copy from oracle. Would like to know how to go about it. I really need a new copy ASAP. Who am I meant to write in oracle?. Its very important. Would appreciate ur feedbacks.
    ThanksAs far as I am aware Oracle does not to resends for for Certificates from once they are received. If they were doing this for free the exam prices will go up even more. No doubt there is a revenue stream in this and we'll be charged for success kits soon.
    - you can browse the support FAQ's if your like ... [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=82#5Q1A] ... the section on + I have not received my certification success kit. What do I do?+ is the closest to relevant.
    - What you can usefully do for yourself is register to Certview. You can then publish details of your certification:-
    [http://blogs.oracle.com/certification/2009/11/0080a.html]

  • Requesting for a new game

    Hello. BlackBerry. Team .please. Respond to my one and only request . ...please. Put clash of clans. In blackberry world for free . I am. Using. BlackBerry PlayBook. Please put it on blackberry world . Please i beg you .thank you. And please. Reply me as soon as you get this message. Please 

    You need to contact the developer of the app. They make the apps, not BlackBerry.
    Try here: http://supercell.com/en/contact-us/
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • I request for a new password

    https://support.mozilla.org/users/pwreset/on5c/3x4-2a660c0b668d8e4319b4

    hello, the instructions on how to get a new password should have gone out to the mail address you've used to signup...

  • Some guidelines requested for controlling an additional monitor

    I connected my PB to my 42" LCD HD TV through the VGA input, but I couldn't quite get the control I wanted. The Dock appeared on the TV monitor and I couldn't get it back on the PB unless I selected "mirror display". I couldn't even get the menu bar to appear on either screen. I dragged the menu bar to either screen in the display preference, but that didn't produce the control I wanted either.
    I guess I need a tutoring on how to use this feature.
    thanks for any advise.

    I connected my PB to my 42" LCD HD TV through the VGA input, but I couldn't quite get the control I wanted. The Dock appeared on the TV monitor and I couldn't get it back on the PB unless I selected "mirror display". I couldn't even get the menu bar to appear on either screen. I dragged the menu bar to either screen in the display preference, but that didn't produce the control I wanted either.
    I guess I need a tutoring on how to use this feature.
    thanks for any advise.

  • Request for new feature: Login to Flickr account

    I have a request for a new feature for ATV2 in the next sw update. I am hoping Apple will read this.. Please enable ATV2 to login to our Flickr accounts. The way it is, we can't see certain contacts' pictures as their profiles are set to public.
    And please find a solution to never ending "Loading XXXX's Library" screen. Loading a library on the same wifi network (both for files on Mac or Airport's USB Harddrive) takes forever.
    Thanks

    I have an ATV2 and it was logged in fine--I had to restore a few minutes ago because it lost it's connection with iTunes Match, and now I can't log in any more.  This is TERRIBLE as I HAVE to keep my photos on Flickr private, but want to have them playing on the AppleTV at home for me, friends, and parties. 
    Why did this go away?!?!

  • Exch2k7 to Exch2k10 - SSL 'request' help for the new server

    Hi,
    after read the article 'http://technet.microsoft.com/en-us/library/dd638158.aspx', we already have MBX and CAS 2007 running the lastest spk version and the SSL on the CAS 2007 is already working as 'LEGACY.DOMAIN.COM.BR' + 'Autodiscover.domain.com.br'
    + 'mail.domain.com.br'.
    My question is regarding the SSL request for the new server:
    >>> Can I start the REQUEST for the external Certification Authority using Windows Powershell or IIS console instead to use 'Exchange Management Shell'??
    * I´m afraid about the time (days) to install CAS 2010 on the new server, start the request to the CA, do the internal steps to aprove, pay the tax, wait for generation and then install the new SSL on the new server...

    Hi,
    Based on my research, we can use IIS renew the certificate for IIS:
    http://support.microsoft.com/kb/228991
    And Windows power shell can help us to create certificate request:
    http://social.technet.microsoft.com/Forums/exchange/en-US/1ba38a64-8776-444c-9f4d-a484075f3de2/powershell-to-request-a-certificate-renewal
    Thanks,
    Angela Shi
    TechNet Community Support

  • No reply to request for new license

    I've made the usual request for a new 90-day license for my NSP, but unlike previous requests I don't get the e-mail with the new license key... has this service been suspended for some reason? I've tried providing two different e-mail accoubts, but still no reply...
    Trond

    Seems that there may be a problem and SAP knows it.
    Problem with licensing NSP
    Regards,
    Rich Heilman

  • Transport request for Business Content

    Hi SDN Gurus,
    We have a Fresh BI 7.0 System and we are Doing a CRM implementation project. This requires standard Business Content related to CRM opportunity and Activity cubes. I have installed(Activated) the relevant Business Content for the same. As this is my Development system for demo purpose all the relevant Business Content objects are stored in $tmp package.
    My Question is whether we need to allocate a separate package and Request for Transporting the same(All the Activated Business Content) to QA system or only custom created Objects required to be Transported as a new request to QA.
    Please clarify whether the same Objects ($temp business content) will be available in the QA in activated state or we need to Activate the Business Content in QA also.
    Any help will be rewarded.
    Thanks
    Vish

    Hi Vishwanath,
    You need to put(collect) all the business content objects along with your custom created objects in a separate package and put them in a new request.
    The business content will be activated in Quality system only when you activate these in Development and transport it to Quality.
    Regards
    Prasad
    Message was edited by: Prasad Sarolkar
    Message was edited by: Prasad Sarolkar
    Message was edited by: Prasad Sarolkar

  • Enhancement request for VAT Report of Customer and Vendor.

    Hello SAP Gurus,
    Have enhancement request for adding new fields in existing VAT report of Customer and Vendor like user id, GL account etc.
    As I am fresher, can you please help me that how I need to approach. Thanks for your support.
    Regards,
    Saleem

    Hello Saleem,
    Almost all fields required for VAT reporting are available in standard tax report
    S_ALR_87012357 .
    You have to configure the layout from the selection screen as below
    regards
    pb

  • How to create a new request for whole Package.

    Dear All,
    I have an unique requirement. we have a system, where developement have been done in phases with different Requests of A Package.
    Now we need to apply same package/project on different system. But unable to list/gather all change request of developement. Now, is there any option to make a request for whole package or export whole package (Table, transaction, Program, class, objects etc. Everything of this package) and then theni import into another system.
    Regards
    Dharmendra

    A suggestion:
    In Se80, display the package.  Right-click on the displayed package name and choose write transport entry. Choose "package".   Create the new transport as a "Transport of copies".  Choose your target and client as part of your copy request.
    BTW, SE80, select object, right click, write transport entry is an easy way to create a new transport for anything you need transported although not changed, such as an entire function group, etc.

Maybe you are looking for

  • Purchase Order Issue

    Dear All,          I am working on SAP 2007 B PL 10. Now I am making a Purchase Order for Item1 Qty as 100.         Now based on this Purchase Order I prepare GR PO of Qty 100. Now manually my production Team does Inspection and hence after inspectio

  • Time machine backup on network drive

    i have a netgear router with readyshare usb network drive i have a 2TB external hdd that i use for a central location to view files for both my imac 10.7.5 and multiple pc's windows 7 i currently have a external hdd connected to my imac just for time

  • Move/copy a pict, in another folder with history

    Hello All, i did found a way to do this so it can be seen as a wish list item, i would like to be able to move a pic from a folder to another with history on it, let me explain. suppose i work on a shoot serie of car into nature, and find a delicious

  • Start Yosemite in recovery mode

    In preveous versions of OS X you could access recovery mode (partition) by pressing alt-key during startup. Now in the latest os this partition is not present (at least on my mac). Why is that, and how do I go about to create it?

  • How do you change network location type on Server 2012?

    Within Network & Sharing Center there appears to be no options available to change a network type as you could do in Server 2012? Within Network List Manager policies everything is set to "not configured" so this should not be disabling any functiona