Bug 1014309

Summary: Don't change the timestamps on unchanged files
Product: OKD Reporter: gideon
Component: ContainersAssignee: Andy Goldstein <agoldste>
Status: CLOSED UPSTREAM QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: gideon, jhonce
Target Milestone: ---Keywords: UpcomingRelease
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-02 15:12:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gideon 2013-10-01 17:17:16 UTC
I've made a cartridge with an incremental compiler - if the timestamp on a source file is earlier than the corresponding object file, it won't be recompiled. Unfortunately, when I push a new version of my app, the timestamp of every file is reset, forcing everything to be recompiled. This is obviously a big deal for applications with many thousands of source files, where only one may have changed between releases. As Jenkins can't be used with downloadable cartridges (#995807), this also means a lot of unnecessary down time for the application gear.

Is it possible to leave unchanged files alone, so that only the changed files will be recompiled? Perhaps something like git checkout -f && git clean -d -x.

Comment 1 Jhon Honce 2013-10-02 15:12:30 UTC
Please track status of feature request here https://trello.com/c/ojEyvuf6