{"action":"created","issue":{"url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/2","repository_url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn","labels_url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/2/comments","events_url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/2/events","html_url":"https://github.com/gabrielgagz/android_device_razer_pearlyn/issues/2","id":249733038,"number":2,"title":"Simplify tree cloning with local manifests","user":{"login":"lbdroid","id":3372230,"avatar_url":"https://avatars2.githubusercontent.com/u/3372230?v=4","gravatar_id":"","url":"https://api.github.com/users/lbdroid","html_url":"https://github.com/lbdroid","followers_url":"https://api.github.com/users/lbdroid/followers","following_url":"https://api.github.com/users/lbdroid/following{/other_user}","gists_url":"https://api.github.com/users/lbdroid/gists{/gist_id}","starred_url":"https://api.github.com/users/lbdroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbdroid/subscriptions","organizations_url":"https://api.github.com/users/lbdroid/orgs","repos_url":"https://api.github.com/users/lbdroid/repos","events_url":"https://api.github.com/users/lbdroid/events{/privacy}","received_events_url":"https://api.github.com/users/lbdroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gabrielgagz","id":24845589,"avatar_url":"https://avatars2.githubusercontent.com/u/24845589?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielgagz","html_url":"https://github.com/gabrielgagz","followers_url":"https://api.github.com/users/gabrielgagz/followers","following_url":"https://api.github.com/users/gabrielgagz/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgagz/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgagz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgagz/subscriptions","organizations_url":"https://api.github.com/users/gabrielgagz/orgs","repos_url":"https://api.github.com/users/gabrielgagz/repos","events_url":"https://api.github.com/users/gabrielgagz/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgagz/received_events","type":"User","site_admin":false},"assignees":[{"login":"gabrielgagz","id":24845589,"avatar_url":"https://avatars2.githubusercontent.com/u/24845589?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielgagz","html_url":"https://github.com/gabrielgagz","followers_url":"https://api.github.com/users/gabrielgagz/followers","following_url":"https://api.github.com/users/gabrielgagz/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgagz/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgagz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgagz/subscriptions","organizations_url":"https://api.github.com/users/gabrielgagz/orgs","repos_url":"https://api.github.com/users/gabrielgagz/repos","events_url":"https://api.github.com/users/gabrielgagz/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgagz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-08-11T19:58:26Z","updated_at":"2017-08-11T20:32:28Z","closed_at":null,"body":"Create a file in android/.repo/local_manifests/local_manifest.xml\r\nInitial local_manifest.xml for your project should probably look something like this;\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<manifest>\r\n<remote name=\"githubcom\" fetch=\"https://github.com/\" />\r\n<project name=\"gabrielgagz/android_device_razer_pearlyn\" path=\"device/razer/pearlyn\" remote=\"githubcom\" revision=\"cm-14.1\" />\r\n<project name=\"gabrielgagz/proprietary_vendor_razer_pearlyn\" path=\"proprietary/razer/pearlyn\" remote=\"githubcom\" revision=\"cm-14.1\" />\r\n<project name=\"gabrielgagz/android_kernel_razer_pearlyn\" path=\"kernel/razer/pearlyn\" remote=\"githubcom\" revision=\"cm-14.1\" />\r\n</manifest>\r\n```\r\n\r\nAdvantages;\r\n1) Issuing a \"repo sync\" will update the *entire* build tree, including those listed in the local_manifest.\r\n2) It keeps people from having to guess at which of your repositories is the correct one to use in their build, for instance, I'm not sure if I picked the correct kernel repository for that example local_manifest.xml. If you maintain your local manifest, then those looking to build your device won't have to guess.\r\n3) In addition to adding additional repositories to synchronize, a local manifest also allows you to *override* repositories listed in the platform default manifest using \"remove-project\" for some default project, and then adding a project \"project\" with the same path from your own repository. This is important for when you need to fork and alter something from the platform.\r\n4) It simplifies collaboration.\r\n\r\nIt is customary to store your local manifest in a repository that is dedicated to it. For instance, google uses a repository named \"manifest\" for their default manifest, so I would suggest something along the lines of \"pearlyn_manifest\" or \"android_manifest_pearlyn\". You can also throw in a README to that project that explains the device architecture and build process, since this ends up being the repository that binds everything together."},"comment":{"url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/comments/321912001","html_url":"https://github.com/gabrielgagz/android_device_razer_pearlyn/issues/2#issuecomment-321912001","issue_url":"https://api.github.com/repos/gabrielgagz/android_device_razer_pearlyn/issues/2","id":321912001,"user":{"login":"lbdroid","id":3372230,"avatar_url":"https://avatars2.githubusercontent.com/u/3372230?v=4","gravatar_id":"","url":"https://api.github.com/users/lbdroid","html_url":"https://github.com/lbdroid","followers_url":"https://api.github.com/users/lbdroid/followers","following_url":"https://api.github.com/users/lbdroid/following{/other_user}","gists_url":"https://api.github.com/users/lbdroid/gists{/gist_id}","starred_url":"https://api.github.com/users/lbdroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbdroid/subscriptions","organizations_url":"https://api.github.com/users/lbdroid/orgs","repos_url":"https://api.github.com/users/lbdroid/repos","events_url":"https://api.github.com/users/lbdroid/events{/privacy}","received_events_url":"https://api.github.com/users/lbdroid/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T20:32:28Z","updated_at":"2017-08-11T20:32:28Z","body":"I'm very impressed with where you've gotten with this, given that its your first device build and you seem to be mostly working on your own. I'm actually just about to kick off another device of my own, a chinese car radio. But in addition, I am setting up a build tree for your device as well and am happy to help in any way I can."}}
{"actor":{"display_login":"lbdroid"}}