Nope, can't seem to figure it out. I have navigated to various sections of the code to see path information and nothing works properly. I have tried the following and all I get in return is "fatal: Not a git repository (or any of the parent directories): .git"
What I've tried:
Code:
root@FreeNAS-Dev:/usr/local/freenas # git checkout git://github.com/freenas/freenas/tree/stable/8.3
fatal: Not a git repository (or any of the parent directories): .git
root@FreeNAS-Dev:/usr/local/freenas # git checkout git://github.com/freenas/freenas/tree/stable/8.3/freenas.git
fatal: Not a git repository (or any of the parent directories): .git
root@FreeNAS-Dev:/usr/local/freenas # git checkout git://github.com/freenas/freenas/blob/stable/8.3
fatal: Not a git repository (or any of the parent directories): .git
root@FreeNAS-Dev:/usr/local/freenas # git checkout git://github.com/freenas/stable/8.3
fatal: Not a git repository (or any of the parent directories): .git
root@FreeNAS-Dev:/usr/local/freenas # git checkout git://github.com/freenas/stable/8.3
fatal: Not a git repository (or any of the parent directories): .git
and I have tried this as well, actually it was my first attempts. I downloaded a local copy of the ports and TrueOS per paleoN's instructions in a link provided and here are my attempts to obtain the source files.
Code:
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/freenas/blob/stable/8.3
Cloning into '8.3'...
fatal: remote error:
freenas/freenas/blob/stable/8.3 is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/freenas/tree/stable/8.3
Cloning into '8.3'...
fatal: remote error:
freenas/freenas/tree/stable/8.3 is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/freenas/stable/8.3
Cloning into '8.3'...
fatal: remote error:
freenas/freenas/stable/8.3 is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/stable/8.3
Cloning into '8.3'...
fatal: remote error:
freenas/stable/8.3 is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/stable/8.3/freenas.git
Cloning into 'freenas'...
fatal: remote error:
freenas/stable/8.3/freenas.git is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/freenas/stable/8.3/freenas.git
Cloning into 'freenas'...
fatal: remote error:
freenas/freenas/stable/8.3/freenas.git is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/blob/stable/8.3/freenas.git
Cloning into 'freenas'...
fatal: remote error:
freenas/blob/stable/8.3/freenas.git is not a valid repository name
Email support@github.com for help
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/blob/stable/8.3/freenas.git
Cloning into 'freenas'...
fatal: remote error:
freenas/blob/stable/8.3/freenas.git is not a valid repository name
Email support@github.com for help
Now I was able to download the source files in a ZIP format and then SFTP them into the VM FreeBSD server where they belong and then I was hoping to run the build script, boy was I wrong...
Code:
root@FreeNAS-Dev:/usr/local/freenas/freenas # sh build/do_build.sh
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
do_build.sh: ERROR: No sup host defined, please define FREEBSD_CVSUP_HOST and rerun
root@FreeNAS-Dev:/usr/local/freenas/freenas # sudo env GIT_REPO=${HOME}/trueos GIT_PORTS_REPO=${HOME}/ports sh build/do_build.sh
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
do_build.sh: ERROR: No sup host defined, please define FREEBSD_CVSUP_HOST and rerun
The FreeBSD_CVSUP_HOST is an easy fix but the fatal errors above it need to be fixed first.
So building FreeNAS using the GIT repository is really not working for me.
What did work? Well the Alpha project will download fine
Code:
root@FreeNAS-Dev:/usr/local/freenas # git clone --depth 1 git://github.com/freenas/freenas.git
Cloning into 'freenas'...
remote: Counting objects: 2485, done.
remote: Compressing objects: 100% (1290/1290), done.
remote: Total 2485 (delta 1226), reused 1988 (delta 1035)
Receiving objects: 100% (2485/2485), 3.68 MiB | 1.48 MiB/s, done.
Resolving deltas: 100% (1226/1226), done.
And the build works fine as well using "sudo env GIT_REPO=${HOME}/trueos GIT_PORTS_REPO=${HOME}/ports sh build/do_build.sh".
So I'm lost as how to grab a branch.