By default, when checking for updates, PiNet will look to https://github.com/pinet/pinet
and will either use the Master (stable) branch or Dev (development) branch.
As of PiNet 1.1.7, both these are manually changeable via the PiNet config file.
New experimental versions of PiNet may be released on different branches from the usual Master and Dev branches. To easily use these, you will need to tell PiNet about it.
Warning - You must verify that the branch actually exists! You can do so by opening the following URL in a web browser (replacing branchname with your custom branch name) https://github.com/PiNet/PiNet/tree/branchname
.
In this example, we will switch to the jessiedev
branch, the experimental Raspbian Jessie build.
sudo nano /etc/pinet
.ReleaseChannel=
line.custom:jessiedev
. So the line should now read ReleaseChannel=custom:jessiedev
If you wish to use a custom Github repository, perhaps you want to write some custom PiNet code or test some possible new feature code using your own repository.
You can do this, although it is a little complicated.
RepositoryBase=
and RawRepositoryBase=
.
It is essential that you also have RawRepositoryBase=
!RepositoryBase=https://github.com/gbaman/
RawRepositoryBase=https://raw.github.com/gbaman/