Configlet: version 4.0.0-beta.20 released

We’ve just release version 4.0.0-beta.20 of configlet. There is one key change in this release, and that is that the configlet generate action now behaves similar to other commands in that it is non-destructive by default. Previously, running configlet generate would immediately regenerate the introduction files, but you’ll now have to pass --update (and possibly --yes if you want to update non-interactively) to have it re-generate the introduction files on the filesystem.

It would be really great if someone could test out the new release. This is the last thing blocking us from dropping the -beta moniker of releases :)

See Release 4.0.0-beta.20 · exercism/configlet · GitHub for more information.

2 Likes

One thing that’s a bit weird: if the introduction file does not exist, the output message is “Outdated: …”. Can we get a separate branch for that?

160     if fileExists(introductionPath) and readFile(introductionPath) == generated:
161       logDetailed(&"Up-to-date: {relativePath(introductionPath, $trackDir)}")
162     else:
163       if not fileExists(introductionPath):
164         logNormal(&"Missing: {relativePath(introductionPath, $trackDir)}")
165       else:
166         logNormal(&"Outdated: {relativePath(introductionPath, $trackDir)}")
167       result.add PathAndGeneratedDocument(
168         path: introductionPath,
169         generatedDocument: generated
170       )

Good catch: PR created: generate: show missing introduction file in output by ErikSchierboom · Pull Request #884 · exercism/configlet · GitHub Release will follow soon

1 Like

And released: Release 4.0.0-beta.21 · exercism/configlet · GitHub

1 Like

@glennj Does the latest version look good to you?

Small bump @glennj

Looks like it’s all working as expected @ErikSchierboom

1 Like