broken/ef
Paul Schneider 3 years ago
parent ae6abc104a
commit 5de53a3cba
256 changed files with 22 additions and 22 deletions

10
.gitignore vendored

@ -3,9 +3,9 @@
/obj/
test/nuget.host.tests/bin/
test/nuget.host.tests/obj
src/nuget-host/bin/
src/nuget-host/obj/
src/nuget-cli/obj
src/nuget-cli/bin
src/appled/bin/
src/appled/obj/
src/applec/obj
src/applec/bin
.vscode/launch.json
src/nuget-cli/.vscode/
src/applec/.vscode/

@ -22,7 +22,7 @@ publish:
stage: deploy
artifacts:
paths:
- src/nuget-host/bin/Release/netcoreapp2.1/publish/
- src/appled/bin/Release/netcoreapp2.1/publish/
when: always
script:
- dotnet publish --configuration Release
@ -45,7 +45,7 @@ deploy-to-apple:
when: always
script:
- dotnet pack --configuration Release --no-restore
- cd src/nuget-cli
- cd src/applec
- dotnet run push -s $NUGETSOURCE -k $NUGETSOURCEAPIKEY ../*/bin/Release/*.nupkg
environment:
name: production

@ -31,7 +31,7 @@
"command": "msbuild",
"type": "process",
"args": [
"src/nuget-cli",
"src/applec",
"/p:Configuration=Debug",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
@ -71,7 +71,7 @@
"command": "dotnet",
"type": "process",
"args": [
"${workspaceFolder}/bin/Debug/netcoreapp2.1/nuget-host.dll"
"${workspaceFolder}/bin/Debug/netcoreapp2.1/appled.dll"
],
"problemMatcher": "$msCompile"
},
@ -80,7 +80,7 @@
"command": "dotnet",
"type": "process",
"args": [
"bin/Debug/netcoreapp2.1/nuget-host.dll",
"bin/Debug/netcoreapp2.1/appled.dll",
"/property:GenerateFullPaths=true",
"/restore"
],

@ -4,10 +4,10 @@
dotnet user-secrets set ConnectionStrings:DefaultConnection "Server=<lame-pgserver>;Port=<lame-pgport>;Database=<lame-dbname>;Username=<lame-dbusername>;Password=<lame-dbpass>;"
nuget-host&
appled&
# get an api-key from <http://localhost:5000/ApkKeys>
nuget-cli push -k <lame-api-key> -s http://localhost:5000/packages your-lame-versionned.nupkg
applec push -k <lame-api-key> -s http://localhost:5000/packages your-lame-versionned.nupkg
````

@ -9,9 +9,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nuget.host.tests", "test\nu
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E8A2DF68-847A-4D88-B002-64FB666F696C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nuget-host", "src\nuget-host\nuget-host.csproj", "{468DB0E4-6221-4E01-BEFF-F452865E59C1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "appled", "src\appled\appled.csproj", "{468DB0E4-6221-4E01-BEFF-F452865E59C1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nuget-cli", "src\nuget-cli\nuget-cli.csproj", "{910E800A-59AE-46C4-B7C7-879986179246}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "applec", "src\applec\applec.csproj", "{910E800A-59AE-46C4-B7C7-879986179246}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -61,7 +61,7 @@ start() {
else
cd $ROOT
log_daemon_msg "Starting service $NAME for user $WWW_USER"
if ! start-stop-daemon -SbmCv -u $WWW_USER -p $PIDFILE -d $ROOT -g www-data -x /usr/bin/dotnet nuget-host.dll run > "${LOGDIR}/kestrel-${NAME}.log"
if ! start-stop-daemon -SbmCv -u $WWW_USER -p $PIDFILE -d $ROOT -g www-data -x /usr/bin/dotnet appled.dll run > "${LOGDIR}/kestrel-${NAME}.log"
then
log_daemon_msg "Could not start $NAME : $?, see ${LOGDIR}/kestrel-${NAME}.log"
log_end_msg 2

@ -2,6 +2,6 @@ namespace nuget_cli
{
internal static class Constants
{
internal const string ClientVersion = "nuget-cli v1.0";
internal const string ClientVersion = "applec v1.0";
}
}

@ -107,9 +107,9 @@ namespace nuget_cli
catch (OptionException e)
{
// output some error message
Console.Write("nuget-cli: ");
Console.Write("applec: ");
Console.WriteLine(e.Message);
Console.WriteLine("Try `nuget-cli --help' for more information.");
Console.WriteLine("Try `applec --help' for more information.");
return 2;
}

@ -36,8 +36,8 @@ namespace nuget_host.Controllers
}
const string defaultSemVer = "2.0.0";
// dotnet add . package -s http://localhost:5000/packages nuget-cli
// packages/FindPackagesById()?id='nuget-cli'&semVerLevel=2.0.0
// dotnet add . package -s http://localhost:5000/packages applec
// packages/FindPackagesById()?id='applec'&semVerLevel=2.0.0
// Search
// GET {@id}?q={QUERY}&skip={SKIP}&take={TAKE}&prerelease={PRERELEASE}&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}

Some files were not shown because too many files have changed in this diff Show More

Loading…