Re: [BuildStream] Plans for workspaces and incremental builds



On 02/10/2019 13:43, William Salmon via buildstream-list wrote:
[...]

Could we remove some of the friction hear? I would like to be able to 
create a workspace from a failed build if I have cached buildtrees 
enabled.

I would expect that is possible but would require a bit of work. In theory I
don't see why we can't do that.

Also can the final build with out a workspace realize that it 
is the same as the already build workspace?


That would be more difficult than the above. Again, *in theory* that is
possible but essentially that would mean trying to save the workspace config
for recovery in a non-workspaced state and then remapping a build tree to a
new ref since the workspaced source ref is not going to be the same as the
non-workspaced source ref.

[...]
When calculating the diffs don't forget that there might not be any 
change to the source it might only be the bst file that changed. And 
don't forget to handle soft reset properly/better.


If you have changed the bst then is it still the same workspace?

Also, I'm not even sure of the purpose/necessity of soft reset in the current
implementation.

-- 
Best Regards,
Darius


For Codethink's privacy-policy please see https://www.codethink.co.uk/privacy.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]