cleaned up some old files

This commit is contained in:
Keivan Beigi 2013-08-16 15:22:21 -07:00
parent 59eb4e68ec
commit 16813327d1
26 changed files with 0 additions and 4158 deletions

27
.gitignore vendored
View File

@ -2,8 +2,6 @@
[Bb]in/
[Oo]bj/
# mstest test results
TestResults
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
@ -14,8 +12,6 @@ TestResults
*.sln.docstates
# Build results
bin/**/[Dd]ebug/
bin/**/[Rr]elease/
*_i.c
*_p.c
*.ilk
@ -36,35 +32,18 @@ bin/**/[Rr]elease/
*.vssscc
.builds
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
[Rr]esult[s]
*.sdf
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*
# Mindbench SASS cache
.sass-cache/
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
@ -122,20 +101,14 @@ _TeamCity*
config.xml
nzbdrone.log*txt
UpdateLogs/
*/.idea/workspace.xml
*workspace.xml
*.test-cache
*.userprefs
*/test-results/*
.idea/*
NzbDrone.Web/*
*log.txt
node_modules/
UpgradeLog*.htm
NzbDrone.Backbone/templates.js
NzbDrone.Backbone/Content/bootstrap.css
_output/
_rawPackage/
NzbDrone.zip
_dotTrace*
_tests/

View File

@ -1,11 +0,0 @@
71256,The Daily Show
82483,The Soup
194751,Conan (Conan (2010))
75088,David Letterman (Late Show with David Letterman)
70336,Jay Leno (Late Show with David Letterman)
73387,Craig Ferguson (The Late Late Show with Craig Ferguson)
249673,George Stroumboulopoulos Tonight
114851,Chelsea Lately
79274,The Colbert Report
72194,The Ellen Degeneres Show
71424,The Dr Phil Show
1 71256 The Daily Show
2 82483 The Soup
3 194751 Conan (Conan (2010))
4 75088 David Letterman (Late Show with David Letterman)
5 70336 Jay Leno (Late Show with David Letterman)
6 73387 Craig Ferguson (The Late Late Show with Craig Ferguson)
7 249673 George Stroumboulopoulos Tonight
8 114851 Chelsea Lately
9 79274 The Colbert Report
10 72194 The Ellen Degeneres Show
11 71424 The Dr Phil Show

View File

@ -1,709 +0,0 @@
<?xml version="1.0"?>
<Options xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Enabled>true</Enabled>
<ErrorCategory>Warning</ErrorCategory>
<TODOEnabled>false</TODOEnabled>
<TODOCategory>Task</TODOCategory>
<RunOnBuild>true</RunOnBuild>
<CancelBuildOnError>false</CancelBuildOnError>
<JSLintOptions>
<BoolOptions2>
<item>
<key>
<string>adsafe</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>anon</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>asi</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>bitwise</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>bitwise.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>boss</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>browser</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>camelcase</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>cap</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>continue</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>couch</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>css</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>curly</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>debug</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>devel</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>dojo</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>eqeqeq</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>eqeq</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>eqnull</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>es5</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>esnext</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>evil</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>expr</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>forin</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>forin.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>fragment</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>funcscope</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>globalstrict</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>immed</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>iterator</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>jquery</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>lastsemic</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>latedef</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>laxbreak</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>laxcomma</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>loopfunc</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>mootools</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>multistr</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>newcap</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>newcap.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>noarg</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>node</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>noempty</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nonew</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nomen</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>nomen.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>nonstandard</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>on</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>onecase</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>onevar</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>passfail</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>plusplus</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>plusplus.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>proto</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>prototypejs</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>regexp</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>regexp.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>regexdash</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>rhino</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>safe</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>scripturl</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>shadow</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>sloppy</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>smarttabs</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>stupid</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>sub</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>supernew</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>strict</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>trailing</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>todo</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>undef</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>undef.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>unused</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>unparam</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>validthis</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>vars</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>white</string>
</key>
<value>
<boolean>true</boolean>
</value>
</item>
<item>
<key>
<string>white.</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>widget</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>windows</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>withstmt</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>worker</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>wsh</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
<item>
<key>
<string>yui</string>
</key>
<value>
<boolean>false</boolean>
</value>
</item>
</BoolOptions2>
<ErrorOnUnused>false</ErrorOnUnused>
<IndentSize xsi:nil="true" />
<MaxLength>150</MaxLength>
<MaxComplexity xsi:nil="true" />
<MaxDepth xsi:nil="true" />
<MaxStatements xsi:nil="true" />
<MaxParams xsi:nil="true" />
<QuoteMark>Single</QuoteMark>
<SelectedLinter>JSHint</SelectedLinter>
<FindTodos>false</FindTodos>
<PreDefined>
<string>NzbDrone</string>
<string>Backbone</string>
<string>_</string>
<string>document</string>
<string>window</string>
</PreDefined>
</JSLintOptions>
<BuildFileTypes>JS</BuildFileTypes>
<SaveFileTypes>JS</SaveFileTypes>
<FakeCSSCharset>false</FakeCSSCharset>
<IgnoreErrorStart>/*ignore jslint start*/</IgnoreErrorStart>
<IgnoreErrorEnd>/*ignore jslint end*/</IgnoreErrorEnd>
<IgnoreErrorLine>//ignore jslint</IgnoreErrorLine>
<RunOnSave>true</RunOnSave>
</Options>

View File

@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{64E5482F-0C4F-46C6-9377-699D3EADBA9E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone.SqlCe</RootNamespace>
<AssemblyName>NzbDrone.SqlCe</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll</HintPath>
</Reference>
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Compile Include="SqlCeProxy.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<PropertyGroup>
<PostBuildEvent>if not exist "$(TargetDir)x86" md "$(TargetDir)x86"
xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\*.*" "$(TargetDir)x86"
if not exist "$(SolutionDir)\SqlCe" md "$(SolutionDir)\SqlCe"
xcopy /s/y "$(TargetDir)*.*" "$(SolutionDir)\SqlCe"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -1,27 +0,0 @@
using System.Data.Common;
using System.Data.SqlServerCe;
using System.IO;
namespace NzbDrone.SqlCe
{
public class SqlCeProxy
{
public SqlCeConnection EnsureDatabase(string connectionString)
{
var connection = new SqlCeConnection(connectionString);
if (!File.Exists(connection.Database))
{
var engine = new SqlCeEngine(connectionString);
engine.CreateDatabase();
}
return connection;
}
public DbProviderFactory GetSqlCeProviderFactory()
{
return new SqlCeProviderFactory();
}
}
}

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.SqlServer.Compact" version="4.0.8876.1" targetFramework="net40" />
</packages>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>

View File

@ -1,153 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
<!-- Enable the restore command to run before builds -->
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>
<!-- Property that enables building a package from a project -->
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
<!-- Determines if package restore consent is required to restore packages -->
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>
<!-- Download NuGet.exe if it does not already exist -->
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
</PropertyGroup>
<ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
<!--
<PackageSource Include="https://nuget.org/api/v2/" />
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
</ItemGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
<!-- Windows specific commands -->
<NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
<PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
<NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
<PackagesConfig>packages.config</PackagesConfig>
<PackagesDir>$(SolutionDir)packages</PackagesDir>
</PropertyGroup>
<PropertyGroup>
<!-- NuGet command -->
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\nuget.exe</NuGetExePath>
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>
<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
<!-- Commands -->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -o "$(PackagesDir)"</RestoreCommand>
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
<!-- We need to ensure packages are restored prior to assembly resolve -->
<ResolveReferencesDependsOn Condition="$(RestorePackages) == 'true'">
RestorePackages;
$(ResolveReferencesDependsOn);
</ResolveReferencesDependsOn>
<!-- Make the build depend on restore packages -->
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
$(BuildDependsOn);
BuildPackage;
</BuildDependsOn>
</PropertyGroup>
<Target Name="CheckPrerequisites">
<!-- Raise an error if we're unable to locate nuget.exe -->
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
<SetEnvironmentVariable EnvKey="VisualStudioVersion" EnvValue="$(VisualStudioVersion)" Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' " />
<!--
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
This effectively acts as a lock that makes sure that the download operation will only happen once and all
parallel builds will have to wait for it to complete.
-->
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT" />
</Target>
<Target Name="_DownloadNuGet">
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
<Exec Command="$(RestoreCommand)"
LogStandardErrorAsError="true"
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(BuildCommand)"
Condition=" '$(OS)' != 'Windows_NT' " />
<Exec Command="$(BuildCommand)"
LogStandardErrorAsError="true"
Condition=" '$(OS)' == 'Windows_NT' " />
</Target>
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
<Using Namespace="System" />
<Using Namespace="System.IO" />
<Using Namespace="System.Net" />
<Using Namespace="Microsoft.Build.Framework" />
<Using Namespace="Microsoft.Build.Utilities" />
<Code Type="Fragment" Language="cs">
<![CDATA[
try {
OutputFilename = Path.GetFullPath(OutputFilename);
Log.LogMessage("Downloading latest version of NuGet.exe...");
WebClient webClient = new WebClient();
webClient.DownloadFile("https://nuget.org/nuget.exe", OutputFilename);
return true;
}
catch (Exception ex) {
Log.LogErrorFromException(ex);
return false;
}
]]>
</Code>
</Task>
</UsingTask>
<UsingTask TaskName="SetEnvironmentVariable" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<EnvKey ParameterType="System.String" Required="true" />
<EnvValue ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Using Namespace="System" />
<Code Type="Fragment" Language="cs">
<![CDATA[
try {
Environment.SetEnvironmentVariable(EnvKey, EnvValue, System.EnvironmentVariableTarget.Process);
}
catch {
}
]]>
</Code>
</Task>
</UsingTask>
</Project>

View File

@ -1,27 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NzbDrone.Tvdb.Offline", "NzbDrone.Tvdb.Offline\NzbDrone.Tvdb.Offline.csproj", "{9B00D86A-6A39-44D2-9D66-32D9D07882E8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{4F7C0C2A-56AB-4D92-9ACF-BB202A49C7C9}"
ProjectSection(SolutionItems) = preProject
.nuget\NuGet.Config = .nuget\NuGet.Config
.nuget\NuGet.exe = .nuget\NuGet.exe
.nuget\NuGet.targets = .nuget\NuGet.targets
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9B00D86A-6A39-44D2-9D66-32D9D07882E8}.Debug|x86.ActiveCfg = Debug|x86
{9B00D86A-6A39-44D2-9D66-32D9D07882E8}.Debug|x86.Build.0 = Debug|x86
{9B00D86A-6A39-44D2-9D66-32D9D07882E8}.Release|x86.ActiveCfg = Release|x86
{9B00D86A-6A39-44D2-9D66-32D9D07882E8}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--
See http://nlog-project.org/wiki/Configuration_file
for information on customizing logging rules and outputs.
-->
<targets>
<!-- add your targets here -->
<!--
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
-->
</targets>
<rules>
<!-- add your logging rules here -->
<!--
<logger name="*" minlevel="Trace" writeTo="f" />
-->
</rules>
</nlog>

File diff suppressed because it is too large Load Diff

View File

@ -1,94 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9B00D86A-6A39-44D2-9D66-32D9D07882E8}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NzbDrone.Tvdb.Offline</RootNamespace>
<AssemblyName>NzbDrone.Tvdb.Offline</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Ionic.Zip, Version=1.9.1.5, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Bson">
<HintPath>..\packages\mongocsharpdriver.1.7\lib\net35\MongoDB.Bson.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Driver">
<HintPath>..\packages\mongocsharpdriver.1.7\lib\net35\MongoDB.Driver.dll</HintPath>
</Reference>
<Reference Include="NLog">
<HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="NzbDrone.Core">
<HintPath>..\..\NzbDrone.Core\bin\Debug\NzbDrone.Core.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Series.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="log.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Content Include="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="NLog.xsd">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Ionic.Zip.dll" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -1,157 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using Ionic.Zip;
using Ionic.Zlib;
using NLog;
using NLog.Config;
namespace NzbDrone.Tvdb.Offline
{
public class TVDbService
{
public List<string> GetSeriesId()
{
var startYear = 1900;
var xml = new WebClient().DownloadString("http://www.thetvdb.com/api/Updates.php?type=all&time=" + startYear);
var Ids = XElement.Load("http://www.thetvdb.com/api/Updates.php?type=all&time=1990")
.Descendants("Items").Select(i=>i.Elements(""))
}
}
public class Program
{
static readonly Logger _logger = LogManager.GetLogger("Main");
private static DirectoryInfo _target;
private static DirectoryInfo _temp;
private static bool _cleanDb;
private static string dbPath;
static void Main(string[] args)
{
SetupLogger();
_logger.Info("Starting TVDB Offline...");
if (!String.IsNullOrWhiteSpace(dbPath))
{
using (var zip = new ZipFile())
{
_logger.Info("Compressing database file");
zip.CompressionLevel = CompressionLevel.BestCompression;
zip.AddFiles(new[] { dbPath });
zip.Save(dbPath + ".zip");
}
}
Console.WriteLine("Press any key to exit...");
Console.ReadLine();
}
private static void CreateNewDb()
{
_logger.Info("Starting to generate offline DB...");
var files = _target.GetFiles("*.zip");
_logger.Info("Total number of files found {0}", files.Count());
var list = new Dictionary<int, Series>();
var repo = InitSubsonic(true);
decimal progress = 0;
foreach (var fileInfo in files)
{
Console.Write("\r{0:0.0}%", progress * 100 / files.Count());
var series = ProcessFile(fileInfo, repo);
if (series != null)
{
if (!list.ContainsKey(series.SeriesId))
{
list.Add(series.SeriesId, series);
}
else
{
Console.WriteLine();
_logger.Warn("Conflict {0} <=> {1}", list[series.SeriesId], series);
}
}
progress++;
}
_logger.Info("Writing series to DB");
repo.AddMany(list.Values);
_logger.Info("DB is fully created");
}
private static Series ProcessFile(FileInfo fileInfo, IRepository repo)
{
try
{
_logger.Debug("Processing " + fileInfo.Name);
using (ZipFile zip = ZipFile.Read(fileInfo.FullName))
{
ZipEntry e = zip["en.xml"];
if (e == null)
{
_logger.Warn("File {0} didn't contain an en.xml file", fileInfo.Name);
return null;
}
var stream = e.OpenReader();
var seriesElement = XDocument.Load(stream).Descendants("Series").First();
var series = new Series();
series.SeriesId = (int)seriesElement.Element("id");
series.AirsDayOfWeek = seriesElement.Element("Airs_DayOfWeek").Value;
series.AirTimes = seriesElement.Element("Airs_Time").Value;
series.Overview = seriesElement.Element("Overview").Value;
series.Status = seriesElement.Element("Status").Value;
series.Title = seriesElement.Element("SeriesName").Value;
int ratingCount;
Int32.TryParse(seriesElement.Element("RatingCount").Value, out ratingCount);
series.RateCount = ratingCount;
decimal rating;
Decimal.TryParse(seriesElement.Element("Rating").Value, out rating);
series.RateCount = ratingCount;
series.CleanTitle = Core.Parser.NormalizeTitle(series.Title);
series.Path = fileInfo.Name;
return series;
}
}
catch (Exception e)
{
_logger.Error("Unable to process file. {0}. {1}", fileInfo.Name, e.Message);
return null;
}
}
private static void SetupLogger()
{
LogManager.ThrowExceptions = true;
LogManager.Configuration = new XmlLoggingConfiguration("nlog.config", false);
}
}
}

View File

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NzbDrone.Tvdb.Offline")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("NzbDrone.Tvdb.Offline")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("20805934-73f9-4a27-93c5-bb17f42435cd")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -1,31 +0,0 @@
using System;
namespace NzbDrone.Tvdb.Offline
{
public class Series
{
public virtual int SeriesId { get; set; }
public string Title { get; set; }
public string CleanTitle { get; set; }
public string Status { get; set; }
public Boolean? Active { get; set; }
public string Overview { get; set; }
public string AirsDayOfWeek { get; set; }
public int? WeekDay { get; set; }
public String AirTimes { get; set; }
public int? RateCount { get; set; }
public decimal? Rating { get; set; }
public String Path { get; set; }
}
}

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Ionic.Zip" publicKeyToken="edbe51ad942a3f5c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.9.1.5" newVersion="1.9.1.5" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@ -1,18 +0,0 @@
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">
<targets>
<target name="consoleTarget" xsi:type="ColoredConsole" layout="${logger}: ${message}" />
<target name="debugTarget" xsi:type="Debugger" layout="${logger}: ${message}" />
<target name="udpTarget" xsi:type="Chainsaw" address="udp://127.0.0.1:20480"
includeCallSite="true" includeSourceInfo="true" includeNLogData="true" includeNDC="true" includeMDC="true">
<parameter name="exception" layout="${exception:format=ToString}" xsi:type="NLogViewerParameterInfo" />
<parameter name="processname" layout="${processname}" xsi:type="NLogViewerParameterInfo" />
<parameter name="stacktrace" layout="${stacktrace:topFrames=99}" xsi:type="NLogViewerParameterInfo" />
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
</target>
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="consoleTarget"/>
<logger name="*" minlevel="Trace" writeTo="debugTarget"/>
<logger name="*" minlevel="Trace" writeTo="udpTarget"/>
</rules>
</nlog>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="mongocsharpdriver" version="1.7" targetFramework="net40" />
<package id="NLog" version="2.0.0.2000" targetFramework="net40" />
<package id="NLog.Config" version="2.0.0.2000" targetFramework="net40" />
</packages>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

View File

@ -1,64 +0,0 @@
csinewyork,73696,CSI
csiny,73696,CSI
csi,72546,CSI
csilasvegas,72546,CSI
archer,110381,Archer
lifeafterpeopleseries,83897,Life After People
lifeafterpeople,83897,Life After People
kitchennightmaresus,80552,Kitchen Nightmares US
dailyshow,71256,The Daily Show
dailyshowwithjonstewart,71256,The Daily Show
lawordersvu,75692,Law and Order SVU
laworderspecialvictimsunit,75692,Law and Order
lawordercriminalintent,71489,Law and Order
laworderci,71489,Law and Order
dancingwithstarsus,79590,Dancing With The Stars
craigferguson,73387,Craig Ferguson
jimmyfallon,85355,Jimmy Fallon
davidletterman,75088,David Letterman
bigbrotherus,76706,Big Brother
colony,105521,The Colony
colonyus,105521,The Colony
americasfunniesthomevideos,76235,Americas Funniest Home Videos
afhv,76235,Americas Funniest Home Videos
childrenshospitalus,139941,Childrens Hospital
childrenshospital,139941,Childrens Hospital
merlin,83123,Merlin
merlin2008,83123,Merlin
wwemondaynightraw,76779,WWE Monday Night RAW
shitmydadsays,164951,Shit My Dad Says
geniuswithdavegorman,83714,Genius with Dave Gorman
laworderla,168161,Law and Order
startrektos,77526,Star Trek TOS
startrekds,72073,Star Trek DS9
ellendegeneres,72194,Ellen Degeneres
drinkingmadeeasy,195831,Drinking Made Easy
zanelampreysdrinkingmadeeasy,195831,Drinking Made Easy
poirot,76133,Poirot
agathachristiespoirot,76133,Poirot
realworldroadruleschallenge,70870,The Real World Road Rules Challenge
challengecutthroat,70870,The Challenge Cutthroat
thisoldhouseprogram,77444,This Old House Program
minutesus,73290,60 Minutes
conan,194751,Conan
conan2010,194751,Conan
carlos2010,164451,Carlos 2010
babalon,70726,Babalon
genius,83714,Genius
geniuswithdavegormand,83714,Genius With Dave Gormand
comeflywithme2010,212571,Come Fly With Me 2010
bordersecurity,81563,Border Security
bordersecurityaustraliasfrontline,81563,Border Security Australias Frontline
silentlibraryus,172381,Silent Library US
scifiscience,131791,Sci Fi Science
frontline,80646,Frontline
frontlineus,80646,Frontline
rbtau,189931,RBT AU
house,73255,House
housemd,73255,House
office,73244,The Office
officeus,73244,The Office
thevoice,247824,The Voice
battlestargalactica,73545,Battlestar Galactica
hawaiifive2010,164541,Hawaii Five 0
onceupontime,248835,Once Upon a Time
1 csinewyork 73696 CSI
2 csiny 73696 CSI
3 csi 72546 CSI
4 csilasvegas 72546 CSI
5 archer 110381 Archer
6 lifeafterpeopleseries 83897 Life After People
7 lifeafterpeople 83897 Life After People
8 kitchennightmaresus 80552 Kitchen Nightmares US
9 dailyshow 71256 The Daily Show
10 dailyshowwithjonstewart 71256 The Daily Show
11 lawordersvu 75692 Law and Order SVU
12 laworderspecialvictimsunit 75692 Law and Order
13 lawordercriminalintent 71489 Law and Order
14 laworderci 71489 Law and Order
15 dancingwithstarsus 79590 Dancing With The Stars
16 craigferguson 73387 Craig Ferguson
17 jimmyfallon 85355 Jimmy Fallon
18 davidletterman 75088 David Letterman
19 bigbrotherus 76706 Big Brother
20 colony 105521 The Colony
21 colonyus 105521 The Colony
22 americasfunniesthomevideos 76235 Americas Funniest Home Videos
23 afhv 76235 Americas Funniest Home Videos
24 childrenshospitalus 139941 Childrens Hospital
25 childrenshospital 139941 Childrens Hospital
26 merlin 83123 Merlin
27 merlin2008 83123 Merlin
28 wwemondaynightraw 76779 WWE Monday Night RAW
29 shitmydadsays 164951 Shit My Dad Says
30 geniuswithdavegorman 83714 Genius with Dave Gorman
31 laworderla 168161 Law and Order
32 startrektos 77526 Star Trek TOS
33 startrekds 72073 Star Trek DS9
34 ellendegeneres 72194 Ellen Degeneres
35 drinkingmadeeasy 195831 Drinking Made Easy
36 zanelampreysdrinkingmadeeasy 195831 Drinking Made Easy
37 poirot 76133 Poirot
38 agathachristiespoirot 76133 Poirot
39 realworldroadruleschallenge 70870 The Real World Road Rules Challenge
40 challengecutthroat 70870 The Challenge Cutthroat
41 thisoldhouseprogram 77444 This Old House Program
42 minutesus 73290 60 Minutes
43 conan 194751 Conan
44 conan2010 194751 Conan
45 carlos2010 164451 Carlos 2010
46 babalon 70726 Babalon
47 genius 83714 Genius
48 geniuswithdavegormand 83714 Genius With Dave Gormand
49 comeflywithme2010 212571 Come Fly With Me 2010
50 bordersecurity 81563 Border Security
51 bordersecurityaustraliasfrontline 81563 Border Security Australias Frontline
52 silentlibraryus 172381 Silent Library US
53 scifiscience 131791 Sci Fi Science
54 frontline 80646 Frontline
55 frontlineus 80646 Frontline
56 rbtau 189931 RBT AU
57 house 73255 House
58 housemd 73255 House
59 office 73244 The Office
60 officeus 73244 The Office
61 thevoice 247824 The Voice
62 battlestargalactica 73545 Battlestar Galactica
63 hawaiifive2010 164541 Hawaii Five 0
64 onceupontime 248835 Once Upon a Time

30
clo
View File

@ -1,30 +0,0 @@
* af705cb - (HEAD, origin/master, origin/HEAD, master) cleaned up history/log grid UI (20 seconds ago) <kay.one>
* e896af5 - ReSharper code cleanup (17 minutes ago) <kay.one>
* 8cade43 - Application will automatically restart on db error. (32 minutes ago) <kay.one>
* fcf5197 - Removed IConfigProvider, ISeasonProvider, ISyncProvider (86 minutes ago) <kay.one>
* 7efbfdb - removed IEpisodeProvider, ILogProvider (3 hours ago) <kay.one>
* 8fbc79c - Merge branch 'mark-fork' (4 hours ago) <kay.one>
|\
| * 0a7f7fc - (mark/master, mark-fork) Added tests for RootDirProvider. (5 hours ago) <Mark McDowall>
| * bfeb7b3 - Merge branch 'master' of git://github.com/kayone/NzbDrone (7 hours ago) <Mark McDowall>
| |\
| * | 1a9948d - Removed IDiskProvider. (27 hours ago) <Mark McDowall>
| * | e5413d6 - Removed IRenameProvider. (27 hours ago) <Mark McDowall>
| * | 29690d9 - Removed IRssSyncProvider & IBacklogProvider (27 hours ago) <Mark McDowall>
| * | 0d95302 - Removed IHistoryProvider. (27 hours ago) <Mark McDowall>
| * | c25af59 - Removed ISeriesProvider (27 hours ago) <Mark McDowall>
| * | bd0a7a5 - Removed INotificationProvider (27 hours ago) <Mark McDowall>
| * | 4426072 - Merge branch 'master' of git://github.com/kayone/NzbDrone (34 hours ago) <Mark McDowall>
| |\ \
* | | | 1cc44ed - fixed some build issues/notification issues (4 hours ago) <kay.one>
| |_|/
|/| |
* | | ce11986 - Merge branch 'mark-fork' (34 hours ago) <Keivan>
|\ \ \
| |/ /
| | /
| |/
|/|
| * f52b399 - Removed IExternalNotificationProvider (35 hours ago) <Mark McDowall>
| * c77a88d - Removed IDownloadProvider (35 hours ago) <Mark McDowall>
| * 0ee4f8c - Removed IPostProcessingProvider (2 days ago) <Mark McDowall>

View File

@ -1,27 +0,0 @@
SET PACKAGEROOT=_rawPackage
SET TARGET=%PACKAGEROOT%\NzbDrone
SET COPY_FLAGS=/S /V /I /Y
SET DELETE_FLAGS=/Q /F /S
rd %PACKAGEROOT% /S /Q
del nzbdrone*.zip %DELETE_FLAGS%
del _output\FluentValidation.resources.dll %DELETE_FLAGS%
echo ##teamcity[progressMessage 'Packaging release']
xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy _output\*.* %TARGET%\ %COPY_FLAGS%
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ %COPY_FLAGS%
CD %PACKAGEROOT%
del *.xml %DELETE_FLAGS%
del *.vshost.exe.* %DELETE_FLAGS%
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
CD ..
echo ##teamcity[progressMessage 'Release packaged']

View File

@ -1,6 +0,0 @@
rd C:\inetpub\services /S /Q
xcopy C:\inetpub\services_stage\*.* C:\inetpub\services\ /E /V /I /Y /F /C /o
xcopy C:\inetpub\services\web.production.config c:\inetpub\services\web.config /o /y
pause

View File

@ -1,31 +0,0 @@
SET TARGET=_rawPackage_service
rd %TARGET% /S /Q
xcopy NzbDrone.Services\NzbDrone.Services.Service\bin\*.* %TARGET%\bin\ /E /V /I /Y /F /O
xcopy NzbDrone.Services\NzbDrone.Services.Service\Content\*.* %TARGET%\Content\ /E /V /I /Y /F /O
xcopy NzbDrone.Services\NzbDrone.Services.Service\Scripts\*.* %TARGET%\Scripts\ /E /V /I /Y /F /O
xcopy NzbDrone.Services\NzbDrone.Services.Service\Views\*.* %TARGET%\Views\ /E /V /I /Y /F /O
xcopy NzbDrone.Services\NzbDrone.Services.Service\log.config %TARGET% /S /V /I /Y /F /O
xcopy NzbDrone.Services\NzbDrone.Services.Service\Global.asax %TARGET% /S /V /I /Y /F /O
xcopy service_deploy_production.bat %TARGET% /O /Y
Libraries\CTT\ctt.exe source:"NzbDrone.Services\NzbDrone.Services.Service\Web.config" transform:"NzbDrone.Services\NzbDrone.Services.Service\Web.Stage.config" destination:"%TARGET%\Web.config"
Libraries\CTT\ctt.exe source:"NzbDrone.Services\NzbDrone.Services.Service\Web.config" transform:"NzbDrone.Services\NzbDrone.Services.Service\Web.Release.config" destination:"%TARGET%\Web.production.config"
CD %TARGET%
del nlog.xml /Q /F /S
del nlog.pdb /Q /F /S
del ninject*.pdb /Q /F /S
del ninject*.xml /Q /F /S
del Mvc*.pdb /Q /F /S
del bin\*.xml /Q /F /S
cd ..
rd C:\inetpub\services_stage /S /Q
xcopy _rawPackage_service\*.* C:\inetpub\stage-services.nzbdrone.com /E /V /I /Y