{"action":"opened","issue":{"url":"https://api.github.com/repos/appc/spec/issues/236","labels_url":"https://api.github.com/repos/appc/spec/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/appc/spec/issues/236/comments","events_url":"https://api.github.com/repos/appc/spec/issues/236/events","html_url":"https://github.com/appc/spec/issues/236","id":60802945,"number":236,"title":"layout validation gets confused by \"manifest\" and/or \"rootfs\" files under rootfs/","user":{"login":"dardok","id":932491,"avatar_url":"https://avatars.githubusercontent.com/u/932491?v=3","gravatar_id":"","url":"https://api.github.com/users/dardok","html_url":"https://github.com/dardok","followers_url":"https://api.github.com/users/dardok/followers","following_url":"https://api.github.com/users/dardok/following{/other_user}","gists_url":"https://api.github.com/users/dardok/gists{/gist_id}","starred_url":"https://api.github.com/users/dardok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dardok/subscriptions","organizations_url":"https://api.github.com/users/dardok/orgs","repos_url":"https://api.github.com/users/dardok/repos","events_url":"https://api.github.com/users/dardok/events{/privacy}","received_events_url":"https://api.github.com/users/dardok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-12T11:10:03Z","updated_at":"2015-03-12T11:10:03Z","closed_at":null,"body":"In experimenting with actool, I discovered that if the rootfs contains a file named \"manifest\" anywhere in the tree, it gets used as the image manifest for validation purposes (and will fail if its not valid JSON).  It will also incorrectly fail if there's a file named \"rootfs\" anywhere in the tree under rootfs/.\r\n\r\nValidateLayout could return \"filepath.SkipDir\" for RootfsDir, perhaps?  Unsure how rigorous the check under rootfs/ should be...\r\n"}}