#128 Populate both groups and users from FAS.
Merged by ralph. Opened by ralph.
feature/populate-enhancements  into  develop

Download 128.patch
no initial comment

We can probably do better with some default widgets for automatically created group hubs.. but this will do for a start.

Looks fine to me, does this take long? Should slow down the initial start quite a bit no?

Yeah, it takes a good 10 minutes. It's a run-once script though to populate the demo with people and groups.

+1 to merge.

We should document where we cache which info so that when we want to invalidate some cache we're smarter than me and don't destroy everything, just what's needed :]

Yeah! For now, it's in:

  • /var/tmp/fedora-hubs-cache.db (that's the main cache that caches the JSON responses from the widgets).
  • /var/tmp/fmn-cache.db (this is an internal cache that caches some fmn responses for the feed widget)
  • /var/tmp/hubs.db (this is the sqlite db defining all the users and their widgets and their groups, etc. we'll move this to postgres in prod)

Pull-Request has been merged by ralph

Metadata