Fable: Automate updating the simple template whenever Fable.Core and dotnet-fable are patched

Created on 30 May 2017  路  5Comments  路  Source: fable-compiler/Fable

Expected

Fable.Core and dotnet-fable to up to date whenever a patch is released

Actual

That is not the case: Fable.Core/dotnet-fable are 1.0.4 in the template but should be 1.0.7 (latest)

cc @fable-compiler/code-maintenance

Most helpful comment

So I think we just make sure the new patches don't break the template and update it

semver something something ... backwards-compatible ... no-breaking changes ... etc.
I mean, it's a template after all, people are supposed to change it.
But I know I'm on the wrong side of history here, so please ignore :)

All 5 comments

It's a template, can they just be "1.0.*" or is that frowned upon?

Actually we added the lock files precisely so templates did not automatically update the Fable version (in case there were regression bugs) :wink:

If we want to automatically update the templates, probably we should add some tests to be sure the template doesn't break with the latest Fable version.

@alfonsogarciacaro I meant to update the versions in the template with their lock files to latest after testing. This does _not_ mean that the user will update his/her versions everytime they build a template (that would happen if the version is set to "get the latest" and that we are trying to avoid) but only when they _update_ the template itself.

@ncave I don't think we want users to update automatically to whatever version is the latest.

So I think we just make sure the new patches don't break the template and update it

Then we just need somebody to PR integration tests for the template :wink: That'd be something actually also nice to have for the final user. Maybe using Canopy as the fable-suave-scaffold.

So I think we just make sure the new patches don't break the template and update it

semver something something ... backwards-compatible ... no-breaking changes ... etc.
I mean, it's a template after all, people are supposed to change it.
But I know I'm on the wrong side of history here, so please ignore :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

et1975 picture et1975  路  43Comments

chrisvanderpennen picture chrisvanderpennen  路  31Comments

ed-ilyin picture ed-ilyin  路  48Comments

alfonsogarciacaro picture alfonsogarciacaro  路  28Comments

sandeepc24 picture sandeepc24  路  46Comments