{"push_id":703526438,"size":1,"distinct_size":1,"ref":"refs/heads/2015-06-22/imagepost.1","head":"7aaa5ecdf1a68466bc70d6fb8b5b867a748e5bff","before":"a4e4c1a7e1c92bba0699fe80e0c0dcb8ee6c0cd8","commits":[{"sha":"7aaa5ecdf1a68466bc70d6fb8b5b867a748e5bff","author":{"email":"3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com","name":"Serge Hallyn"},"message":"imagesPost: split into smaller functions\n\nReorganize imagesPost:\n\n  1. keep all working files in a tempdir.  Use a deferred helper to\n     remove build files on cleanup rather than calling cleanup by\n     hand.\n  2. move the backing_fs into Daemon struct and set it on StartDaemon.\n  3. use a helper for getting the web request data.  This will handle\n     both image posts and container publish requests\n  4. split imagesPost into several smaller functions.\n  5. write a simple common shared.ReadDir used in both lxd/networks and\n     lsd/images.\n  6. update the rest api specs to add the image name and the container\n     remote.\n\nSigned-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>","distinct":true,"url":"https://api.github.com/repos/hallyn/lxd/commits/7aaa5ecdf1a68466bc70d6fb8b5b867a748e5bff"}]}