[haiku-bugs] Re: [Haiku] #12905: package_repo requires a url in repo-info file which needs eval

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 11 Aug 2016 16:48:14 -0000

#12905: package_repo requires a url in repo-info file which needs eval
--------------------------------+----------------------------
   Reporter:  kallisti5         |      Owner:  bonefish
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1/beta1
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:  package_repo
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

 From the commit log (014eed80e289c2bbc187ac91bb7b3a35560a971f):

 {{{
       The URL in the repository config is usually the same as the in the
       repository info, unless it refers to a mirror site. This allows for
       mirrors to copy the original repository verbatim.
 }}}

 This would allow pkgman add-repo to detect that the repo you are adding is
 a mirror of an already added one (and possibly balance downloads between
 the two, for example).

--
Ticket URL: <https://dev.haiku-os.org/ticket/12905#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: