Notices


Reply
Thread Tools
Posts: 692 | Thanked: 2,401 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: 914 | Thanked: 2,960 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: 5,972 | Thanked: 10,859 times | Joined on Nov 2011 @ Russia
#3
you can only depend on packages in own repository
__________________
Your donations makes my applications better https://paypal.me/coderus

my twitter @icoderus

[Must have!] Powermenu2 for SailfishOS

MUST HAVE: Aliendalvik Control

[F.A.Q.] List of harmattan terminal warnings and errors (contribute!)

Working at Open Mobile Platform - Russian SailfishOS company
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 914 | Thanked: 2,960 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: 5,972 | Thanked: 10,859 times | Joined on Nov 2011 @ Russia
#5
well yes, you should depend on own or system packages, but you can do what you want
__________________
Your donations makes my applications better https://paypal.me/coderus

my twitter @icoderus

[Must have!] Powermenu2 for SailfishOS

MUST HAVE: Aliendalvik Control

[F.A.Q.] List of harmattan terminal warnings and errors (contribute!)

Working at Open Mobile Platform - Russian SailfishOS company
 
Posts: 692 | Thanked: 2,401 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: 5,972 | Thanked: 10,859 times | Joined on Nov 2011 @ Russia
#7
explain what packages do you want to depend on
__________________
Your donations makes my applications better https://paypal.me/coderus

my twitter @icoderus

[Must have!] Powermenu2 for SailfishOS

MUST HAVE: Aliendalvik Control

[F.A.Q.] List of harmattan terminal warnings and errors (contribute!)

Working at Open Mobile Platform - Russian SailfishOS company
 
Reply

Tags
openrepos, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:38.