Changeset 2491 in ProjectBuilder for devel/pb/lib/ProjectBuilder/Changelog.pm


Ignore:
Timestamp:
Mar 31, 2020, 11:26:06 AM (4 years ago)
Author:
Bruno Cornec
Message:

Various perf improvements

  • Avoid managing full changelog files when in testver
  • Avoid loading a conf file in cache already handled
  • set_waitpid_blocking_sleep(0)
  • Use YAML::XS if available
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Changelog.pm

    r2488 r2491  
    104104my @date = pb_get_date();
    105105# If we don't need to do it, or don't have it fake something
    106 if (((not defined $chglog) || (! -f $chglog)) && ($doit ne "yes")) {
     106if (((not defined $chglog) || (! -f $chglog)) || ($doit ne "yes")) {
    107107    pb_log(2,"No ChangeLog file for $pbrealpkg - faking one\n");
    108108    $date = strftime("%Y-%m-%d", @date);
Note: See TracChangeset for help on using the changeset viewer.