{"action":"created","issue":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/356","labels_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/356/comments","events_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/356/events","html_url":"https://github.com/pgRouting/pgrouting/pull/356","id":94004182,"number":356,"title":"PL/pgSQL function to label edges based on the connected graph they belong to","user":{"login":"Zia-","id":8036389,"avatar_url":"https://avatars.githubusercontent.com/u/8036389?v=3","gravatar_id":"","url":"https://api.github.com/users/Zia-","html_url":"https://github.com/Zia-","followers_url":"https://api.github.com/users/Zia-/followers","following_url":"https://api.github.com/users/Zia-/following{/other_user}","gists_url":"https://api.github.com/users/Zia-/gists{/gist_id}","starred_url":"https://api.github.com/users/Zia-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zia-/subscriptions","organizations_url":"https://api.github.com/users/Zia-/orgs","repos_url":"https://api.github.com/users/Zia-/repos","events_url":"https://api.github.com/users/Zia-/events{/privacy}","received_events_url":"https://api.github.com/users/Zia-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-09T09:48:00Z","updated_at":"2015-07-19T16:13:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pgRouting/pgrouting/pulls/356","html_url":"https://github.com/pgRouting/pgrouting/pull/356","diff_url":"https://github.com/pgRouting/pgrouting/pull/356.diff","patch_url":"https://github.com/pgRouting/pgrouting/pull/356.patch"},"body":"In response to the suggestion suggested by @woodbri https://github.com/pgRouting/osm2pgrouting/issues/8#issuecomment-118360398 , to calculate and locate the total number of disconnected sub-graphs within a graph.\r\n\r\nFunction has been tested for two graphs. Criticism is heartily welcomed."},"comment":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/comments/122676772","html_url":"https://github.com/pgRouting/pgrouting/pull/356#issuecomment-122676772","issue_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/356","id":122676772,"user":{"login":"cvvergara","id":5035290,"avatar_url":"https://avatars.githubusercontent.com/u/5035290?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T16:13:56Z","updated_at":"2015-07-19T16:13:56Z","body":"@Zia- \r\nI went to see your repository, we are still in the alpha phase, so we are kind of \"on time\" .\r\nI certainly want to add your function, and here is my proposal:\r\nWe can add your function in the \"recipes\" (since its new, we can place it there and have people test it)\r\nbut (as always there is a but)\r\nI went to see [your repository](https://github.com/Zia-/pgrouting) and it says:\r\n```\r\nThis branch is 11 commits ahead, 201 commits behind pgRouting:develop\r\n```\r\nBefore even trying to make a pull request you need to synchronize develop in your fork develop in the  the main repository.\r\nhere are some useful steps\r\n1. make a backup (allways healthy to do)\r\n```\r\n#in develop\r\ngit checkout -b develop-broken-graph \r\ngit checkout develop\r\n```\r\n2. synchronize your fork. this [instructions] (https://help.github.com/articles/syncing-a-fork/) I find them useful\r\n3. After that synchronisation, run the tests\r\n4. All alpha changes I will be doing in develop_2_1_0 branch so create the pull request to that branch\r\n\r\n    \r\n\r\n"}}