Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust messages to clarify what is being fetched. #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/package1.0/portarchivefetch.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ proc portarchivefetch::fetchfiles {args} {
file delete -force "${incoming_path}/${archive}.TMP"
throw
} catch {{*} eCode eMessage} {
ui_debug [msgcat::mc "Fetching archive failed: %s" $eMessage]
ui_debug [msgcat::mc "Fetching binary archive failed: %s" $eMessage]
set lastError $eMessage
file delete -force "${incoming_path}/${archive}.TMP"
incr failed_sites
Expand Down Expand Up @@ -326,7 +326,7 @@ proc portarchivefetch::archivefetch_start {args} {
portarchivefetch::checkfiles archivefetch_urls
}
if {[info exists all_archive_files] && [llength $all_archive_files] > 0} {
ui_msg "$UI_PREFIX [format [msgcat::mc "Fetching archive for %s"] $subport]"
ui_msg "$UI_PREFIX [format [msgcat::mc "Fetching binary archive for %s"] $subport]"
} elseif {[tbool ports_binary_only]} {
error "Binary-only mode requested with no usable archive sites configured"
}
Expand Down
4 changes: 2 additions & 2 deletions src/port1.0/portfetch.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ proc portfetch::fetchfiles {args} {
set fetched 1
break
} catch {{*} eCode eMessage} {
ui_debug [msgcat::mc "Fetching distfile failed: %s" $eMessage]
ui_debug [msgcat::mc "Fetching source code failed: %s" $eMessage]
set lastError $eMessage
} finally {
file delete -force "${distpath}/${distfile}.TMP"
Expand Down Expand Up @@ -617,7 +617,7 @@ proc portfetch::fetch_init {args} {
proc portfetch::fetch_start {args} {
global UI_PREFIX subport distpath

ui_notice "$UI_PREFIX [format [msgcat::mc "Fetching distfiles for %s"] $subport]"
ui_notice "$UI_PREFIX [format [msgcat::mc "Fetching source code for %s"] $subport]"

# create and chown $distpath
if {![file isdirectory $distpath]} {
Expand Down