On Sat, Mar 19, 2016 at 06:12:39PM +0200, fr33domlover wrote: > > On Fri, 18 Mar 2016 15:01:12 -0700 Bryan Richter wrote: > > > > We *could* keep going, and update the basic scaffold code to the > > latest version coming out of the yesod-scaffold library, but I'm > > not sure it is of the highest priority. > > I started a yesod app recently using the same template, so I'm > familiar with the recent scaffolding. I already examined the > differences. If you like, I can make a patch, but there are a few > issues:
In general, there will be a high bar for success for such a patch, since it could possibly impact progress on higher priority items. However, I think it is possible to do. > 1. The new scaffolding uses a new config module, there is no "yesod > exec snowdrift Development" anymore. If you want dev mode, you > either "stack build --flag Snowdrift:dev" or specify "dev: true" in > stack.yml or "default: True" in Snowdrift.cabal . It's fine, just > saying this thing will change a bit. Right, that would be a welcome change. > 2. All that custom runYDB and runSDB and runSYDB - do we even want > it? Yesod has just the simple runDB, I'm not sure we need these > extra functions just for event notifications. Anyway this doesn't > intefere with the scaffold, just adds on top. Yeah, I think more of those are about to go away. In fact, they will probably all go away, back to the scaffolding default. That work would be appreciated. > 3. There are other custom things, like the auth plugins in > Foundation.hs . Need to see (assuming they're in the reboot too) if > we want them or we want to reset them to the default scaffolding's > version They're in the reboot, it's true, but there are some tasks to do to clean up the situation. Our auth needs are still custom. The default scaffold will not work. That will be the next thing to work on after making sure everything is in good shape for the web developers (css framework and templates framework). > 4. What about the `/u/username` thing? Do we want it for the reboot, > should it be taken into account in any way? I think this is a separate question; one that I do not know the answer to. Waiting on product requirements... Thanks!
signature.asc
Description: Digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.snowdrift.coop/mailman/listinfo/dev
