Changeset 138944 for trunk/base


Ignore:
Timestamp:
Jul 24, 2015, 8:43:24 PM (5 years ago)
Author:
raimue@…
Message:

macports1.0, port1.0: Remove ui_*_fetch and ui_*_checksum

These seem to be a strange artifact from the implementation of the logging
framework. They were added in r52854, but is only in use at a single location.
However, it behaves exactly like the normal ui_*, so it is redundant.

Location:
trunk/base/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r138100 r138944  
    4242
    4343namespace eval macports {
    44     namespace export bootstrap_options user_options portinterp_options open_mports ui_priorities port_phases
     44    namespace export bootstrap_options user_options portinterp_options open_mports ui_priorities
    4545    variable bootstrap_options "\
    4646        portdbpath binpath auto_path extra_env sources_conf prefix portdbformat \
     
    7575
    7676    variable ui_priorities "error warn msg notice info debug any"
    77     variable port_phases "any fetch checksum"
    7877    variable current_phase main
    7978
     
    277276        set prefix [ui_prefix_default $priority]
    278277    }
    279     set phases {fetch checksum}
    280278    try {
    281279        ::ui_init $priority $prefix $channels($priority) {*}$args
    282280    } catch * {
    283281        interp alias {} ui_$priority {} ui_message $priority $prefix {}
    284         foreach phase $phases {
    285             interp alias {} ui_${priority}_$phase {} ui_message $priority $prefix $phase
    286         }
    287282    }
    288283}
     
    13041299    foreach priority $macports::ui_priorities {
    13051300        $workername alias ui_$priority ui_$priority
    1306         foreach phase $macports::port_phases {
    1307             $workername alias ui_${priority}_$phase ui_${priority}_$phase
    1308         }
    13091301    }
    13101302    # add the UI progress call-back
  • trunk/base/src/port1.0/portchecksum.tcl

    r138099 r138944  
    282282                    } else {
    283283                        ui_error "[format [msgcat::mc "Checksum (%s) mismatch for %s"] $type $distfile]"
    284                         ui_info_fetch "[format [msgcat::mc "Portfile checksum: %s %s %s"] $distfile $type $sum]"
     284                        ui_info "[format [msgcat::mc "Portfile checksum: %s %s %s"] $distfile $type $sum]"
    285285                        ui_info "[format [msgcat::mc "Distfile checksum: %s %s %s"] $distfile $type $calculated_sum]"
    286286
Note: See TracChangeset for help on using the changeset viewer.