Ignore:
Timestamp:
Oct 27, 2013, 6:33:38 PM (6 years ago)
Author:
jberry@…
Message:

Revert r112573. Support only github tags fetching until we decide to cut-over to using releases/archives.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/github-1.0.tcl

    r112573 r112592  
    5353option_proc github.tarball_from handle_tarball_from
    5454proc handle_tarball_from {option action args} {
    55     global github.author github.project github.tag_prefix github.version github.master_sites
    56    
     55    global github.author github.project github.master_sites
     56
    5757    # keeping the default at tags like many portfiles already do
    5858    # the port writer can set github.tarball_from to "downloads" and have the URI path accordingly changed
     
    6060        github.tarball_from ${args}
    6161        github.master_sites https://github.com/downloads/${github.author}/${github.project}
    62     } elseif {${action} eq "set" && $args eq "archive"} {
    63         github.tarball_from ${args}
    64         github.master_sites https://github.com/${github.author}/${github.project}/archive
    65         distname            [join ${github.tag_prefix} ""]${github.version}
    6662    }
    6763}
Note: See TracChangeset for help on using the changeset viewer.