Reply
Thread Tools
Posts: 958 | Thanked: 3,426 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: 1,288 | Thanked: 4,316 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,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#3
you can only depend on packages in own repository
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 1,288 | Thanked: 4,316 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,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#5
well yes, you should depend on own or system packages, but you can do what you want
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 958 | Thanked: 3,426 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,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#7
explain what packages do you want to depend on
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Reply

Tags
openrepos, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:49.