Tetsuji Maverick Rai
Joined: 29 Aug 05
I am trying to build the current version (7.8.3) of boinc client on Windows 10 instead of the latest prerelease 7.9.0. So I need to use tag.
I'm new to git. I installed git for Windows 18.104.22.168 and set up with bash commandline version. "git clone <url> boinc" works fine, but when it comes to tag, git doesn't work as mentioned in the guide.
I tried to set-url as the guide page (https://boinc.berkeley.edu/trac/wiki/SourceCodeGit) says:
git remote set-url origin https://github.com/BOINC/boinc
but git says
Fatal: Not a git repository (or any of the parent directries): .git
git help remote set-url
then, Edge opened and showed a help page, but there's no option "origin". All I can see is
git remote set-url --add <name> <newurl>
git remote set-url --delete <name> <url>
I suspect it's due to the version of git (mine is 2.15 while the guide uses 1.7.6). Anyway I have no idea what comes to <name>.
How can I set remote url?
Thanks in advance.
-Tetsuji Maverick Rai
aka Weapon of Mass Distraction
Help desk expert
Joined: 5 Oct 06
Speaking personally, I've always used the Windows GUI git tools, but command line principles should be the same.
If you've cloned BOINC, you already have everything - master, all branches, all tags. From there, I export the code for tag 7.8.3 (or whatever), which gives me a single .zip file containing the code as at that version only. Then, I expand the zip into a new, separate, folder tree from where I can build, test modifications or anything else. Getting fixes back into the github source is another question entirely.
Edit - should have said. v7.8.3 is a bit of a dog's breakfast, and is missing a lot of bugfixes which should have been included - you'll find a pull request from me (#2065) attempting to identify the fixes which were missed. Conversely, master (and hence 7.9.0) contains a lot of new development code which has never been tested: it doesn't surprise me it's broken. Best of luck.
Copyright © 2018 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.