Generally, if you are creating a file that's derived from another file, it's 
preferable to use "svn copy" or "svn move" so that the Subversion history is 
preserved.

I went to do this, but accidentally used "svn move" instead of "svn copy", so 
now explicit freecode livechecks are broken. I think I'll just try to move 
those ports off of freecode.

vq


> On Oct 21, 2014, at 10:49 PM, [email protected] wrote:
> 
> Revision
> 127156 <https://trac.macports.org/changeset/127156>Author
> [email protected] <mailto:[email protected]>Date
> 2014-10-21 19:49:49 -0700 (Tue, 21 Oct 2014)
> Log Message
> 
> base: livecheck - add new fallback which uses master_sites - current freecode 
> no longer works #45405
> Modified Paths
> 
> trunk/dports/_resources/port1.0/livecheck/fallback.tcl 
> <x-msg://19/#trunkdports_resourcesport10livecheckfallbacktcl>
> Added Paths
> 
> trunk/dports/_resources/port1.0/livecheck/master-sites.tcl 
> <x-msg://19/#trunkdports_resourcesport10livecheckmastersitestcl>
> Diff
> 
>  <>Modified: trunk/dports/_resources/port1.0/livecheck/fallback.tcl (127155 
> => 127156)
> 
> --- trunk/dports/_resources/port1.0/livecheck/fallback.tcl    2014-10-22 
> 02:47:40 UTC (rev 127155)
> +++ trunk/dports/_resources/port1.0/livecheck/fallback.tcl    2014-10-22 
> 02:49:49 UTC (rev 127156)
> @@ -3,4 +3,4 @@
>  # If the default type cannot be determined from the mirror, this file is
>  # sourced.
>  
> -source [getdefaultportresourcepath "port1.0/livecheck"]/freecode.tcl
> +source [getdefaultportresourcepath "port1.0/livecheck"]/master-sites.tcl
>  <>Added: trunk/dports/_resources/port1.0/livecheck/master-sites.tcl (0 => 
> 127156)
> 
> --- trunk/dports/_resources/port1.0/livecheck/master-sites.tcl                
>                 (rev 0)
> +++ trunk/dports/_resources/port1.0/livecheck/master-sites.tcl        
> 2014-10-22 02:49:49 UTC (rev 127156)
> @@ -0,0 +1,17 @@
> +# $Id$
> +#
> +# This file contains the livecheck defaults for using port's master_sites.
> +
> +if {${livecheck.name} eq "default"} {
> +    set livecheck.name ${name}
> +}
> +if {${livecheck.distname} eq "default"} {
> +    set livecheck.distname ${livecheck.name}
> +}
> +if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
> +    set livecheck.url [lindex ${master_sites} 0]
> +}
> +if {${livecheck.regex} eq ""} {
> +    set livecheck.regex [list "[quotemeta 
> ${livecheck.distname}]-(\\d+(?:\\.\\d+)* <smb://d+(?://.//d+)*>)"]
> +}
> +set livecheck.type "regex"
> Property changes on: 
> trunk/dports/_resources/port1.0/livecheck/master-sites.tcl
> ___________________________________________________________________
>  <>Added: svn:keywords
>  <>Added: svn:eol-style
> _______________________________________________
> macports-changes mailing list
> [email protected] 
> <mailto:[email protected]>
> https://lists.macosforge.org/mailman/listinfo/macports-changes 
> <https://lists.macosforge.org/mailman/listinfo/macports-changes>
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to