forked from qt-creator/qt-creator
Git: Remove gitorious code
Gitorious has changed their APIs a while ago and nobody seems to have noticed. The only bug report I got was from Christian who tests Creator regularly. So the code seems to be unused, which I find not surprising considering the limited popularity of gitorious nowadays. Task-number: QTCREATORBUG-12858 Change-Id: Id92747fd146434ad737315320fa08afd96223a7e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
#include "branchdialog.h"
|
||||
#include "remotedialog.h"
|
||||
#include "clonewizard.h"
|
||||
#include "gitorious/gitoriousclonewizard.h"
|
||||
#include "stashdialog.h"
|
||||
#include "settingspage.h"
|
||||
#include "logchangedialog.h"
|
||||
@@ -301,17 +300,6 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
});
|
||||
addAutoReleasedObject(cloneWizardFactory);
|
||||
|
||||
// A wizard allowing for browsing Gitorious-hosted projects.
|
||||
cloneWizardFactory = new VcsBase::BaseCheckoutWizardFactory;
|
||||
cloneWizardFactory->setId(QLatin1String(VcsBase::Constants::VCS_ID_GIT));
|
||||
cloneWizardFactory->setIcon(QIcon(QLatin1String(":/git/images/gitorious.png")));
|
||||
cloneWizardFactory->setDescription(tr("Clones a Gitorious repository and tries to load the contained project."));
|
||||
cloneWizardFactory->setDisplayName(tr("Gitorious Repository Clone"));
|
||||
cloneWizardFactory->setWizardCreator([this] (const Utils::FileName &path, QWidget *parent) {
|
||||
return new Gitorious::Internal::GitoriousCloneWizard(path, parent);
|
||||
});
|
||||
addAutoReleasedObject(cloneWizardFactory);
|
||||
|
||||
const QString prefix = QLatin1String("git");
|
||||
m_commandLocator = new CommandLocator("Git", prefix, prefix);
|
||||
addAutoReleasedObject(m_commandLocator);
|
||||
|
Reference in New Issue
Block a user