bin/buildout should touch files that are up-to-date

Bug #638056 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
New
Undecided
Unassigned

Bug Description

It's convenient to have a Makefile that runs buildout on demand, e.g.

    all: bin/myapp
    run:
        bin/myapp --serve development.ini # or something
    bin/myapp: bin/buildout buildout.cfg setup.cfg
        bin/buildout
    bin/buildout: bootstrap.py
        python bootstrap.py

This fails when you have multiple parts in your buildout.cfg, and buildout (correctly) decides some of the parts haven't changed. Since buildout doesn't rewrite scripts in bin/ in that case, make thinks they're not up to date and keeps running bin/buildout again and again.

Buildout should update the file modification times (for path in paths_not_built: os.utime(path, None)).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.