Add changelog for forced-packing of thunks; update warning message
commitb1e4c40a56d65f49d5ca9748cb0ab890eef6e238
authorAli Abrar <aliabrar@gmail.com>
dateFri 17 May 2019, 23:19 (7 years ago)
parentbf5ca6c
ChangeLog.md+2
@@ -12,6 +12,8 @@ This project's release branch is `master`. This log is written from the perspect
1212* Allow skeleton's obelisk to be overridden. This changes the skeleton's default.nix interface: the arguments that it used to take are now part of the new "obelisk" argument.
1313* Removed `MonadIO` from `ObeliskWidget` to prevent accidental IO during prerendering. If you need to do IO in a widget it should be on the right hand side of a `prerender`.
1414* Significantly changed the interface to the "executable config" packages. `obelisk-executable-config-lookup` is a new internal package which looks up all configs in a platform-specific way. `obelisk-executable-frontend` and `obelisk-executable-backend` provide MTL-style monad classes (`HasFrontendConfigs` and `HasBackendConfigs`) which the frontend and backend, respectively, can use to look up configs. This replaces the old `get` function which ran in `IO`.
15+* Add a flag to force thunk packing even if there are unpushed changes in the unpacked thunk.
16+
1517
1618## v0.1.0.0 - 2019-03-29
1719
lib/command/src/Obelisk/Command.hs+1−1
@@ -217,7 +217,7 @@ data ThunkCommand
217217 deriving Show
218218
219219forceFlag :: Parser Bool
220−forceFlag = switch $ long "force" <> short 'f' <> help "Force packing thunks even if there are branches not pushed upstream, uncommitted changes, stashes, etc."
220+forceFlag = switch $ long "force" <> short 'f' <> help "Force packing thunks even if there are branches not pushed upstream, uncommitted changes, stashes. This will cause changes that have not been pushed upstream to be lost; use with care."
221221
222222thunkCommand :: Parser ThunkCommand
223223thunkCommand = hsubparser $ mconcat