[tor-bugs] #25719 [Applications/rbm]: Add option to store last time a file was used in a build

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 5 13:08:37 UTC 2018


#25719: Add option to store last time a file was used in a build
----------------------------------+---------------------
     Reporter:  boklm             |      Owner:  boklm
         Type:  task              |     Status:  new
     Priority:  Medium            |  Milestone:
    Component:  Applications/rbm  |    Version:
     Severity:  Normal            |   Keywords:  tbb-rbm
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+---------------------
 In `tor-browser-build`, we can clean old build files by running `make
 clean`, which will keep only the files used in the current build.

 There are however some problems with that:
 - running `make clean` is slow as it needs to compute all the file names
 used in a build, for all the branches/series we are using.
 - when working on different bugs at the same time, running `make clean`
 will clean build files created by branches that have not been merged yet.

 Instead, it would be nice to be able to clean files that have not been
 used in the last X days. To allow that, rbm should have an option to store
 somewhere a timestamp of when each input files have been used in a build
 for the last time.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25719>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list