Changeset 82f1819


Ignore:
Timestamp:
11/15/13 08:32:31 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4ff8888
Parents:
2ec77c7
Message:

System Manager Update

Change how we fetch system sources on 10, now use GIT to clone our
PC-BSD / FreeBSD repo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-sysmanager/portsnapprogress.cpp

    r56d05c5 r82f1819  
    6262    // Figure out which to download 
    6363    if ( pcVer.indexOf("STABLE") ) 
    64        branch = "/stable/" + pcVer.section(".", 0, 0);  
     64       branch = "stable/" + pcVer.section("-", 0, 0).section(".", 0, 0);  
    6565    else if ( pcVer.indexOf(".") != -1 ) 
    66        branch = "/releng/" + pcVer.section("-", 0, 0);  
     66       branch = "releng/" + pcVer.section("-", 0, 0);  
    6767    else 
    68        branch = "/head"; 
     68       branch = "master"; 
    6969 
    7070    QStringList args; 
    7171    QString prog; 
    72     prog = "svn"; 
    73     args << "co" << "svn://svn.freebsd.org/base" + branch << "/usr/src"; 
     72    prog = "git"; 
     73    args << "clone" << "https://github.com/pcbsd/freebsd.git" << "-b" << branch << "/usr/src"; 
     74    qDebug() << args; 
    7475    portsnap = new QProcess(this); 
    7576    portsnap->setProcessChannelMode(QProcess::MergedChannels); 
Note: See TracChangeset for help on using the changeset viewer.