├── .build.custom └── nugetPrepare.post.step ├── .build ├── Castle.Core.dll ├── Castle.Windsor.dll ├── UppercuT.xml ├── analyze.step ├── analyzers │ ├── cover.step │ ├── fxcop.step │ ├── gallio.test.step │ ├── mbunit2.test.step │ ├── metrics.step │ ├── moma.step │ ├── ncover.cover.step │ ├── ndepend.step │ ├── nitriq.step │ ├── nunit.test.step │ ├── opencover.cover.step │ ├── test.step │ └── xunit.test.step ├── compile.step ├── csharp.functions ├── customize.bat ├── customize.build ├── customizers │ └── item.template ├── default.build ├── default.build.settings ├── deploymentBuilder.step ├── environmentBuilder.step ├── gemsBuild.step ├── gemsPrepare.step ├── generateBuildInfo.step ├── ilmerge.build ├── manifestBuilder.step ├── nugetBuild.step ├── nugetPrepare.step ├── obfuscate.step ├── open.build ├── package.step ├── policyChecks.step ├── uc.exe ├── uc.exe.config ├── updateAssemblies.build ├── uppercut.dll ├── uppercut.tasks.dll ├── versionBuilder.step ├── versioners │ ├── git.step │ ├── hg.step │ ├── svn.step │ └── tfs.step └── zip.build ├── .gitignore ├── .uppercut ├── CHANGELOG.md ├── LICENSE ├── NOTICE ├── README.md ├── SimpleChocolateyServer.snk ├── build.bat ├── build.sh ├── lib ├── NAnt │ ├── CollectionGen.dll │ ├── Interop.MsmMergeTypeLib.dll │ ├── Interop.StarTeam.dll │ ├── Interop.WindowsInstaller.dll │ ├── NAnt.CompressionTasks.dll │ ├── NAnt.Contrib.Tasks.dll │ ├── NAnt.Core.dll │ ├── NAnt.DotNetTasks.dll │ ├── NAnt.MSNetTasks.dll │ ├── NAnt.NUnit.dll │ ├── NAnt.NUnit1Tasks.dll │ ├── NAnt.NUnit2Tasks.dll │ ├── NAnt.SourceControlTasks.dll │ ├── NAnt.VSNetTasks.dll │ ├── NAnt.VisualCppTasks.dll │ ├── NAnt.Win32Tasks.dll │ ├── NAnt.exe │ ├── NAnt.exe.config │ ├── NCoverExplorer.NAntTasks.dll │ ├── NDoc.Documenter.NAnt.dll │ ├── SLiNgshoT.Core.dll │ ├── SLiNgshoT.exe │ ├── SourceSafe.Interop.dll │ ├── ThoughtWorks.CruiseControl.MSBuild.dll │ ├── extensions │ │ └── common │ │ │ ├── 2.0 │ │ │ └── NAnt.MSBuild.dll │ │ │ └── 4.0 │ │ │ └── NAnt.MSBuild.dll │ ├── lib │ │ └── common │ │ │ ├── 2.0 │ │ │ ├── nunit-console-runner.dll │ │ │ ├── nunit-console.exe │ │ │ ├── nunit-console.exe.config │ │ │ ├── nunit.core.dll │ │ │ ├── nunit.core.interfaces.dll │ │ │ ├── nunit.framework.dll │ │ │ └── nunit.util.dll │ │ │ └── neutral │ │ │ ├── ICSharpCode.SharpCvsLib.Console.dll │ │ │ ├── ICSharpCode.SharpCvsLib.dll │ │ │ ├── ICSharpCode.SharpZipLib.dll │ │ │ ├── NDoc.Core.dll │ │ │ ├── NDoc.Documenter.Msdn.dll │ │ │ ├── NDoc.ExtendedUI.dll │ │ │ ├── NUnitCore.dll │ │ │ └── netDumbster.dll │ ├── log4net.dll │ └── scvs.exe ├── NuGet-Chocolatey │ ├── NuGet.Core.dll │ ├── NuGet.Core.pdb │ ├── NuGet.Server.Core.dll │ ├── NuGet.Server.Core.pdb │ ├── NuGet.Server.V2.dll │ ├── NuGet.Server.V2.pdb │ ├── NuGet.Server.dll │ └── NuGet.Server.pdb └── NuGet │ ├── LICENSE.txt │ └── NuGet.exe ├── nuget ├── chocolatey.server.nuspec └── tools │ ├── LICENSE.txt │ ├── VERIFICATION.txt │ ├── chocolateyInstall.ps1 │ ├── chocolateybeforemodify.ps1 │ └── chocolateyuninstall.ps1 ├── src ├── SimpleChocolateyServer.sln └── SimpleChocolateyServer │ ├── 7za.exe │ ├── App_Data │ └── Packages │ │ └── Readme.txt │ ├── App_Start │ └── NuGetODataConfig.cs │ ├── Content │ └── images │ │ ├── MarksUsePolicy.pdf │ │ └── chocolatey.png │ ├── Controllers │ └── InstallController.cs │ ├── Default.aspx │ ├── ForReference.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── SimpleChocolateyServer.csproj │ ├── Web.config │ ├── Web.config.install.xdt │ ├── favicon.ico │ └── packages.config ├── test.bat ├── zip.bat └── zip.sh /.build.custom/nugetPrepare.post.step: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /.build/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/.build/Castle.Core.dll -------------------------------------------------------------------------------- /.build/Castle.Windsor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/.build/Castle.Windsor.dll -------------------------------------------------------------------------------- /.build/UppercuT.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.4.2.0 4 | 5 | -------------------------------------------------------------------------------- /.build/analyze.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /.build/analyzers/cover.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /.build/analyzers/fxcop.step: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 79 | 80 | 81 | 86 | 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /.build/analyzers/gallio.test.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /.build/analyzers/mbunit2.test.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /.build/analyzers/metrics.step: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 75 | 76 | 77 | 82 | 83 | 84 | s 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /.build/analyzers/moma.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /.build/analyzers/ncover.cover.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | -------------------------------------------------------------------------------- /.build/analyzers/ndepend.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /.build/analyzers/nitriq.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /.build/analyzers/nunit.test.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 110 | 111 | 112 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /.build/analyzers/test.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /.build/analyzers/xunit.test.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 74 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /.build/csharp.functions: -------------------------------------------------------------------------------- 1 | 2 | 3 | 83 | 84 | -------------------------------------------------------------------------------- /.build/customize.bat: -------------------------------------------------------------------------------- 1 | @echo on 2 | 3 | ::Project UppercuT - http://uppercut.googlecode.com 4 | ::No edits to this file are required - http://uppercut.pbwiki.com 5 | 6 | if '%1' == '' goto usage 7 | if '%2' == '' goto usage 8 | if '%3' NEQ '' goto usage 9 | if '%1' == '/?' goto usage 10 | if '%1' == '-?' goto usage 11 | if '%1' == '?' goto usage 12 | if '%1' == '/help' goto usage 13 | 14 | SET step.name=%1 15 | SET step.type=%2 16 | 17 | 18 | SET DIR=%cd% 19 | SET BUILD_DIR=%~d0%~p0% 20 | SET NANT="%DIR%\lib\Nant\nant.exe" 21 | SET build.config.settings="%DIR%\.uppercut" 22 | 23 | %NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%customize.build" -D:build.config.settings=%build.config.settings% -D:customize.step.name=%step.name% -D:customize.step.type=%step.type% 24 | 25 | if %ERRORLEVEL% NEQ 0 goto errors 26 | 27 | goto finish 28 | 29 | :usage 30 | echo. 31 | echo Usage: .build\customize.bat stepName customizeType 32 | echo stepName is the name of the item 33 | echo customizeType is "pre" "post" or "replace" 34 | echo . 35 | echo Example: customize package.step post 36 | echo. 37 | goto finish 38 | 39 | :errors 40 | EXIT /B %ERRORLEVEL% 41 | 42 | :finish 43 | -------------------------------------------------------------------------------- /.build/customize.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 33 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /.build/customizers/item.template: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /.build/default.build: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 33 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /.build/deploymentBuilder.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 80 | 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /.build/environmentBuilder.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /.build/gemsBuild.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /.build/gemsPrepare.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | ${assembly.version.full}${version.gem.suffix} 87 | 88 | ${assembly.version.full}.${gem.build.date}${version.gem.suffix} 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /.build/generateBuildInfo.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | ${project.name} 31 | ${string::replace(string::replace(company.name,'&','&'),'&','&')} 32 | ${version.major} 33 | ${version.minor} 34 | ${version.patch} 35 | ${version.build} 36 | ${version.revision} 37 | ${version.hash} 38 | ${assembly.version.full} 39 | ${version.product} 40 | ${repository.path} 41 | ${microsoft.framework} 42 | ${msbuild.configuration} 43 | ${msbuild.platform} 44 | UppercuT v. ${version.uppercut} 45 | ]]> 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /.build/ilmerge.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 83 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /.build/manifestBuilder.step: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /.build/nugetBuild.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 64 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /.build/nugetPrepare.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | ${assembly.version.full} 77 | ]]> 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 123 | 124 | 125 | 126 | 127 | 128 | -------------------------------------------------------------------------------- /.build/obfuscate.step: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 27 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 64 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /.build/open.build: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 46 | 47 | 48 | 55 | 56 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /.build/policyChecks.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 24 | 25 | 26 | 27 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /.build/uc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/.build/uc.exe -------------------------------------------------------------------------------- /.build/uc.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.build/updateAssemblies.build: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /.build/uppercut.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/.build/uppercut.dll -------------------------------------------------------------------------------- /.build/uppercut.tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/.build/uppercut.tasks.dll -------------------------------------------------------------------------------- /.build/versionBuilder.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 25 | 26 | 27 | 28 | 29 | 34 | 35 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /.build/versioners/git.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /.build/versioners/hg.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 33 | 38 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /.build/versioners/svn.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 34 | 39 | 47 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /.build/versioners/tfs.step: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 32 | 38 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /.build/zip.build: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .svn 2 | .hg 3 | build_output 4 | code_drop 5 | [Bb]in 6 | obj 7 | src/packages 8 | src/SimpleChocolateyServer/App_Data/Logs 9 | src/SimpleChocolateyServer/App_Data/Packages 10 | .vs 11 | 12 | *.suo 13 | *.sln.docstates 14 | *.user 15 | *.csproj.user 16 | *.[rR]esharper.user 17 | *.DotSettings.user 18 | *.resharper 19 | _ReSharper* 20 | *.cache 21 | *~ 22 | *.swp 23 | *.bak 24 | *.orig 25 | *.log 26 | *.pidb 27 | *userprefs 28 | *.nupkg 29 | 30 | TestResult.xml 31 | submit.xml 32 | SolutionVersion.cs 33 | SolutionVersion.vb 34 | 35 | .DS_Store 36 | *.db 37 | -------------------------------------------------------------------------------- /.uppercut: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Chocolatey Simple Server CHANGELOG 2 | 3 | ## 0.3.0 (September 29, 2021) 4 | ### IMPROVEMENTS 5 | * [Security] Moderate severity vulnerability that affects Microsoft.Data.OData (CVE-2018-8269) - see [#62](https://github.com/chocolatey-community/simple-server/issues/62) 6 | * [Security] Update 7za to 18.6 - see [#53](https://github.com/chocolatey-community/simple-server/issues/53) 7 | * Reorder some information on the Simple Chocolatey Package Repository webpage - see [#37](https://github.com/chocolatey-community/simple-server/issues/37) 8 | * Documentation note for viewing feed with Chrome - see [#36](https://github.com/chocolatey-community/simple-server/issues/36) 9 | 10 | 11 | ## 0.2.5 (June 13, 2018) 12 | ### BUG FIXES 13 | * Fix - Basic Auth doesn't allow installing Chocolatey.nupkg from local installation - [#43](https://github.com/chocolatey/simple-server/issues/43) 14 | 15 | 16 | ## 0.2.4 (February 26, 2018) 17 | ### BUG FIXES 18 | * Fix - install.ps1 - Function Download-Script is called before its definition - [#41](https://github.com/chocolatey/simple-server/issues/41) 19 | * Fix - Remove duplicate XDT file - [#39](https://github.com/chocolatey/simple-server/issues/39) 20 | 21 | 22 | ## 0.2.3 (February 11, 2018) 23 | ### FEATURES 24 | * Allow installation of Chocolatey with install.ps1 script - [#27](https://github.com/chocolatey/simple-server/issues/27) 25 | 26 | ### IMPROVEMENTS 27 | * Provide instructions on changing apikey versus what setapikey does - [#25](https://github.com/chocolatey/simple-server/issues/25) 28 | * Enhance documentation (multiple requests) enhancement - [#26](https://github.com/chocolatey/simple-server/issues/26) 29 | 30 | 31 | ## 0.2.2 (January 11, 2018) 32 | ### BUG FIXES 33 | * Fix - Turning on basic auth with HttpAuth Module no longer allows pushing in v0.2x - [#21](https://github.com/chocolatey/simple-server/issues/21) 34 | * Fix - Pushing to default url is missing in v0.2.x - [#20](https://github.com/chocolatey/simple-server/issues/20) 35 | 36 | 37 | ## 0.2.1 (January 8, 2018) 38 | ### BUG FIXES 39 | * Fix - New installation doesn't copy subfolders and files - [#18](https://github.com/chocolatey/simple-server/issues/18) 40 | 41 | 42 | ## 0.2.0 (January 4, 2018) 43 | ### BREAKING CHANGES 44 | * Require .NET Framework 4.6.x - [#14](https://github.com/chocolatey/simple-server/issues/14) 45 | 46 | To use the same caching techniques mentioned below in [#10](https://github.com/chocolatey/simple-server/issues/10), we needed to upgrade to the same version of the .NET Framework that was being used by NuGet.Server. That means you need to take some extra steps of ensuring that your ASP.NET has .NET 4.6+ registered so that files are served properly. 47 | 48 | ### FEATURES 49 | * Use same caching techniques as NuGet.Server v3x+ (NuGet v3.4.x+) - [#10](https://github.com/chocolatey/simple-server/issues/10) 50 | 51 | No longer time out when serving up large-sized packages. This is accomplished by pulling the items out of packages ahead of time that are necessary when serving information. 52 | 53 | ### BUG FIXES 54 | * Fix - Uploading large package results in System.OutOfMemoryException - [#15](https://github.com/chocolatey/simple-server/issues/15) 55 | 56 | ### IMPROVEMENTS 57 | * Show version of Chocolatey Server on site - [#12](https://github.com/chocolatey/simple-server/issues/12) 58 | * Manage upgrades and uninstalls gracefully - [#13](https://github.com/chocolatey/simple-server/issues/13) 59 | 60 | 61 | ## 0.1.4 (January 2, 2018) 62 | ### BUG FIXES 63 | * Fix - Turning on basic auth in web.config doesn't allow pushing packages - [#6](https://github.com/chocolatey/simple-server/issues/6) 64 | 65 | ### IMPROVEMENTS 66 | * Use Chocolatey icon for favicon 67 | 68 | 69 | ## 0.1.3 (October 6, 2017) 70 | ### FEATURES 71 | * Allow specifying Basic Authentication credentials directly from the web.config file - [#5](https://github.com/chocolatey/simple-server/issues/5) 72 | 73 | ### IMPROVEMENTS 74 | * Increase timeout for pushing packages from the default of 110 seconds to 1200 75 | seconds (20 minutes) - [#3](https://github.com/chocolatey/simple-server/issues/3) 76 | 77 | 78 | ## 0.1.2 (November 17, 2016) 79 | ### IMPROVEMENTS 80 | * Package size allows for 2GB - [#1](https://github.com/chocolatey/simple-server/issues/1) 81 | * Uses same NuGet enhancements that Chocolatey uses. 82 | 83 | 84 | ## 0.1.1 (September 20, 2014) 85 | ### BUG FIXES 86 | * Small fix to not do anything with respect to making changes. 87 | 88 | ### IMPROVEMENTS 89 | * Cleaned up files 90 | 91 | 92 | ## 0.1.0 (September 20, 2014) 93 | * Initial Release 94 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2017 - 2018 Chocolatey Software, Inc. 2 | Copyright 2014 - 2017 RealDimensions Software, LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Chocolatey Simple Server (AKA Chocolatey.Server) 2 | 3 | > **Warning** 4 | > 5 | > Simple Server will soon be archived and a final version released. Please see this [GitHub issue](https://github.com/chocolatey-community/simple-server/issues/63) for more information. 6 | -------------------------------------------------------------------------------- /SimpleChocolateyServer.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/SimpleChocolateyServer.snk -------------------------------------------------------------------------------- /build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | ::Project UppercuT - http://uppercut.googlecode.com 4 | ::No edits to this file are required - http://uppercut.pbwiki.com 5 | 6 | if '%1' == '/?' goto usage 7 | if '%1' == '-?' goto usage 8 | if '%1' == '?' goto usage 9 | if '%1' == '/help' goto usage 10 | 11 | SET DIR=%cd% 12 | SET BUILD_DIR=%~d0%~p0% 13 | SET NANT="%BUILD_DIR%lib\Nant\nant.exe" 14 | SET build.config.settings="%DIR%\.uppercut" 15 | 16 | %NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%.build\default.build" -D:build.config.settings=%build.config.settings% %* 17 | 18 | if %ERRORLEVEL% NEQ 0 goto errors 19 | 20 | goto finish 21 | 22 | :usage 23 | echo. 24 | echo Usage: build.bat 25 | echo. 26 | goto finish 27 | 28 | :errors 29 | EXIT /B %ERRORLEVEL% 30 | 31 | :finish -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # stty -echo 3 | 4 | # ::Project UppercuT - http://uppercut.googlecode.com 5 | # ::No edits to this file are required - http://uppercut.pbwiki.com 6 | 7 | function usage 8 | { 9 | echo "" 10 | echo "Usage: build.sh" 11 | exit 12 | } 13 | 14 | function displayUsage 15 | { 16 | case $1 in 17 | "/?"|"-?"|"?"|"/help") usage ;; 18 | esac 19 | } 20 | 21 | displayUsage $1 22 | 23 | # http://www.michaelruck.de/2010/03/solving-pkg-config-and-mono-35-profile.html 24 | # http://cloudgen.wordpress.com/2013/03/06/configure-nant-to-run-under-mono-3-06-beta-for-mac-osx/ 25 | export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig:$PKG_CONFIG_PATH 26 | 27 | #mono ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/.build/default.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/.uppercut" /D:microsoft.framework="mono-3.5" $* 28 | mono --runtime=v4.0.30319 ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/.build/default.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/.uppercut" /D:microsoft.framework="mono-4.0" /D:run.ilmerge="false" /D:run.nuget="false" $* 29 | 30 | #/quiet /nologo /debug /verbose /t:"mono-4.0" 31 | 32 | -------------------------------------------------------------------------------- /lib/NAnt/CollectionGen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/CollectionGen.dll -------------------------------------------------------------------------------- /lib/NAnt/Interop.MsmMergeTypeLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/Interop.MsmMergeTypeLib.dll -------------------------------------------------------------------------------- /lib/NAnt/Interop.StarTeam.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/Interop.StarTeam.dll -------------------------------------------------------------------------------- /lib/NAnt/Interop.WindowsInstaller.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/Interop.WindowsInstaller.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.CompressionTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.CompressionTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.Contrib.Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.Contrib.Tasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.Core.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.DotNetTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.DotNetTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.MSNetTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.MSNetTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.NUnit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.NUnit.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.NUnit1Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.NUnit1Tasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.NUnit2Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.NUnit2Tasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.SourceControlTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.SourceControlTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.VSNetTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.VSNetTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.VisualCppTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.VisualCppTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.Win32Tasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.Win32Tasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NAnt.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NAnt.exe -------------------------------------------------------------------------------- /lib/NAnt/NCoverExplorer.NAntTasks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NCoverExplorer.NAntTasks.dll -------------------------------------------------------------------------------- /lib/NAnt/NDoc.Documenter.NAnt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/NDoc.Documenter.NAnt.dll -------------------------------------------------------------------------------- /lib/NAnt/SLiNgshoT.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/SLiNgshoT.Core.dll -------------------------------------------------------------------------------- /lib/NAnt/SLiNgshoT.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/SLiNgshoT.exe -------------------------------------------------------------------------------- /lib/NAnt/SourceSafe.Interop.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/SourceSafe.Interop.dll -------------------------------------------------------------------------------- /lib/NAnt/ThoughtWorks.CruiseControl.MSBuild.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/ThoughtWorks.CruiseControl.MSBuild.dll -------------------------------------------------------------------------------- /lib/NAnt/extensions/common/2.0/NAnt.MSBuild.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/extensions/common/2.0/NAnt.MSBuild.dll -------------------------------------------------------------------------------- /lib/NAnt/extensions/common/4.0/NAnt.MSBuild.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/extensions/common/4.0/NAnt.MSBuild.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit-console-runner.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit-console-runner.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit-console.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit-console.exe -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit-console.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit.core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit.core.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit.core.interfaces.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit.core.interfaces.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit.framework.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/2.0/nunit.util.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/2.0/nunit.util.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/ICSharpCode.SharpCvsLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/ICSharpCode.SharpCvsLib.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/ICSharpCode.SharpZipLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/ICSharpCode.SharpZipLib.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/NDoc.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/NDoc.Core.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/NDoc.Documenter.Msdn.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/NDoc.Documenter.Msdn.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/NDoc.ExtendedUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/NDoc.ExtendedUI.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/NUnitCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/NUnitCore.dll -------------------------------------------------------------------------------- /lib/NAnt/lib/common/neutral/netDumbster.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/lib/common/neutral/netDumbster.dll -------------------------------------------------------------------------------- /lib/NAnt/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/log4net.dll -------------------------------------------------------------------------------- /lib/NAnt/scvs.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NAnt/scvs.exe -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Core.dll -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Core.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Core.pdb -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.Core.dll -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.Core.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.Core.pdb -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.V2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.V2.dll -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.V2.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.V2.pdb -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.dll -------------------------------------------------------------------------------- /lib/NuGet-Chocolatey/NuGet.Server.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet-Chocolatey/NuGet.Server.pdb -------------------------------------------------------------------------------- /lib/NuGet/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/lib/NuGet/NuGet.exe -------------------------------------------------------------------------------- /nuget/chocolatey.server.nuspec: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | chocolatey.server 6 | 0.0.0 7 | Rob Reynolds 8 | 9 | 10 | 11 | 12 | Chocolatey Server (Simple) 13 | Rob Reynolds 14 | https://github.com/chocolatey-community/simple-server/ 15 | https://github.com/chocolatey/choco/raw/master/docs/logo/chocolateyicon.gif 16 | 2017 - Present Chocolatey Software, Inc. 2014 - 2017 RealDimensions Software, LLC 17 | http://www.apache.org/licenses/LICENSE-2.0 18 | false 19 | 20 | 21 | 22 | nuget odata iis repository chocolatey simple-server simple.server 23 | Chocolatey Server is a simple OData feed built on top of NuGet.Server. 24 | Chocolatey Server is a simple OData feed built on top of NuGet.Server. 25 | 26 | Chocolatey Server builds on NuGet.Server with a few minor adjustments: 27 | 28 | * This is a packaged site, ready to deploy. 29 | * The apikey is already set. 30 | * There is more helpful information on the site when accessing locally: 31 | * There is a link to the Elmah logs 32 | * The api key is given on the page. 33 | * The location of packages defaults to a more secure location. 34 | 35 | ### Links 36 | 37 | * Setup - https://docs.chocolatey.org/en-us/guides/organizations/set-up-chocolatey-server 38 | * Source Code - https://github.com/chocolatey-community/simple-server/ 39 | * Issues/Requests - https://github.com/chocolatey-community/simple-server/issues 40 | 41 | ### Notes 42 | 43 | This package will NOT give you a local copy of what is available on https://community.chocolatey.org. 44 | 45 | Chocolatey.Server is not recommended for most organizational use cases. There are more robust options out there. However 46 | if you have a very simple use case or are conducting a POC, Chocolatey.Server may be good enough for your needs. If you 47 | don't find it robust enough, our recommendation is to look to something more robust like Artifactory, Nexus, or ProGet 48 | (two of which are also free to use). 49 | 50 | 51 | Full Release notes at https://github.com/chocolatey-community/simple-server/blob/master/CHANGELOG.md 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /nuget/tools/VERIFICATION.txt: -------------------------------------------------------------------------------- 1 | Chocolatey Server is from Chocolatey Software, and we maintain the package. -------------------------------------------------------------------------------- /nuget/tools/chocolateyInstall.ps1: -------------------------------------------------------------------------------- 1 | $packageName = $env:ChocolateyPackageName 2 | $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 3 | $webToolsDir = Join-Path $toolsDir $packageName 4 | $packageWebConfig = Join-Path $webToolsDir 'Web.config' 5 | $webInstallDir = Join-Path (Get-ToolsLocation) $packageName 6 | $existingWebConfig = Join-Path $webInstallDir 'Web.config' 7 | 8 | #Enable Web Services 9 | #cinst IIS-WebServerRole -source WindowsFeatures 10 | #cinst IIS-ISAPIFilter -source WindowsFeatures 11 | #cinst IIS-ISAPIExtensions -source WindowsFeatures 12 | 13 | # https://github.com/chocolatey/chocolatey/wiki/DevelopmentEnvironmentSetup 14 | # cinst ASPNET -source webpi 15 | # cinst ASPNET_REGIIS -source webpi 16 | # cinst DefaultDocument -source webpi 17 | # cinst DynamicContentCompression -source webpi 18 | # cinst HTTPRedirection -source webpi 19 | # cinst IIS7_ExtensionLessURLs -source webpi 20 | # cinst IISManagementConsole -source webpi 21 | # cinst ISAPIExtensions -source webpi 22 | # cinst ISAPIFilters -source webpi 23 | # cinst NETExtensibility -source webpi 24 | # cinst RequestFiltering -source webpi 25 | # cinst StaticContent -source webpi 26 | # cinst StaticContentCompression -source webpi 27 | # cinst UrlRewrite2 -source webpi 28 | 29 | # W3SVC should be running 30 | 31 | # http://msdn.microsoft.com/en-us/library/windows/desktop/ms724832.aspx 32 | $osVersion = [Environment]::OSVersion.Version 33 | if ($osVersion -ge [Version]'6.2') #8/2012+ 34 | { 35 | #cinst IIS-NetFxExtensibility45 -source WindowsFeatures 36 | #cinst NetFx4Extended-ASPNET45 -source WindowsFeatures 37 | #cinst IIS-ASPNet45 -source WindowsFeatures 38 | 39 | } else { #Windows 7/2008 and below 40 | ."$env:windir\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe" -i 41 | } 42 | 43 | If (Test-Path -Path $existingWebConfig) { 44 | Write-Output "Copying existing web.config to package directory to allow proper updates" 45 | Copy-Item $existingWebConfig $packageWebConfig -Force -ErrorAction SilentlyContinue 46 | Write-Warning "Due to transforms happening AFTER this script completes, you will likely need to manually migrate '$packageWebConfig' back to '$existingWebConfig' once upgrade is complete. Also check the config file to make sure that it was not malformed by the XDT transform." 47 | } 48 | 49 | if (! (Test-Path -Path $webInstallDir)) { 50 | New-Item $webInstallDir -ItemType Directory -Force | Out-Null 51 | Copy-Item $webToolsDir\* $webInstallDir -Recurse -Force 52 | } else { 53 | try { 54 | Write-Debug "Removing all but the App_Data folder in the existing '$webInstallDir'" 55 | Get-ChildItem -Path "$webInstallDir" -Recurse | % { 56 | if ($_.FullName -match 'App_Data' -or $_.FullName -match 'Web.config') { 57 | Write-Debug " - Skipping $($_.FullName)" 58 | } else { 59 | Write-Debug " - Removing $($_.FullName)" 60 | Remove-Item $_.FullName -Recurse -Force -ErrorAction SilentlyContinue 61 | } 62 | } 63 | } catch { 64 | Write-Warning "Had an error deleting files from '$webInstallDir'. You will need to manually remove files. `n Error: $($_.Message)" 65 | } 66 | 67 | # Now copy all new except the App_Data folder 68 | Write-Debug "Copying files from '$webToolsDir' to '$webInstallDir'" 69 | Get-ChildItem -Path $webToolsDir -Recurse | % { 70 | if ($_.FullName -match 'App_Data') { 71 | # leave these items 72 | Write-Debug "- Skipping $($_.FullName)" 73 | } else { 74 | if (! ($_.PSIsContainer)) { 75 | $srcFile = $_.FullName 76 | $destinationFile = Join-Path $webInstallDir ($srcFile.Substring($webToolsDir.length)) 77 | $destinationDir = $destinationFile.Replace($destinationFile.Split("\")[-1],"") 78 | #$destinationDir = Join-Path $webInstallDir ($_.Parent.FullName.Substring($webToolsDir.length)) 79 | if (! (Test-Path -Path $destinationDir)) { 80 | Write-Debug " - Creating $destinationDir" 81 | New-Item $destinationDir -ItemType Directory -Force | Out-Null 82 | } 83 | try { 84 | Write-Debug " - Copying '$srcFile' to '$destinationFile'" 85 | Copy-Item $srcFile -Destination $destinationFile -Force -ErrorAction Stop 86 | } catch { 87 | Write-Warning "Unable to copy '$srcFile' to '$destinationFile'. `n Error: $_" 88 | } 89 | } 90 | } 91 | } 92 | } 93 | 94 | #Import-Module WebAdministration 95 | #Remove-WebSite -Name "Default Web Site" -ErrorAction SilentlyContinue 96 | #Remove-WebSite -Name "ChocolateyServer" -ErrorAction SilentlyContinue 97 | #New-WebSite -ID 1 -Name "ChocolateyServer" -Port 80 -PhysicalPath "$webInstallDir" -Force 98 | 99 | # $networkSvc = 'NT AUTHORITY\NETWORK SERVICE' 100 | # Write-Host "Setting folder permissions on `'$webInstallDir`' to 'Read' for user $networkSvc" 101 | # $acl = Get-Acl $webInstallDir 102 | # $acl.SetAccessRuleProtection($False, $True) 103 | # $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("$networkSvc","Read", "ContainerInherit, ObjectInherit", "None", "Allow"); 104 | # $acl.AddAccessRule($rule); 105 | # Set-Acl $webInstallDir $acl 106 | 107 | # $webInstallAppDataDir = Join-Path $webInstallDir 'App_Data' 108 | # Write-Host "Setting folder permissions on `'$webInstallAppDataDir`' to 'Modify' for user $networkSvc" 109 | # $acl = Get-Acl $webInstallAppDataDir 110 | # $acl.SetAccessRuleProtection($False, $True) 111 | # $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("$networkSvc","Modify", "ContainerInherit, ObjectInherit", "None", "Allow"); 112 | # $acl.AddAccessRule($rule); 113 | # Set-Acl $webInstallAppDataDir $acl 114 | # 115 | # Import-Module WebAdministration 116 | # $appPoolPath = "IIS:\AppPools\$projectName" 117 | # #$pool = new-object 118 | # Write-Warning "You can safely ignore the next error if it occurs related to getting an app pool that doesn't exist" 119 | # $pool = Get-Item $appPoolPath 120 | # if ($pool -eq $null) { 121 | # Write-Host "Creating the app pool `'$appPoolPath`'" 122 | # $pool = New-Item $appPoolPath 123 | # } 124 | # 125 | # $pool.processModel.identityType = "NetworkService" 126 | # $pool | Set-Item 127 | # Set-itemproperty $appPoolPath -Name "managedRuntimeVersion" -Value "v4.0" 128 | # #Set-itemproperty $appPoolPath -Name "managedPipelineMode" -Value "Integrated" 129 | # Start-WebAppPool "$projectName" 130 | # Write-Host "Creating the site `'$projectName`' with appPool `'$projectName`'" 131 | # New-WebApplication "$projectName" -Site "Default Web Site" -PhysicalPath $srcDir -ApplicationPool "$projectName" -Force 132 | 133 | #Client SKUs need to enable firewall 134 | #netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80 135 | -------------------------------------------------------------------------------- /nuget/tools/chocolateybeforemodify.ps1: -------------------------------------------------------------------------------- 1 | $packageName = $env:ChocolateyPackageName 2 | $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" 3 | $webToolsDir = Join-Path $toolsDir $packageName 4 | $packageWebConfig = Join-Path $webToolsDir 'Web.config' 5 | $webInstallDir = Join-Path (Get-ToolsLocation) $packageName 6 | $existingWebConfig = Join-Path $webInstallDir 'Web.config' 7 | 8 | If (Test-Path $existingWebConfig) { 9 | Write-Output "Copying existing web.config to package directory to allow proper updates" 10 | Copy-Item $existingWebConfig $packageWebConfig -Force -ErrorAction SilentlyContinue 11 | } 12 | -------------------------------------------------------------------------------- /nuget/tools/chocolateyuninstall.ps1: -------------------------------------------------------------------------------- 1 | $packageName = $env:ChocolateyPackageName 2 | $webInstallDir = Join-Path (Get-ToolsLocation) $packageName 3 | 4 | if (Test-Path $webInstallDir) { 5 | try { 6 | Write-Debug "Removing all but the App_Data folder in the existing '$webInstallDir'" 7 | Get-ChildItem -Path "$webInstallDir" -Recurse | % { 8 | if ($_.FullName -match 'App_Data' -or $_.FullName -match 'Web.config') { 9 | Write-Debug " - Skipping $($_.FullName)" 10 | } else { 11 | Write-Debug " - Removing $($_.FullName)" 12 | Remove-Item $_.FullName -Recurse -Force -ErrorAction SilentlyContinue 13 | } 14 | } 15 | } 16 | catch { 17 | Write-Warning "Had an error deleting files from '$webInstallDir'. You will need to manually remove files. Error: $_" 18 | } 19 | 20 | Write-Warning "Removed all from '$webInstallDir' except for App_Data. You should inspect and remove packages/logs manually." 21 | } 22 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27004.2002 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleChocolateyServer", "SimpleChocolateyServer\SimpleChocolateyServer.csproj", "{6F35E9E2-81D7-40B1-BA9E-1A2E8496DD6C}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuget", "nuget", "{DD249155-AE02-45DA-B6F4-8A404DD31646}" 9 | ProjectSection(SolutionItems) = preProject 10 | ..\nuget\chocolatey.server.nuspec = ..\nuget\chocolatey.server.nuspec 11 | EndProjectSection 12 | EndProject 13 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{1AEC81F3-E588-4D3C-B049-294D710CC26C}" 14 | ProjectSection(SolutionItems) = preProject 15 | ..\nuget\tools\chocolateybeforemodify.ps1 = ..\nuget\tools\chocolateybeforemodify.ps1 16 | ..\nuget\tools\chocolateyInstall.ps1 = ..\nuget\tools\chocolateyInstall.ps1 17 | ..\nuget\tools\chocolateyuninstall.ps1 = ..\nuget\tools\chocolateyuninstall.ps1 18 | ..\nuget\tools\LICENSE.txt = ..\nuget\tools\LICENSE.txt 19 | ..\nuget\tools\VERIFICATION.txt = ..\nuget\tools\VERIFICATION.txt 20 | EndProjectSection 21 | EndProject 22 | Global 23 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 24 | Debug|Any CPU = Debug|Any CPU 25 | Release|Any CPU = Release|Any CPU 26 | EndGlobalSection 27 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 28 | {6F35E9E2-81D7-40B1-BA9E-1A2E8496DD6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 29 | {6F35E9E2-81D7-40B1-BA9E-1A2E8496DD6C}.Debug|Any CPU.Build.0 = Debug|Any CPU 30 | {6F35E9E2-81D7-40B1-BA9E-1A2E8496DD6C}.Release|Any CPU.ActiveCfg = Release|Any CPU 31 | {6F35E9E2-81D7-40B1-BA9E-1A2E8496DD6C}.Release|Any CPU.Build.0 = Release|Any CPU 32 | EndGlobalSection 33 | GlobalSection(SolutionProperties) = preSolution 34 | HideSolutionNode = FALSE 35 | EndGlobalSection 36 | GlobalSection(NestedProjects) = preSolution 37 | {1AEC81F3-E588-4D3C-B049-294D710CC26C} = {DD249155-AE02-45DA-B6F4-8A404DD31646} 38 | EndGlobalSection 39 | GlobalSection(ExtensibilityGlobals) = postSolution 40 | SolutionGuid = {40A1A406-07DE-49A5-B661-DD0F4C4A326E} 41 | EndGlobalSection 42 | EndGlobal 43 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/7za.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/src/SimpleChocolateyServer/7za.exe -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/App_Data/Packages/Readme.txt: -------------------------------------------------------------------------------- 1 | To add packages to the repository place package files (.nupkg files) in this folder or use choco push (see readme on the repo url main page). 2 | 3 | The server will find packages and automatically convert/index them from here. -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/App_Start/NuGetODataConfig.cs: -------------------------------------------------------------------------------- 1 | using System.Net.Http; 2 | using System.Web.Http; 3 | using System.Web.Http.Routing; 4 | using NuGet.Server; 5 | using NuGet.Server.V2; 6 | 7 | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(SimpleChocolateyServer.App_Start.NuGetODataConfig), "Start")] 8 | 9 | namespace SimpleChocolateyServer.App_Start 10 | { 11 | public static class NuGetODataConfig 12 | { 13 | public static void Start() 14 | { 15 | ServiceResolver.SetServiceResolver(new DefaultServiceResolver()); 16 | 17 | var config = GlobalConfiguration.Configuration; 18 | 19 | config.Routes.MapHttpRoute( 20 | name: "download_chocolatey_install_script", 21 | routeTemplate: "install.ps1", 22 | defaults: new { controller = "Install", action = "DownloadPowerShellInstallScript" }, 23 | constraints: new { httpMethod = new HttpMethodConstraint(HttpMethod.Get) } 24 | ); 25 | 26 | NuGetV2WebApiEnabler.UseNuGetV2WebApiFeed(config, "ChocolateyDefault", "chocolatey", "PackagesOData"); 27 | 28 | config.Routes.MapHttpRoute( 29 | name: "NuGetDefault_ClearCache", 30 | routeTemplate: "chocolatey/clear-cache", 31 | defaults: new { controller = "PackagesOData", action = "ClearCache" }, 32 | constraints: new { httpMethod = new HttpMethodConstraint(HttpMethod.Get) } 33 | ); 34 | 35 | config.Routes.MapHttpRoute( 36 | name: "root_upload", 37 | routeTemplate: "api/v2/package", 38 | defaults: new { controller = "PackagesOData", action = "UploadPackage" }, 39 | constraints: new { httpMethod = new HttpMethodConstraint(HttpMethod.Put) } 40 | ); 41 | 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/Content/images/MarksUsePolicy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/src/SimpleChocolateyServer/Content/images/MarksUsePolicy.pdf -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/Content/images/chocolatey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/src/SimpleChocolateyServer/Content/images/chocolatey.png -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/ForReference.cs: -------------------------------------------------------------------------------- 1 | // Copyright © 2011 - Present RealDimensions Software, LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // 6 | // You may obtain a copy of the License at 7 | // 8 | // http://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | namespace ASP 16 | { 17 | public class ForReference 18 | { 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyConfiguration("")] 6 | [assembly: AssemblyCulture("")] 7 | 8 | // The following GUID is for the ID of the typelib if this project is exposed to COM 9 | [assembly: Guid("77483ce1-6bce-4139-8d8c-d8bb99384a55")] 10 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/Web.config.install.xdt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 13 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chocolatey-community/simple-server/2d84f326d895ad3ab7f55e31665bdd9bc19270b6/src/SimpleChocolateyServer/favicon.ico -------------------------------------------------------------------------------- /src/SimpleChocolateyServer/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | ::Project UppercuT - http://uppercut.googlecode.com 4 | ::No edits to this file are required - http://uppercut.pbwiki.com 5 | 6 | if '%2' NEQ '' goto usage 7 | if '%3' NEQ '' goto usage 8 | if '%1' == '/?' goto usage 9 | if '%1' == '-?' goto usage 10 | if '%1' == '?' goto usage 11 | if '%1' == '/help' goto usage 12 | 13 | SET DIR=%cd% 14 | SET BUILD_DIR=%~d0%~p0% 15 | SET NANT="%BUILD_DIR%lib\Nant\nant.exe" 16 | SET build.config.settings="%DIR%\.uppercut" 17 | 18 | %NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%.build\compile.step" -D:build.config.settings=%build.config.settings% 19 | 20 | if %ERRORLEVEL% NEQ 0 goto errors 21 | 22 | %NANT% /logger:"NAnt.Core.DefaultLogger" /nologo /f:"%BUILD_DIR%.build\analyzers\test.step" %1 -D:build.config.settings=%build.config.settings% 23 | 24 | if %ERRORLEVEL% NEQ 0 goto errors 25 | 26 | goto finish 27 | 28 | :usage 29 | echo. 30 | echo Usage: test.bat 31 | echo Usage: test.bat all - to run all tests 32 | echo. 33 | goto finish 34 | 35 | :errors 36 | EXIT /B %ERRORLEVEL% 37 | 38 | :finish -------------------------------------------------------------------------------- /zip.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | ::Project UppercuT - http://uppercut.googlecode.com 4 | ::No edits to this file are required - http://uppercut.pbwiki.com 5 | 6 | SET DIR=%cd% 7 | SET BUILD_DIR=%~d0%~p0% 8 | 9 | SET NANT="%BUILD_DIR%lib\Nant\nant.exe" 10 | SET build.config.settings="%DIR%\.uppercut" 11 | 12 | %NANT% /logger:"NAnt.Core.DefaultLogger" /quiet /nologo /f:"%BUILD_DIR%.build\zip.build" -D:build.config.settings=%build.config.settings% %* 13 | 14 | if %ERRORLEVEL% NEQ 0 goto errors 15 | 16 | goto finish 17 | 18 | :errors 19 | EXIT /B %ERRORLEVEL% 20 | 21 | :finish -------------------------------------------------------------------------------- /zip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # stty -echo 3 | 4 | # ::Project UppercuT - http://uppercut.googlecode.com 5 | # ::No edits to this file are required - http://uppercut.pbwiki.com 6 | function usage 7 | { 8 | echo "" 9 | echo "Usage: zip.sh" 10 | exit 11 | } 12 | 13 | function displayUsage 14 | { 15 | case $1 in 16 | "/?"|"-?"|"?"|"/help") usage ;; 17 | esac 18 | } 19 | 20 | displayUsage $1 21 | 22 | # http://www.michaelruck.de/2010/03/solving-pkg-config-and-mono-35-profile.html 23 | # http://cloudgen.wordpress.com/2013/03/06/configure-nant-to-run-under-mono-3-06-beta-for-mac-osx/ 24 | export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig:$PKG_CONFIG_PATH 25 | 26 | #mono ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/.build/zip.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/.uppercut" /D:microsoft.framework="mono-3.5" $* 27 | mono --runtime=v4.0.30319 ./lib/NAnt/NAnt.exe /logger:"NAnt.Core.DefaultLogger" /nologo /quiet /f:"$(cd $(dirname "$0"); pwd)/.build/zip.build" /D:build.config.settings="$(cd $(dirname "$0"); pwd)/.uppercut" /D:microsoft.framework="mono-4.0" $* 28 | --------------------------------------------------------------------------------