{"action":"created","issue":{"url":"https://api.github.com/repos/Fat-Zer/trinity/issues/3","repository_url":"https://api.github.com/repos/Fat-Zer/trinity","labels_url":"https://api.github.com/repos/Fat-Zer/trinity/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Fat-Zer/trinity/issues/3/comments","events_url":"https://api.github.com/repos/Fat-Zer/trinity/issues/3/events","html_url":"https://github.com/Fat-Zer/trinity/issues/3","id":142844016,"number":3,"title":"Git submodule 403 failure","user":{"login":"sitsang","id":16655628,"avatar_url":"https://avatars.githubusercontent.com/u/16655628?v=3","gravatar_id":"","url":"https://api.github.com/users/sitsang","html_url":"https://github.com/sitsang","followers_url":"https://api.github.com/users/sitsang/followers","following_url":"https://api.github.com/users/sitsang/following{/other_user}","gists_url":"https://api.github.com/users/sitsang/gists{/gist_id}","starred_url":"https://api.github.com/users/sitsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitsang/subscriptions","organizations_url":"https://api.github.com/users/sitsang/orgs","repos_url":"https://api.github.com/users/sitsang/repos","events_url":"https://api.github.com/users/sitsang/events{/privacy}","received_events_url":"https://api.github.com/users/sitsang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-23T02:53:31Z","updated_at":"2016-03-24T05:57:48Z","closed_at":null,"body":">>> Emerging (2 of 3) dev-libs/dbus-1-tqt-9999::trinity\r\n>>> Unpacking source...\r\nCloning into '/usr/portage/distfiles/egit-src/trinity/dbus-1-tqt'...\r\nChecking connectivity... done.\r\nGIT NEW clone -->\r\n   repository:               http://mirror.git.trinitydesktop.org/cgit/dbus-1-tqt\r\n   at the commit:            f853b90d63328cdc5732c489ce19e69b7b60e326\r\n   branch:                   master\r\n   storage directory:        \"/usr/portage/distfiles/egit-src/trinity/dbus-1-tqt\"\r\n   checkout type:            non-bare repository\r\nSubmodule 'admin' (http://system@scm.trinitydesktop.org/scm/git/tde-common-admin) registered for path 'admin'\r\nSubmodule 'cmake' (http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake) registered for path 'cmake'\r\nSynchronizing submodule url for 'admin'\r\nSynchronizing submodule url for 'cmake'\r\nCloning into 'admin'...\r\nfatal: unable to access 'http://system@scm.trinitydesktop.org/scm/git/tde-common-admin/': The requested URL returned error: 403\r\nClone of 'http://system@scm.trinitydesktop.org/scm/git/tde-common-admin' into submodule path 'admin' failed\r\n * ERROR: dev-libs/dbus-1-tqt-9999::trinity failed (unpack phase):\r\n *   (no error message)"},"comment":{"url":"https://api.github.com/repos/Fat-Zer/trinity/issues/comments/200687856","html_url":"https://github.com/Fat-Zer/trinity/issues/3#issuecomment-200687856","issue_url":"https://api.github.com/repos/Fat-Zer/trinity/issues/3","id":200687856,"user":{"login":"Fat-Zer","id":1060057,"avatar_url":"https://avatars.githubusercontent.com/u/1060057?v=3","gravatar_id":"","url":"https://api.github.com/users/Fat-Zer","html_url":"https://github.com/Fat-Zer","followers_url":"https://api.github.com/users/Fat-Zer/followers","following_url":"https://api.github.com/users/Fat-Zer/following{/other_user}","gists_url":"https://api.github.com/users/Fat-Zer/gists{/gist_id}","starred_url":"https://api.github.com/users/Fat-Zer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fat-Zer/subscriptions","organizations_url":"https://api.github.com/users/Fat-Zer/orgs","repos_url":"https://api.github.com/users/Fat-Zer/repos","events_url":"https://api.github.com/users/Fat-Zer/events{/privacy}","received_events_url":"https://api.github.com/users/Fat-Zer/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T05:57:48Z","updated_at":"2016-03-24T05:57:48Z","body":">The problem is that the Gentoo's ebuild will see the .gitmodules file, which is still pointing to scm.trinitydesktop.org/scm/git/tde-common-admin instead of the mirror.\r\n\r\nYes, it's a general draw back of using submodules: there is no sane way to tell to git that they were mirrored... But cmake and admin are relatively small so this is IMHO not a big deal that they are getting updated from the slower mirror...\r\nThe most that should be done is a line to be dropped into TRINITY_GIT_MIRROR description about that or it may be consider as a strictly internal variable...\r\n\r\n> We could certainly work around this be doing a sed on the .gitmodules ourselves, but to do so requires rewriting the git eclass.\r\n\r\nFirstly, I don't want to alter and maintain a copy of a git eclass here.\r\nSecondly, I'm not yet sure that this will workout just that easy anyway...\r\n\r\n>I don't foresee migrating to git-r3 eclass would fix this issue.\r\n\r\nI suppose you are right, moreover due to they removed EGIT_PROJECT there will be not possible to alter mirrors at all and if kde guys will migrate too this will likely result in conflicts, so I'm still not sure that I will finally do this..."}}