[ANNOUNCE] pacboy: automatic repository creation

EDIT: The name is now pacboy.
Hey everyone.
Just wanted to share with you a new piece of software that I am writing that will allow repositories to be created and managed for Arch Linux repositories.
This software, called "pkgman" which is written in PHP and Bash will allow new packages to be compiled, uploaded, verified and offered for download.
pkgman will allow for many really cool things, as you will learn as you read on
pkgman works by having a slightly modified makepkg script, that will log the whole makepkg process. The log file that is outputted will then be md5sum'd, with the md5 hash being stored in the .pkginfo file.
Once makepkg has been completed, the user then runs the bash script 'pkgman-push', which will upload the following three files: PKGINFO, the log file, the built package and a PGP signature.
Once pkgman-push has completed the upload of the three files, the pkgman server will verify the integrity of all four files. If all the files are found to be valid, then the new package will go into a stage of having to be 'signed off' by a specified number of users. Once it has been signed off, the repository database is recreated, the old package deleted and the new one will take it's place.
Now here comes the *really* cool part. Packages are actually never really deleted off the database. Because of this, a user can specify a repository from any point in the past. For example, say if I want to stick with the [core] repository from 2nd Feb 2009, all I would need to do is find what the UNIX time is for that time (in this case, 1233562755) and stick that in my repository path like this:
[core]
Server = http://pkgman.local/repo/core/+1233562755/
When this is done, all packages offered by pacman will only be the packages from that particular point in time. Of course, this would only work on the actual pkgman website, and not on any of the mirrors (unless if Arch does take this up we are lucky to find a mirror that will want to mirror many past packages)
On the pkgman administration site, the admin specifies which users are 'trusted'. Only 'trusted' users can upload packages to the pkgman database.
For the weary user, they can install the view-build-log package, and then view the build log for a specified package(s). For example
view-build-log pacman
will ask pacman what the currently installed version of pacman is, what repository it is from, and then download the build log that matches that version.
Also, on the administration server, the admin can create new architectures, and specify which users have push permissions to what architectures. Only one install of pkgman is required for multiple architectures and multiple repositories.
pkgman will be able to provide dependency tracking, so that for example, a package can not be uploaded to core if it depends on a package in extra.
I will upload some screenshots when I get home from work.
Last edited by timgws (2009-02-02 22:43:46)

A screenshot of the repository overview. Notice how on the bottom it lists the different repositories, and shows how they are linked to each other. At the moment, a new repository can only depend on one repository (for example, you can't have a 'bob' repository that depends on both 'james' and 'extra')... I hope to add this feature soon.
This image shows me searching for the package 'bash'. Notice how it shows the current version in the repository, along with information provided by my pkgdesc.

Similar Messages

  • Repository Creation Failure

    Hello,
    I am attempting to do a test migration on a db from SQL 2K5 to Oracle 10g R1.
    The server connections are both active and test successfully, when I attempt to create a repository, it appears to work, but when I then try to capture the SQL Server schema, the option is still greyed out in the right-click context menu.
    Any help appreciated.
    Thank you.

    Hi All,
    Just for clarification. The capture menu is only activated once connected to a repository.
    The steps are
    1. Create a repository. This only needs to be done once. This is done by right clicking on a connection and choosing "Create repository". This will typically make this repository the current one. and connect it.
    2. Right click on the 3rd party connection - the capture menu should be visible.
    If it is not visible, we need to see why. Here's a couple of things to check:
    If you go to Tools..Preferences..Migration The current default repository will be shown.
    ensure you expand this connection (connecting will automatically open the repository) - The menu items should now be available.
    If there is still a problem, there is another possibility - There is a known issue with repository creation on 9i - If you are running on 9i, check the packages on your repository - If one or any of these are marked invalid, please contact us via our feedback application (http://apex.oracle.com/pls/otn/f?p=OMWBFDBK) for a workaround.
    Many thanks,
    Dermot.

  • Automatic PO creation of free text PR

    Hi!
    We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from that PR without a material or source list?
    Sincerely
    Anders

    Hi
    Thank you very much. Is it possible to restrict the automatic creation to a certain purchase organization?
    If I understand you right:
    1) Create PR with item category D Service
    2) Activate automatic PO creation in ML91
    That will create POs for all PRs created as a service?
    Sincerely
    Anders

  • Problem during automatic PO creation

    Hi,
                I have run MRP for a certain material using MD03 .Message shows MRP run successfully.Then I checked the status of this by using transactions MD04 and it shows the PR no for that material.But when I want to create automatic PO through ME59n using that PR no , message shows no suitable PR exist.I have also set the Automatic PO indicator in Material master Purchasing view.
                 What is the reason behimd it.

    Hi,
    For automatic PO creation follow the below points.
    1) Material Master purchasing view tick automatic PO check box
    2) Vendor Master purchasing view tick automatic PO check box.
    3) Maintain Source list for Vendor & Material.
    4) Maintain Purchase Info Record.
    5) Create a Purchase Requisition.
    6) Use T.Code: ME59N & execute for PR for vendor, you will be able to create automatic PO.
    Ensure that Purchase Info Record should be there.
    If you have more than one vendor then fixe only one vendor in source list.
    Did you set source determination during PR creation
    Regards,
    Biju K

  • Error during automatic po creation ME59N

    Dear All,
    Following errors has been shown after automatic po creation by ME59N:-
    Message text Message Class Message Number
    PO could not be created
    PO header data still faulty MEPO 2
    Enter Validity End ME 83
    Enter Latest GR Date ME 83
    Can delivery date be met? ME 40
    Requisition could not be converted
    Please suggest how to solve above .
    with regards,
    Pradeep Bhardwaj

    Hi
    From the messages it seems that system is expecting a Validity end date at PO header & Latest GR date at item level.
    Do you have these two fields as required in the PO??
    If these are required fields then you need to have process to populate them automatically (Programatically) to resolve the error.
    Thanx
    Prasad

  • SRM Classic - Automatic PO creation in R/3 only for PReqs based on catalogs

    Dear Experts,
    in SRM 7.0 Classic Scenario, i am facing the following question w.r.t. automatic PO creation on the R/3 side:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart items from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalo-based and the non-catalog based PReq positions?
    Thank you.

    Hello Ashutosh,
    thank you very much for that idea!
    I would have the following question w.r.t. to such configuration:
    If i configure that the PO creation for complete SC should happen for a certain purchasing group, would it be somehow possible to arrange that when a Catalog item is put into the shopping cart, that only that certain purchasing group gets defaultet? (the idea behind this is, to leave the free text shopping carts to already known purchasing groups and to keep the purchase requisition as the backend object for this configuration. And additionally to create new purchasing groups, that should be linked to the catalog purchases and to POs as the backend objects).
    Thanks again for the help!

  • Error  during automatic PO creation by PR (ME59N)

    Dear All,
    Following errors has been shown after automatic po creation by ME59N:-
    Message text     Message Class  Message Number
    PO could not be created                   
    PO header data still faulty        MEPO               2
    Enter Validity End        ME              83
    Enter Latest GR Date        ME              83
    Can delivery date be met?        ME              40
    Requisition could not be converted     
    Please suggest how to solve above .
    with regards,
    Pradeep Bhardwaj

    Hello,
      to check the errors issued I suggest to try to create the PO converting the PR from transaction ME21N.
    I guess that some fields, mandatory for the PO creation, were not filled in the Purchase Request and could not be determined in any different way. If you can't maintain them on the PR you should set them as optional, if possible, in the customizing for Screen lay-out of transaction ME59N, under "Materials Management --> Purchasing --> Purchase Order --> Define Screen Layout at Document Level".
    Hope to be useful.
    Best regards,
    Andrea

  • Automatic PO creation

    Hi,
    I would like to know if we can process a PR with acct assignment K and item category D having limits by using ME59?If yes what are the pre-requisite conditions that will allow this?

    Hi
    Automatic PO creation
    automatic po
    Regards
    Ram

  • Automatic PO creation from SC

    Hi Experts,
    I am using SRM 7.0 with extended classic scenario and I have issue in the automatic po creation. For some Shopping Carts the PO is not automatically created. The SC is having Source of Supply Assigned and all the approves have completely approved the SC.  The latest status is  I1111          Item in Transfer Process.
    I checked in RZ20, ST22 and could not find any error or dumps.
    For the SC item under BBP_PDBEI the BE_OBJECT_TYPE is BUS2201 and BE_OBJECT_ID 1, once I trigger the PO creation manually the PO object id is reflected here.
    For such SC I am running the report BBP_ALERT_SB_NOTTRANSFERED manually which puts the SC in I1112 Error in Transmission Status and later I can trigger the SC creation from the alert monitor.
    For POs created in this manner the PO is created in Held Status without any line items, is this normal?
    I have two questions which I want to understand, how is the automatic po creation from SC setup, is there any customizing involved for the po creation from SC to happen automatically?
    What else should I check to find the reason why the the SC was stuck in I1111 status and PO was not created?

    You need to configure the Purchasing group and this will take care of automatic transfer of Doc to sourcing cockpit. Make sure you also maintain the customization for sourcing always carried out for Prod categories.
    Regards
    Saurabh

  • Automatic Po creation With MB01 i am getting Error

    Hi ,
    While doing goods receipt for  Automatic Po creation i am getting error
    MM activated Automatic Po
    VM activated Automatic Po
    101 Mov Type is also activated
    Item 00010 of purchasing document 9999999999 does not exist
    Message no. ME706
    Diagnosis
    Purchase order 00010 with item 9999999999 was not found.
    Procedure
    Enter a different purchase order.
    i given  the Vendor and quantity  after entering error is coming
    Please help
    Manjunath

    HI,
    Pls ceck the points mentioned below.
    Define one of the purchase organizations as Standard Purchase Organization
    Assign your plant to Standard Purchase Organization
    Maintain purchasing information record with price
    Maintain the indicator for movement types 101 & 161
    Define Default Values (MB01) for Document Type
    Now you can enter a goods receipt without entering the purchase order number, a purchase order will be created automatically when you post the goods receipt. All such goods receipt will be valuated at the price maintained in the purchasing information record.
    First you can try this with T. Code MB01 if it is working then try with T. Code MIGO, if you face any error or functionality is not working check with your basis consultant some authorization or some patches may be missing. Ask him to apply all relevant patches.
    Thanks
    Chandru

  • Automatic PO creation (ME59)

    Hi,
    1) source list and purchase info records both are mandatory for automatic PO creation ? with missing data in either of one, can I proceed ME59
    2) if i have mentioned one material for two or more vendors in ME01 and ME11, which vendor will be assigned to PO
    regards

    Hi,
    Just to add make sure your material master IS TICKED for automatic PO creation and vendor record is also ticked.
    You should have a valid info record that consist of valid conditions.
    Thanks
    Silas

  • Automatic po creation third party order

    Hello Gurus,
    In case of automatic po creation from third party order we have attach purchase organization and vendor to sales organization. This restrict only one vendor against sales organization.
    Is any BADI available which we can use which to change vedor dynamically ?
    Best Regards,
    Vasant

    Dear Vasant,
    For automatic PO at the time of GR following are the prerequisites:
    1) In Customizing
    a) Auto PO generation must be activated in Mov. Type 101 & 161
    b) the plant for which GR is entered must be assigned to standard Pur. Org.
    c) Default Document type for PO must be specified in GR ( MB 01)
    2) Application - Front end side
    a) material must be valuated material
    b) Purchasing Info record must exist for vendor , material & standard Pur Org.
    c) Conditions in Info Records must be valid.
    d) Applicable for stock items & not consumable items
    e) you cannot enter any movement in GR block stock
    f) Material Master & vendor master records must.
    If you ensure all above settings then it is possible to have auto PO during GR.
    Please try,
    Vivek

  • Automatic PO creation - only for PRs based on catalog SRM/EBP items

    Dear Experts,
    i am facing the following question w.r.t. automatic PO creation:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart/EBP/SRM items that are from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalog-based and the non-catalog based PReq positions?
    Thank you.

    Auto PO transaction ME59N comes with huge selection crieteria. If you can distinguish between catelog vs non catalog requisition then it very easy to set up variant to filter non catalog based requistion. you can also think about ehnacement of polulating text fields like Requisitioner or Requirement tracking number  with unque idetifier  in case of non catalog based PR then you can set variant to filter out those requistions..

  • Automatic TO Creation and Confirm for the 321 Mvt type

    Hello Experts,
    Like to know the customisation invovlved for automatic TO creation and confirmation for the 321 movement type in which QM is activated.
    I have already activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe
    2.TO item to be confirmed immediately
    3.Propose confirmation
    Table T333 -AUTTA
              T333-SQUIT &
              T333-VQUIT is activated.
    Please let me know any other settings to be performed
    Regards
    Krishna

    Hello Experts,
    I am trying to create the Automatic TO and TO confirmation for the mvt type 321.
    I made the below settings
    I have activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe   -"A"
    2.TO item to be confirmed immediately  - tick mark
    3.Propose confirmation   - tick mark
    Table T333 -AUTTA
    T333-SQUIT &
    T333-VQUIT is activated.
    I have activated in OMKX as below
    Table T321-TBFKZ Immediate TO Creation with "A"
    T321-TAFKZ TR creation with "X"
    After doing the settings i am not able to see the Posting change number in the Material document created for the mvt type 321.
    Please let me know how to create the Posting chnage notice for the material document and how to convert the Posting change notice to automatic TO and confirmation.
    Thanks & Regards
    Krishna
    Edited by: Hariharan krishna on May 25, 2011 8:01 AM

  • Automatic TO creation

    Hi i need a help for following question,
    In warehouse movement type customization we can set a indicatior for automatic TO creation(background processing), but where to define this indicator and interval for this background processing like after every day or after 'xyz" hrs. Again how to see the report "RLAUTA10" (The transfer order for  transfer requirement is created by report RLAUTA10, which is scheduled as a regular job)
    Thanks in advance,
    Kamlakar G

    Hi Kamlakar,
    The program RLAUTA10 creates the TOs in the background. This is a program and you can execute through SE38. This can also be scheduled as background job with different frequencies.
    Now, You want to have different TO generation frequnecies for different movement types. This can be controlled using the 'Configure the automatic TO' indicator at followign location
    LE -> WM -> ACtivities -> Transfer -> Setup auto TO creation
    in the option 'auto TO creation' control data, create the indicator for your warehouse
    assign the indicator to movement type in 'assgin control' option.
    go to movement type and assign the indicator to movement type in 'background processing' Auto TO field.
    Now you go to SE38, execute the program 'RLAUTA10', enter warehouse and the indicator, save the variant.
    this program and variant can be used to setup the background job in SM36. while scheduling the job, you can specify the start conditions, frequency etc.
    Bottom line is, you control the background job (RLAUTA10) frequency while defining the job in SM36. you can have different variants for the same program and schedule to run at different intervals. hope this helps.

Maybe you are looking for