Notices


Reply
Thread Tools
Posts: 719 | Thanked: 2,532 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: 993 | Thanked: 3,226 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.
__________________
You can still support my work by donation - click here

ETH: 0xf7544913017653719259c92d38d50d9d55f7c6cd
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,045 | Thanked: 11,161 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: 993 | Thanked: 3,226 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.
__________________
You can still support my work by donation - click here

ETH: 0xf7544913017653719259c92d38d50d9d55f7c6cd
 

The Following User Says Thank You to nieldk For This Useful Post:
coderus's Avatar
Posts: 6,045 | Thanked: 11,161 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: 719 | Thanked: 2,532 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,045 | Thanked: 11,161 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 12:03.