[MacPorts] #58800: Buildbot should wait until the clock catches up to the Portfiles
MacPorts
noreply at macports.org
Thu Aug 8 15:39:24 UTC 2019
#58800: Buildbot should wait until the clock catches up to the Portfiles
----------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version:
Resolution: | Keywords:
Port: |
----------------------------+---------------------
Comment (by ryandesign):
Oh. Can you show a log example of that?
For buildbot I was thinking it would be enough to record the timestamp
during one run, so that the next run (which might be after a reboot with
fixed clock) could check it. But on Travis, where the environment is
thrown away after every build, we might need to actually inspect files in
the ports tree.
I do have a script somewhere that finds the newest modification date of
any file in a directory. Maybe that's what we would need to do.
Alternately, since time on Travis is precious, maybe our strategy should
be to identify Portfiles newer than now and `touch` them to bring their
modification time back to now. Then we can proceed with a build
immediately.
Or maybe we need to revisit why MacPorts checks Portfile timestamps in the
first place. If this affects buildbot and Travis maybe it affects some
users too.
--
Ticket URL: <https://trac.macports.org/ticket/58800#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list