Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 7 of 7

Thread: Birdman's github thread

  1. #1
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,780
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by abu baniaz View Post
    Point 1
    If you have already made changes to dev and master branches in your fork, save the changed files elsewhere.
    START AGAIN.
    Fork project
    Create new branch
    Re-add the changed files to your new branch of your fork (copy of project).
    That's the current state I am in.
    The problem is that once I've created my own fork there seems to be no way to update the dev and master branches (using the Web interface) to the latest state of the OpenVix master (which is what I may well need to do in order to create my next branch from Dev before submitting the next PR).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  2. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,360
    Thanks
    6,441
    Thanked 9,160 Times in 6,235 Posts
    Can we please keep your questions in this thread?

    I am afraid I have to disagree with your statement. You cannot have started again (unless you have not been able to update for last 11 days). You still have the EPG-fixes branch

  3. #3
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    Quote Originally Posted by birdman View Post
    That's the current state I am in.
    The problem is that once I've created my own fork there seems to be no way to update the dev and master branches (using the Web interface) to the latest state of the OpenVix master (which is what I may well need to do in order to create my next branch from Dev before submitting the next PR).
    Do you use git commands from a Terminal?
    As once you know them it is really simple to keep your fork in sync with the OpenViX branches
    If you don,t I can post the few commands you need to keep your fork and its branches in sync
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  4. #4
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,780
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by twol View Post
    Do you use git commands from a Terminal?
    Yes. I also edit the files in a terminal...I'm very old-school.

    As once you know them it is really simple to keep your fork in sync with the OpenViX branches
    If you don,t I can post the few commands you need to keep your fork and its branches in sync
    I've never got that to work either (could be related?) so please send me what you have.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. #5
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    I am assuming that most of your changes will be against Dev branch.
    Assuming that you have cloned to your PC, then cd to the directory and enter:
    git remote -v

    For my main Git repository the response is :
    origin https://github.com/TwolDE/TwolViX.git (fetch)
    origin https://github.com/TwolDE/TwolViX.git (push)
    upstream https://github.com/OpenVIX/enigma2.git (fetch)
    upstream https://github.com/OpenVIX/enigma2.git (push)

    I would expect at least origin to be set in yours so to set up upstream, enter:
    git remote add upstream https://github.com/OpenVIX/enigma2.git

    to sync with Dev:
    git checkout Dev (puts you on your Dev branch)
    git fetch upstream (normally you will see entries for Dev & master( after a Vix merge to master from Dev)
    git merge upstream/Dev
    git push origin Dev
    ... and your Dev branch should be in sync.

    git checkout -b newbranch Dev
    puts you on a new branch based on Dev
    make your changes and then Pull. Then on your github delete the branch
    locally issue:-
    git branch -D newbranch ... will force delete of local branch.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  6. The Following 2 Users Say Thank You to twol For This Useful Post:

    birdman (19-12-18),Clabs (19-12-18)

  7. #6
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,780
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by twol View Post
    to sync with Dev:
    git checkout Dev (puts you on your Dev branch)
    git fetch upstream (normally you will see entries for Dev & master( after a Vix merge to master from Dev)
    Hmmm...perhaps not checking out Dev before fetching upstream is where I've been going wrong. I sort-of assumed this affected the whole git, rather than a specific branch.

    EDIT: and that all seems to work. When I get back to the web page it now says:
    This branch is even with OpenViX: Dev.
    (and the same for master...)
    Last edited by birdman; 20-12-18 at 00:52.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  8. #7
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,412
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    Quote Originally Posted by birdman View Post
    Hmmm...perhaps not checking out Dev before fetching upstream is where I've been going wrong. I sort-of assumed this affected the whole git, rather than a specific branch.
    You can issue a git pull ... but I like to know what I am updating ... especially as (although people will say don‘t do this!!) my master is really an updated Dev (contains all my changes plus Dev) .. so I actually pull Dev into my master!!!
    Another reason I have a separate fork that is pure ViX.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.