Permalink
Browse files

System Manager Update

Change how we fetch system sources on 10, now use GIT to clone our
PC-BSD / FreeBSD repo
  • Loading branch information...
1 parent 2ec77c7 commit 82f181923ce613315472c2780baf8cb2cf1b66b3 @kmoore134 kmoore134 committed Nov 15, 2013
Showing with 6 additions and 5 deletions.
  1. +6 −5 src-qt4/pc-sysmanager/portsnapprogress.cpp
@@ -61,16 +61,17 @@ void PortsnapProgress::startSource(QString pcVer)
QString branch;
// Figure out which to download
if ( pcVer.indexOf("STABLE") )
- branch = "/stable/" + pcVer.section(".", 0, 0);
+ branch = "stable/" + pcVer.section("-", 0, 0).section(".", 0, 0);
else if ( pcVer.indexOf(".") != -1 )
- branch = "/releng/" + pcVer.section("-", 0, 0);
+ branch = "releng/" + pcVer.section("-", 0, 0);
else
- branch = "/head";
+ branch = "master";
QStringList args;
QString prog;
- prog = "svn";
- args << "co" << "svn://svn.freebsd.org/base" + branch << "/usr/src";
+ prog = "git";
+ args << "clone" << "https://github.com/pcbsd/freebsd.git" << "-b" << branch << "/usr/src";
+ qDebug() << args;
portsnap = new QProcess(this);
portsnap->setProcessChannelMode(QProcess::MergedChannels);
connect(portsnap, SIGNAL(readyReadStandardOutput()), this, SLOT(parseUpdate()));

0 comments on commit 82f1819

Please sign in to comment.