Bug 1014309 - Don't change the timestamps on unchanged files
Summary: Don't change the timestamps on unchanged files
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-01 17:17 UTC by gideon
Modified: 2015-05-14 23:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-02 15:12:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.