{"action":"created","issue":{"url":"https://api.github.com/repos/clustervision/trinity/issues/393","labels_url":"https://api.github.com/repos/clustervision/trinity/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/clustervision/trinity/issues/393/comments","events_url":"https://api.github.com/repos/clustervision/trinity/issues/393/events","html_url":"https://github.com/clustervision/trinity/issues/393","id":100491502,"number":393,"title":"Update script: needs a default profile action","user":{"login":"hansthen","id":2202342,"avatar_url":"https://avatars.githubusercontent.com/u/2202342?v=3","gravatar_id":"","url":"https://api.github.com/users/hansthen","html_url":"https://github.com/hansthen","followers_url":"https://api.github.com/users/hansthen/followers","following_url":"https://api.github.com/users/hansthen/following{/other_user}","gists_url":"https://api.github.com/users/hansthen/gists{/gist_id}","starred_url":"https://api.github.com/users/hansthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansthen/subscriptions","organizations_url":"https://api.github.com/users/hansthen/orgs","repos_url":"https://api.github.com/users/hansthen/repos","events_url":"https://api.github.com/users/hansthen/events{/privacy}","received_events_url":"https://api.github.com/users/hansthen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clustervision/trinity/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"abhimukh","id":8803654,"avatar_url":"https://avatars.githubusercontent.com/u/8803654?v=3","gravatar_id":"","url":"https://api.github.com/users/abhimukh","html_url":"https://github.com/abhimukh","followers_url":"https://api.github.com/users/abhimukh/followers","following_url":"https://api.github.com/users/abhimukh/following{/other_user}","gists_url":"https://api.github.com/users/abhimukh/gists{/gist_id}","starred_url":"https://api.github.com/users/abhimukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhimukh/subscriptions","organizations_url":"https://api.github.com/users/abhimukh/orgs","repos_url":"https://api.github.com/users/abhimukh/repos","events_url":"https://api.github.com/users/abhimukh/events{/privacy}","received_events_url":"https://api.github.com/users/abhimukh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/clustervision/trinity/milestones/6","html_url":"https://github.com/clustervision/trinity/milestones/M6:%20Fabulous%20Fizzbuzz","labels_url":"https://api.github.com/repos/clustervision/trinity/milestones/6/labels","id":1170321,"number":6,"title":"M6: Fabulous Fizzbuzz","description":"","creator":{"login":"hansthen","id":2202342,"avatar_url":"https://avatars.githubusercontent.com/u/2202342?v=3","gravatar_id":"","url":"https://api.github.com/users/hansthen","html_url":"https://github.com/hansthen","followers_url":"https://api.github.com/users/hansthen/followers","following_url":"https://api.github.com/users/hansthen/following{/other_user}","gists_url":"https://api.github.com/users/hansthen/gists{/gist_id}","starred_url":"https://api.github.com/users/hansthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansthen/subscriptions","organizations_url":"https://api.github.com/users/hansthen/orgs","repos_url":"https://api.github.com/users/hansthen/repos","events_url":"https://api.github.com/users/hansthen/events{/privacy}","received_events_url":"https://api.github.com/users/hansthen/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":12,"state":"open","created_at":"2015-06-18T09:45:00Z","updated_at":"2015-08-14T14:02:17Z","due_on":"2015-09-17T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-12T08:17:32Z","updated_at":"2015-08-14T18:34:55Z","closed_at":null,"body":"Currently the update script needs to be adapted whenever a profile is added. It should be rewritten so that there is a default action which will do the common things (i.e copy the files from _profile_/rootimg.) "},"comment":{"url":"https://api.github.com/repos/clustervision/trinity/issues/comments/131204883","html_url":"https://github.com/clustervision/trinity/issues/393#issuecomment-131204883","issue_url":"https://api.github.com/repos/clustervision/trinity/issues/393","id":131204883,"user":{"login":"abhimukh","id":8803654,"avatar_url":"https://avatars.githubusercontent.com/u/8803654?v=3","gravatar_id":"","url":"https://api.github.com/users/abhimukh","html_url":"https://github.com/abhimukh","followers_url":"https://api.github.com/users/abhimukh/followers","following_url":"https://api.github.com/users/abhimukh/following{/other_user}","gists_url":"https://api.github.com/users/abhimukh/gists{/gist_id}","starred_url":"https://api.github.com/users/abhimukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhimukh/subscriptions","organizations_url":"https://api.github.com/users/abhimukh/orgs","repos_url":"https://api.github.com/users/abhimukh/repos","events_url":"https://api.github.com/users/abhimukh/events{/privacy}","received_events_url":"https://api.github.com/users/abhimukh/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T18:34:55Z","updated_at":"2015-08-14T18:34:55Z","body":"@hansthen That is precisely what it does! \r\nIf <profile>/rootimg exists then it calls copy() with the profile name as a parameter. \r\nAnd then extras().\r\n\r\nIt is difficult to define a generic part in copy() because it depends on what kind of profile it is (install,netboot,VM, container), also the order matters (for the master and controller we need to remove files before copying) and so on.\r\n"}}