Notices


Reply
Thread Tools
Posts: 696 | Thanked: 2,412 times | Joined on Apr 2012
#1
What is the best way to add a dependency on a package in someone else's repo? If I simply put it as a dependency in the RPM, installation fails unless that repo is already enabled in Warehouse. Is there a way to make my repository depend on another? Or should I re-upload the packages to my own repository as well?
 
Posts: 942 | Thanked: 3,039 times | Joined on Oct 2014
#2
The repo needs to be enabled, the best way is to ask users to enable the repository needed, personally, I prefer to include my own builds tho not being that dependent.
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,000 | Thanked: 10,967 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#3
you can only depend on packages in own repository
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 942 | Thanked: 3,039 times | Joined on Oct 2014
#4
Originally Posted by coderus View Post
you can only depend on packages in own repository
Not really so, but technically, yes, simpler for users installing.
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,000 | Thanked: 10,967 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#5
well yes, you should depend on own or system packages, but you can do what you want
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 
Posts: 696 | Thanked: 2,412 times | Joined on Apr 2012
#6
So it seems that the consensus here is to re-upload the packages to my repo?
 
coderus's Avatar
Posts: 6,000 | Thanked: 10,967 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#7
explain what packages do you want to depend on
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 
Reply

Tags
openrepos, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:05.