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

richard (@richard) git at gitlab.torproject.org
Tue Apr 30 12:47:09 UTC 2024



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:

- lib/RBM.pm


Changes:

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



View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/148d8541f177f318bfd8c8abfbf9fa96f581ceb8

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/rbm/-/commit/148d8541f177f318bfd8c8abfbf9fa96f581ceb8
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240430/db7393c0/attachment.htm>


More information about the tor-commits mailing list