Cloning GIT Repository... (1 Viewer)

JJDoherty

MP Donator
  • Premium Supporter
  • July 10, 2013
    143
    72
    42
    Dublin
    Ireland Ireland
    Country flag
    Hope someone can help me with an issue, which is probably something simple that I have overlooked.

    I have cloned the main GIT repository successfully however I have ran into an issue with getting the sub-modules as described under "Get the submodules (e.g. libbluray)" as described here in the wiki. The following error message is what is appearing when attempting to update the sub-modules with "Recursive" checked:

    upload_2014-4-9_16-37-37.png


    Any help would be appreciate, as always...
     
    Last edited:

    JJDoherty

    MP Donator
  • Premium Supporter
  • July 10, 2013
    143
    72
    42
    Dublin
    Ireland Ireland
    Country flag
    Yes, well the thing is I was able to download or rather "clone" the repository prior to attempting to update the sub-modules using the "Update Submodules" context menu option, so is it probable that the connection is at issue?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    You don't need the libbluray submodule (there are no others) to do TV Server development/debugging. I would ignore this and proceed.
     

    JJDoherty

    MP Donator
  • Premium Supporter
  • July 10, 2013
    143
    72
    42
    Dublin
    Ireland Ireland
    Country flag
    Hi @regeszter, I selected "Git Sync..." from the context menu in the main repository folder on my PC and then within the "Git Synchronization" I clicked the "Pull" button, which seemed to succeed, see the screenshot below:

    upload_2014-4-10_9-38-29.png


    Does this help? Any ideas as to why I am unable to update the submodules?

    @mm1352000, thanks for the suggestion, that is probably what I'll do but I would still like to get the sunmodules updated too. On a side note, I can't seem to find any information on how I should create a branch in GIT. I see the there is a "manage" button beside the "Remote URL", is this what I use to create a new branch to sync to on the GIT MP respository if I'd like to check-in any changes to the software I make?

    Thanks all...
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    but I would still like to get the sunmodules updated too
    Well, then you should investigate connectivity with the repository.
    Can you see this?
    http://git.1f0.de/gitweb?p=libbluray.git;a=summary;js=1

    If so, I don't know why you wouldn't be able to access the submodule.

    On a side note, I can't seem to find any information on how I should create a branch in GIT. I see the there is a "manage" button beside the "Remote URL", is this what I use to create a new branch to sync to on the GIT MP respository if I'd like to check-in any changes to the software I make?
    You (and other non-team-members) don't have permission to commit directly to our git repository. Normally one would fork our repository to your own account, create the branch in your fork, then submit a pull request against our repository.
     

    JJDoherty

    MP Donator
  • Premium Supporter
  • July 10, 2013
    143
    72
    42
    Dublin
    Ireland Ireland
    Country flag
    Yep, I can see that and I've had no problem getting the MP GIT repository of using the "Git Synchronization" tool either!

    You (and other non-team-members) don't have permission to commit directly to our git repository. Normally one would fork our repository to your own account, create the branch in your fork, then submit a pull request against our repository.
    Ah right, think I've got it! I'll give it a bash maybe so. If you have a step-by-step on that it would be really useful. If not it's grand, I'll see what I can manage myself. Thanks so much for the help so far...
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    If you have a step-by-step on that it would be really useful.
    https://help.github.com/articles/creating-a-pull-request

    Yep, I can see that and I've had no problem getting the MP GIT repository of using the "Git Synchronization" tool either!
    Okay. AFAIK sync has nothing helpful to offer you when it comes to solving this problem.
    What happens when you right click on the MediaPortal-1 folder, go to the git sub-menu and select "submodule update"?
    [Assumption: you're using tortoise git like me.]
     

    JJDoherty

    MP Donator
  • Premium Supporter
  • July 10, 2013
    143
    72
    42
    Dublin
    Ireland Ireland
    Country flag
    That's great, thanks for the link.

    Okay. AFAIK sync has nothing helpful to offer you when it comes to solving this problem.
    What happens when you right click on the MediaPortal-1 folder, go to the git sub-menu and select "submodule update"?
    [Assumption: you're using tortoise git like me.]
    Yep I'm using Tortoise GIT too and I have tried the context menu "Submodule Update...", you can see what happened in my first post of the thread here, thanks again...
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    HTPCSourcer [Info] GIT Developer Discussions 0
    azzuro [solved] GIT Commit text to be captured by Jira MediaPortal 2 13
    morpheus_xx GIT Github private repository? Online Facilities 5
    Similar threads



    Top Bottom