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.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to