[146647] branches/vcs-fetch/base/src/port1.0/portfetch.tcl
raimue at macports.org
raimue at macports.org
Mon Mar 14 12:33:51 PDT 2016
Revision: 146647
https://trac.macports.org/changeset/146647
Author: raimue at macports.org
Date: 2016-03-14 12:33:51 -0700 (Mon, 14 Mar 2016)
Log Message:
-----------
Add verbose ui_* messages
Modified Paths:
--------------
branches/vcs-fetch/base/src/port1.0/portfetch.tcl
Modified: branches/vcs-fetch/base/src/port1.0/portfetch.tcl
===================================================================
--- branches/vcs-fetch/base/src/port1.0/portfetch.tcl 2016-03-14 19:33:11 UTC (rev 146646)
+++ branches/vcs-fetch/base/src/port1.0/portfetch.tcl 2016-03-14 19:33:51 UTC (rev 146647)
@@ -419,7 +419,8 @@
# Perform a git fetch
proc portfetch::gitfetch {args} {
- global distpath workpath worksrcpath patchfiles \
+ global UI_PREFIX \
+ distpath workpath worksrcpath patchfiles \
git.url git.branch git.file git.file_prefix git.cmd \
name distname fetch.type
@@ -435,6 +436,7 @@
set options "$options --depth=1"
}
+ ui_info "$UI_PREFIX Cloning ${fetch.type} repository"
set generatedpath "${workpath}/${fetch.type}"
set cmdstring "${git.cmd} clone $options ${git.url} ${generatedpath} 2>&1"
ui_debug "Executing: $cmdstring"
@@ -451,6 +453,7 @@
}
# generate tarball
+ ui_info "$UI_PREFIX Generating tarball ${git.file}"
set xz [findBinary xz ${portutil::autoconf::xz_path}]
set cmdstring "${git.cmd} -c \"tar.tar.xz.command=xz -c\" archive --prefix=\"${git.file_prefix}/\" --format=tar.xz --output=${generatedfile}.TMP ${git.branch} 2>&1"
ui_debug "Executing $cmdstring"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160314/84f7ea61/attachment.html>
More information about the macports-changes
mailing list