[MacPorts] #4823: tags can't have underscores or dashes

MacPorts noreply at macports.org
Thu Mar 24 09:49:00 PDT 2016


#4823: tags can't have underscores or dashes
----------------------+--------------------------------
  Reporter:  yeled@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:  1.0
Resolution:  fixed    |   Keywords:
      Port:           |
----------------------+--------------------------------
Description changed by ryandesign@…:

Old description:

> This is the code in portfetch.tcl:
>
> proc getdisttag {name} {
>     if {[regexp {.+:([0-9A-Za-z_-]+)} $name match tag]} {
>         return $tag
>     } else {
>         return ""
>     }
> }
>
> yet if you add a a tag (like vim had for +aqua) with an underscore or a
> dash, it fails and falls back to the
> master_sites
>
>    --->  Fetching vim Error: No defined site for tag: app_aqua, using
> master_sites

New description:

 This is the code in portfetch.tcl:

 {{{
 proc getdisttag {name} {
     if {[regexp {.+:([0-9A-Za-z_-]+)} $name match tag]} {
         return $tag
     } else {
         return ""
     }
 }
 }}}

 yet if you add a a tag (like vim had for +aqua) with an underscore or a
 dash, it fails and falls back to the
 master_sites

 {{{
    --->  Fetching vim Error: No defined site for tag: app_aqua, using
 master_sites
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/4823#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list