berkus / muddle

Automatically exported from code.google.com/p/muddle
0 stars 0 forks source link

Continiuing an interrupted build tends to rebuild everything #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When doing a "muddle distclean" on a set of packages, and then a "distrebuild" 
to rebuild them, and fails part way through because one of the packages didn't 
build, and then you try "muddle" to try to continue (after fixing the bug), it 
will rebuild *everything* - it doesn't realise it has already built some things.

So clearly tags are not being written out at appropriate times.

Original issue reported on code.google.com by t...@kynesim.co.uk on 5 Dec 2012 at 2:06

GoogleCodeExporter commented 9 years ago
Since tag muddle-does_build-in-src (d323859f1abeee4a547c10d3aa2b69f1f31e938b) 
the default action taken by "$ muddle" anywhere in src/ is "build", and not 
"rebuild".

This has the disadvantage that one needs to be more explicit about wanting a 
rebuild inside a checkout directory, but also means that if you do::

  $ muddle distclean
  $ muddle

in src/, and there is a problem, which you fix, and then you do::

  $ muddle

in the same location as before, that should carry on from the appropriate point.

See also the blog post at 
http://kynesim.blogspot.co.uk/2012/12/change-to-behaviour-of-muddle-in-src.html

Original comment by t...@kynesim.co.uk on 14 Dec 2012 at 3:51