<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/b769307249e433464854b95a5f2c01335978a6b3">https://github.com/macports/macports-base/commit/b769307249e433464854b95a5f2c01335978a6b3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b769307249e433464854b95a5f2c01335978a6b3
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Apr 27 02:43:26 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> macports1.0: Remove "daily" from snapshot tarball
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Drop the notion that a snapshot tarball can only be updated once a day.
</span><span style='display:block; white-space:pre;color:#404040;'> The interval in which the tarball is created does not influence how it
</span><span style='display:block; white-space:pre;color:#404040;'> is handled.
</span>---
src/macports1.0/macports.tcl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 5e07762..7cf6139 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2380,7 +2380,7 @@ proc macports::getsourcepath {url} {
</span> set source_path [split $url ://]
if {[_source_is_snapshot $url]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # daily snapshot tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # snapshot tarball
</span> return [file join $portdbpath sources [join [lrange $source_path 3 end-1] /] ports]
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2388,7 +2388,7 @@ proc macports::getsourcepath {url} {
</span> }
##
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Checks whether a supplied source URL is for a daily snapshot tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Checks whether a supplied source URL is for a snapshot tarball
</span> # (private)
#
# @param url source URL to check
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2747,7 +2747,7 @@ proc mportsync {{optionslist {}}} {
</span> incr numfailed
continue
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # sync a daily port snapshot tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # sync a port snapshot tarball
</span> set indexfile [macports::getindex $source]
set destdir [file dirname $indexfile]
set tarpath [file join [file normalize [file join $destdir ..]] $filename]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2961,7 +2961,7 @@ proc mportsearch {pattern {case_sensitive yes} {matchstyle regexp} {field name}}
</span> https -
http -
ftp {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # daily snapshot tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # snapshot tarball
</span> set source_url file://[macports::getsourcepath $source]
}
default {
</pre><pre style='margin:0'>
</pre>