[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/rbm][main] Bug 40076: Take refresh_input into account when computing input_files_id



Title: GitLab

richard pushed to branch main at The Tor Project / Applications / RBM

Commits:

  • 148d8541
    by Nicolas Vigier at 2024-04-25T14:54:32+02:00
    Bug 40076: Take refresh_input into account when computing input_files_id
    
    The `refresh_input` option forces refreshing an input_file. The option
    is correctly taken into account when starting a build, but was not when
    computing `input_files_id`.
    

1 changed file:

Changes:

  • lib/RBM.pm
    ... ... @@ -796,7 +796,7 @@ sub input_file_need_dl {
    796 796
                 return undef;
    
    797 797
             }
    
    798 798
             return undef if $input_file->{exec};
    
    799
    -        return undef if $fname;
    
    799
    +        return undef if ($fname && !$t->('refresh_input'));
    
    800 800
             return 1 if $input_file->{URL};
    
    801 801
             return 1 if $input_file->{content};
    
    802 802
             return undef;
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits