Looking for support on Git_Subtree_Merging
#1
I have followed the instructions in this link step by step but it always fails the very last step when using "git push orgin jarvis"

I keep receiving the following error:
remote: Permission to xbmc/repo-plugins.git denied to ******.
fatal: unable to access 'https://github.com/xbmc/repo-plugins.git/': The requested URL returned error: 403


When I look online it states it is due to the origin URL, and advises me to set it to mine. If i do so it works fine, but instead i have a jarvis branch on my github and can only make pull requests to my self.

Any help would be appreciated.
Reply
#2
This would be better in the add-on development section - moving.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
You are trying to push to our(xbmc) repo, instead of your own.
Thats because you probably cloned https://github.com/xbmc/repo-plugins.git.

Instead you should clone https://github.com/[YOUR_USERNAME]/repo-plugins.git

To fix your issue:
Code:
git remote rename origin upstream
git remote add origin https://github.com/[YOUR_USERNAME]/repo-plugins.git
git fetch origin
git push --set-upstream origin jarvis
Reply
#4
Since Updates are only accepted via Github, i have avoided commiting Addons or Updates.

Since this seems a fitting Thread My Qurstion

i have an Repo in Github with many addons ( for example /repo/addon1 /repo/addon2 ....)
Ive tried the Github Sub Merge, but it seems always to merge all my Directorys to the Original Repo

What i Need is to Merge a subtree like ( repo/myaddon/* to your repo koditv/myaddon/* )

So Far i have only managed to Merge repo/* to koditv/myaddon

Is there a way to do so?
Reply
#5
Skipmode A1 helped me with my github issue a while back.

http://forum.kodi.tv/showthread.php?tid=280882

I think there is something missing at the end but I haven't gotten to trying it out.
Reply
#6
(2016-09-04, 11:35)wsnipex Wrote: You are trying to push to our(xbmc) repo, instead of your own.
Thats because you probably cloned https://github.com/xbmc/repo-plugins.git.

Instead you should clone https://github.com/[YOUR_USERNAME]/repo-plugins.git

To fix your issue:
Code:
git remote rename origin upstream
git remote add origin https://github.com/[YOUR_USERNAME]/repo-plugins.git
git fetch origin
git push --set-upstream origin jarvis

Thanks for the response.

I ended up doing what you requested. I have made pull requests via mailing list and the git repo but have not heard back on either. What is the normal turn around time frame?
Reply
#7
The mailing list isn't manned, you have to submit via github. But you know, using subtree merging is just one possible way to do it. You can also just copy-paste your addon files into the repo-plugins directory and commit them like in any other git repo!
Reply
#8
(2016-09-14, 20:20)takoi Wrote: The mailing list isn't manned, you have to submit via github. But you know, using subtree merging is just one possible way to do it. You can also just copy-paste your addon files into the repo-plugins directory and commit them like in any other git repo!

Thanks for the feedback. This is my first addon so was trying to follow the rules placed in the release documentation on the wiki.

Appreciate it
Reply

Logout Mark Read Team Forum Stats Members Help
Looking for support on Git_Subtree_Merging0