Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Third Party Repository for building

  1. #1

    Default Third Party Repository for building

    Hello everybody,

    is it possible to add third party repositories to let the suse build service search for dependencies during the building process?
    Maybe in the Spec file or in the build service configuration?

    Thanks already,
    Chris

  2. #2

    Default Re: Third Party Repository for building

    [QUOTE=strati1991;2732201is it possible to add third party repositories to let the suse build service search for dependencies during the building process?
    Maybe in the Spec file or in the build service configuration?
    [/QUOTE]
    Yes, in the project metadata.

    In the Web Interface click on "Repositories", and then on "Edit Repositories". On the next page there should be an "Add an additional path to this repository", where you can choose an additional repo to build against.

    Or edit the project metadata manually, either via "osc meta -e prj" or by clicking on "Advanced"->"Meta" in the WebUI.
    You should add something like this:
    Code:
      <repository name="openSUSE_13.2" rebuild="local" block="local">
        <path project="KDE:Frameworks5" repository="openSUSE_13.2"/>
       <path project="KDE:Qt5" repository="openSUSE_13.2"/>
        <arch>i586</arch>
        <arch>x86_64</arch>
      </repository>
    The red lines in this example mean that this repo builds against KDE:Frameworks5/openSUSE_13.2 and KDE:Qt5/openSUSE_13.2

    If you just need one or two packages, you could also branch (or aggregate) them in your repo.
    Last edited by wolfi323; 14-Oct-2015 at 05:47.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,518
    Blog Entries
    15

    Default Re: Third Party Repository for building

    On Wed 14 Oct 2015 12:36:01 PM CDT, strati1991 wrote:


    Hello everybody,

    is it possible to add third party repositories to let the suse build
    service search for dependencies during the building process?
    Maybe in the Spec file or in the build service configuration?

    Thanks already,
    Chris


    Hi
    No, all sources need to be local, except a _service which runs prior to
    building, but during the actual building, no.

    What are you trying to build?

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,518
    Blog Entries
    15

    Default Re: Third Party Repository for building

    On Wed 14 Oct 2015 12:46:01 PM CDT, wolfi323 wrote:


    strati1991;2732201is it possible to add third party repositories to let
    the suse build service search for dependencies during the building
    process? Maybe in the Spec file or in the build service configuration?
    [/QUOTE Wrote:
    >
    > Yes, in the project metadata.
    >
    > In the Web Interface click on "Repositories", and then on "Edit
    > Repositories". On the next page there should be an "Add an additional
    > path to this repository", where you can choose an additional repo to
    > build against.
    >
    > Or edit the project metadata manually, either via "osc meta -e prj" or
    > by clicking on "Advanced"->"Meta" in the WebUI.
    > You should add something like this:
    > >

    Code:
    --------------------
    > > <repository name="openSUSE_13.2" rebuild="local"

    block="local"> <path project="KDE:Frameworks5"
    repository="openSUSE_13.2"/> > > <path project="KDE:Qt5"
    repository="openSUSE_13.2"/> > <arch>i586</arch>
    > <arch>x86_64</arch>
    >
    > </repository>
    >

    --------------------
    > >

    > The red lines in this example mean that this repo builds against
    > KDE:Frameworks5/openSUSE_13.2 and KDE:Qt5/openSUSE_13.2



    Hi
    I was thinking sources, not packages...

    I'm assuming if the repo is added it will pull packages from both
    repositories on install from the defined repo?

    Could that potentially lead to conflicts for building/installing
    especially if something in either repo is blocked...

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  5. #5

    Default Re: Third Party Repository for building

    I am trying to build a meteorologic visualization program that needs special geographical repositories

  6. #6

    Default Re: Third Party Repository for building

    Quote Originally Posted by malcolmlewis View Post
    I'm assuming if the repo is added it will pull packages from both
    repositories on install from the defined repo?
    No, it will pull packages from the defined repo during build.
    This can imply a dependency on that repo for the resulting package then too, of course.

    Could that potentially lead to conflicts for building/installing
    especially if something in either repo is blocked...
    Yes, it can.
    Quote Originally Posted by strati1991 View Post
    I am trying to build a meteorologic visualization program that needs special geographical repositories
    And what "special geographical repositories" do you mean?
    Are they available on OBS?

  7. #7

  8. #8

    Default Re: Third Party Repository for building

    Then add Application:Geo and home:SStepke like I describe, or branch the necessary packages in your repo.

    For 13.2 this would look like this:
    Code:
      <repository name="openSUSE_13.2">
        <path project="Application:Geo" repository="openSUSE_13.2"/>
        <path project="home:SStepke" repository="openSUSE_13.2"/>
        <path project="openSUSE:13.2" repository="standard"/>
        <arch>i586</arch>
        <arch>x86_64</arch>
      </repository>

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,518
    Blog Entries
    15

    Default Re: Third Party Repository for building

    Quote Originally Posted by wolfi323 View Post
    Then add Application:Geo and home:SStepke like I describe, or branch the necessary packages in your repo.

    For 13.2 this would look like this:
    Code:
      <repository name="openSUSE_13.2">
        <path project="Application:Geo" repository="openSUSE_13.2"/>
        <path project="home:SStepke" repository="openSUSE_13.2"/>
        <path project="openSUSE:13.2" repository="standard"/>
        <arch>i586</arch>
        <arch>x86_64</arch>
      </repository>
    Hi
    Perhaps better to just link to the packages required in home:SStepke since some in there link back to Geo....?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: Third Party Repository for building

    Many thanks that was exactly i was searching for! Works!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •