Skip to content
Permalink
Browse files

Roadkill.config edited online with Bitbucket

  • Loading branch information...
Chris S
Chris S committed Jan 15, 2014
0 parents commit fcde114f068dddb53a2c15892c571fd79232d567
Showing 1,206 changed files with 930,774 additions and 0 deletions.
107 .hgignore
@@ -0,0 +1,107 @@
# Ignore file for Roadkill
# This file contains all directories and files that should
# not be committed to Mercurial source control.

# use glob syntax
syntax: glob

# Attachments test directory
Attachments*/

# All lucene index directories
[Ss]earch*/

# The site export folder
export*/

# Cloud9 IDE folder
*c9revisions*/

# Jetbrains Dotcover settings files
.DotSettings*

# Chutzpah Javascript test runner files
*_Chutzpah*.*

# All roadkill dev build/release zip files
Roadkill_v1.7.zip
Roadkill.*.zip

# Log files
[Ll]ogs/

# SQL database files for SQL Express
*ROADKILLASPNET.MDF
*ASPNET.MDF
*ASPNET.ldf

# Email testing drop folder
App_Data/TempSmtp/

# Test generated database files
App_Data/roadkill-acceptancetests.sdf
App_Data/roadkill-dev.sdf
App_Data/roadkill152.mdf
App_Data/roadkill152.sdf
App_Data/roadkill152.sqlite
*roadkillaspnet_log.ldf

# Discount ASP demo site config files
discountasp.config*/
discountasp.appsettings.config*/

# Folders generated by Visual Studio Publishes
_WEBSITE*/
deploytemp*/
*.[Pp]ublish.xml

# Windows insists on desktop.ini files for picture folders
*desktop.ini

# .bak files created by the unit tests
*.config.bak

# Everything from the git repository please
.git*/

# Everything from the bin folders
[Bb]in
[Dd]ebug*/
[Rr]elease*/
obj/

# Visual Studio user files
*.user
*.suo

# All roadkill/*.min.js files as the Bundler uses the non-minified versions.
# Typescript regenerates the JS files at compile time, but on Azure you need
# the JS files, as there is no Typescript compiler on the website servers.
Assets/Scripts/roadkill/*/*.min.js
*.map

# Typescript generated JS files (they're produced at compile time)
constants.js
filemanager.references.js
breadcrumbtrail.js
ajaxrequest.js
setup.js
wysiwygeditor.js
editpage.js
references.js
htmlbuilder.js
dialogs.js
directoryviewmodel.js
Demosite.pubxml
buttonevents.js
util.js
tableevents.js
adminsetup.js
filemodel.js

# Favourites plugin for Visual Studio
*.favdoc

# Ignore all exported files
src/Roadkill.Web/App_Data/Export/
Roadkill.sln.DotSettings
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Chutzpah" version="2.5.0" />
</packages>
@@ -0,0 +1,132 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D9791D01-184A-44AE-9CDE-42E8C411026D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{7C5170A7-F5B5-41FF-AE2B-7F2DCFEDFF84}"
ProjectSection(SolutionItems) = preProject
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Roadkill.Core", "src\Roadkill.Core\Roadkill.Core.csproj", "{9C86C475-F3BD-44D1-942A-78BF19158C3A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Roadkill.Tests", "src\Roadkill.Tests\Roadkill.Tests.csproj", "{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Roadkill.Web", "src\Roadkill.Web\Roadkill.Web.csproj", "{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
DemoSite|Any CPU = DemoSite|Any CPU
DemoSite|x64 = DemoSite|x64
DemoSite|x86 = DemoSite|x86
Download|Any CPU = Download|Any CPU
Download|x64 = Download|x64
Download|x86 = Download|x86
Mono|Any CPU = Mono|Any CPU
Mono|x64 = Mono|x64
Mono|x86 = Mono|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|x64.ActiveCfg = Debug|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|x64.Build.0 = Debug|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|x86.ActiveCfg = Debug|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Debug|x86.Build.0 = Debug|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|Any CPU.ActiveCfg = DemoSite|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|Any CPU.Build.0 = DemoSite|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|x64.ActiveCfg = DemoSite|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|x64.Build.0 = DemoSite|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|x86.ActiveCfg = DemoSite|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.DemoSite|x86.Build.0 = DemoSite|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|Any CPU.ActiveCfg = Download|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|Any CPU.Build.0 = Download|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|x64.ActiveCfg = Download|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|x64.Build.0 = Download|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|x86.ActiveCfg = Download|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Download|x86.Build.0 = Download|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|Any CPU.ActiveCfg = Mono|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|Any CPU.Build.0 = Mono|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|x64.ActiveCfg = Mono|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|x64.Build.0 = Mono|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|x86.ActiveCfg = Mono|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Mono|x86.Build.0 = Mono|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|Any CPU.Build.0 = Release|Any CPU
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|x64.ActiveCfg = Release|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|x64.Build.0 = Release|x64
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|x86.ActiveCfg = Release|x86
{9C86C475-F3BD-44D1-942A-78BF19158C3A}.Release|x86.Build.0 = Release|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|x64.ActiveCfg = Debug|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|x64.Build.0 = Debug|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|x86.ActiveCfg = Debug|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Debug|x86.Build.0 = Debug|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|Any CPU.ActiveCfg = DemoSite|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|Any CPU.Build.0 = DemoSite|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|x64.ActiveCfg = DemoSite|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|x64.Build.0 = DemoSite|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|x86.ActiveCfg = DemoSite|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.DemoSite|x86.Build.0 = DemoSite|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|Any CPU.ActiveCfg = Download|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|Any CPU.Build.0 = Download|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|x64.ActiveCfg = Download|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|x64.Build.0 = Download|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|x86.ActiveCfg = Download|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Download|x86.Build.0 = Download|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|Any CPU.ActiveCfg = Mono|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|Any CPU.Build.0 = Mono|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|x64.ActiveCfg = Mono|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|x64.Build.0 = Mono|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|x86.ActiveCfg = Mono|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Mono|x86.Build.0 = Mono|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|Any CPU.Build.0 = Release|Any CPU
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|x64.ActiveCfg = Release|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|x64.Build.0 = Release|x64
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|x86.ActiveCfg = Release|x86
{DAFE5DDE-9D55-48A5-AA06-1C2155417ADA}.Release|x86.Build.0 = Release|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|x64.ActiveCfg = Debug|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|x64.Build.0 = Debug|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|x86.ActiveCfg = Debug|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Debug|x86.Build.0 = Debug|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|Any CPU.ActiveCfg = DemoSite|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|Any CPU.Build.0 = DemoSite|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|x64.ActiveCfg = DemoSite|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|x64.Build.0 = DemoSite|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|x86.ActiveCfg = DemoSite|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.DemoSite|x86.Build.0 = DemoSite|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|Any CPU.ActiveCfg = Download|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|Any CPU.Build.0 = Download|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|x64.ActiveCfg = Download|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|x64.Build.0 = Download|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|x86.ActiveCfg = Download|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Download|x86.Build.0 = Download|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|Any CPU.ActiveCfg = Mono|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|Any CPU.Build.0 = Mono|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|x64.ActiveCfg = Mono|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|x64.Build.0 = Mono|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|x86.ActiveCfg = Mono|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Mono|x86.Build.0 = Mono|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|Any CPU.Build.0 = Release|Any CPU
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|x64.ActiveCfg = Release|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|x64.Build.0 = Release|x64
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|x86.ActiveCfg = Release|x86
{CD29D34E-4F1A-4D43-B150-08BA76EC9DA3}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
@@ -0,0 +1,10 @@
# Basic msbuild script

# ---- Add the tool paths to our path
$runtimeDir = [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
$env:Path = $env:Path +";"+ $runtimeDir
Write-host "Added $runtimeDir to path"

# ---- Build the solution using the Download target
cd ..
msbuild roadkill.sln "/p:Configuration=Download"
@@ -0,0 +1,78 @@
# ====================================================================================================
# ROADKILL Developer/nightly build script
#
# This build script does the following:
# 1. Builds the solution using the Download target with msbuild, and publish/deploy settings
# 2. Uses MSDEPLOY to create a package into a _WEBSITE
# 3. Adds the text files to the _WEBSITE directory
# 4. Adds the missing references to the _WEBSITE directory
# 5. Adds blank SQLite, SQL Server CE and SQL Server Express database to the _WEBSITE directory
# 6. Zips up _WEBSITE using 7zip
# 7. Cleans up the mess MSBUILD/MSDEPLOY created
# 8. Pushes the zip file to the roadkillbuilds repository
#
# This batch file assumes:
# You have MSDeploy installed
# You're running on x64 machine (for 7zip).
# You have a ..\roadkillbuilds directory (from https://bitbucket.org/mrshrinkray/roadkillbuilds)
# ====================================================================================================

$ErrorActionPreference = "Stop"
$zipFilename = "Roadkill.devbuild.zip"

# ---- Add the tool paths to our path
$runtimeDir = [System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
$env:Path = $env:Path + ";" +$runtimeDir
$env:Path = $env:Path + ";C:\Program Files (x86)\IIS\Microsoft Web Deploy V3"
$env:Path = $env:Path + ";C:\Program Files\7-Zip"

# ---- Up to the root directory
cd ..

# ---- Make sure the roadkill.config,connectionstrings.config files are the download template one
copy -Force lib\Configs\roadkill.download.config src\Roadkill.Web\roadkill.config
copy -Force lib\Configs\connectionStrings.config src\Roadkill.Web\connectionStrings.config

# ---- Build the solution using the Download target
msbuild roadkill.sln "/p:Configuration=Download;DeployOnBuild=True;PackageAsSingleFile=False;AutoParameterizationWebConfigConnectionStrings=false;outdir=deploytemp\;OutputPath=bin\debug"

# ---- Use msdeploy to publish the website to disk
$currentDir = $(get-location).toString()
$packageSource = $currentDir +"\src\Roadkill.Web\obj\download\Package\PackageTmp\"
$packageDest = $currentDir + "\_WEBSITE"
msdeploy -verb:sync -source:contentPath=$packageSource -dest:contentPath=$packageDest

# ---- Copy licence + text files
copy -Force textfiles\devbuild.txt _WEBSITE\
copy -Force textfiles\licence.txt _WEBSITE\
copy -Force textfiles\install.txt _WEBSITE\

# ---- Copy missing DLL dependencies that the publish doesn't add
copy -Force lib\Microsoft.Web.Administration.dll _WEBSITE\bin
copy -Force lib\System.Data.SqlServerCe.dll _WEBSITE\bin

# ---- Copy blank databases
copy -Force lib\Empty-databases\roadkill.sqlite _WEBSITE\App_Data
copy -Force lib\Empty-databases\roadkill.sdf _WEBSITE\App_Data
copy -Force lib\Empty-databases\roadkill.mdf _WEBSITE\App_Data

# ---- Zip up the folder (requires 7zip)
CD _WEBSITE
7z a $zipFileName
copy -Force $zipFileName ..\..\roadkillbuilds\
CD ..

# ---- Clean up the temporary deploy folders
Remove-Item -Force -Recurse _WEBSITE
#Remove-Item -Force -Recurse src\Roadkill.Core\deploytemp
#Remove-Item -Force -Recurse src\Roadkill.Web\deploytemp
#Remove-Item -Force -Recurse src\Roadkill.Tests\deploytemp

# ---- Commit to builds repository
CD ..\roadkillbuilds
$commitMessage = "Dev build " + [DateTime]::Now.toString()
hg addremove
hg commit -m $commitMessage
hg push

"DEV BUILD Complete."
Oops, something went wrong.

0 comments on commit fcde114

Please sign in to comment.
You can’t perform that action at this time.