Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotnet template #15

Closed
wants to merge 110 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
04eeb34
added nuspec file for nuget package
Jan 5, 2020
a4fee75
added template project resources
Jan 5, 2020
a2a216c
added template.json
Jan 5, 2020
ca5c195
fixed nuspec id to FeatherHttp.Templates
Jan 5, 2020
6ba9ed8
added nuget.config to pull from f.feedz.io/davidfow/featherhttp/nuget…
Jan 5, 2020
2e34859
fixed csproj to pull latest feedzio version
Jan 5, 2020
4ca7a42
fixed version in nuspec file
Jan 5, 2020
4b3eab4
fixed to include api changes
Jan 5, 2020
e66f885
added ci changes
Jan 5, 2020
6500c08
rearranged order of run and shell for step
Jan 5, 2020
a95bf06
commented out nuget steps
Jan 5, 2020
b3e6eb7
fixed powershell syntax errors
Jan 5, 2020
b4a58c5
fixed nbgv needs called like ./nbgv in gh actions
Jan 5, 2020
e01d326
testing feedz.io workflow
Jan 5, 2020
6d77bf0
fixed yaml indentation error
Jan 5, 2020
a1ce56b
temporarily disable ci conditionals to test nuget deployment
Jan 5, 2020
c533e6e
removed conditional from nuget setup
Jan 5, 2020
549f5db
moved from simple string replace to xml modification
Jan 5, 2020
bd6a625
fixed powershell syntax error
Jan 5, 2020
42d301f
added job to commit change to repository
Jan 6, 2020
f029d58
downloading dotnet 3.1 SDK in second job
Jan 6, 2020
62e1831
now to try something crazy...
Jan 6, 2020
bdc98fa
maybe maybe maybe
Jan 6, 2020
2df1c86
added powershell script
Jan 6, 2020
2148ca4
attempting to add changes differently
Jan 6, 2020
a948fbe
added back dotnet tool install
Jan 6, 2020
9d99c41
add .store/ to .gitignore
Jan 6, 2020
e187a15
update nuget packages from different job
Jan 7, 2020
5ccae90
added log messages to job flow
Jan 7, 2020
4ec5087
fixed issue with nbgv
Jan 7, 2020
2425210
attempt to fix issue with github-push-action
Jan 7, 2020
cd49aed
Updated Nuget Version
actions-user Jan 7, 2020
4f16ecd
added null check to $version
Jan 7, 2020
0ef3d47
Merge branch 'ci-changes' of github.com:RobotOptimist/FeatherHttp int…
Jan 7, 2020
a864808
added needs to run jobs sequentially
Jan 7, 2020
b5f0faf
modify fetch depth to resolve nbgv error
Jan 7, 2020
0e9f7b7
adding nbgv installation to own step
Jan 7, 2020
0136c79
reordered jobs
Jan 7, 2020
54252e1
changed checkout version
Jan 7, 2020
c6fcadc
iunno been drinkin lets do this sh
Jan 7, 2020
7e37d92
Updated Nuget Version
actions-user Jan 7, 2020
bd5557b
test template build
Jan 7, 2020
5552503
Updated Nuget Version
actions-user Jan 7, 2020
9789686
additional changes to ci to test template build
Jan 7, 2020
0b7fe73
Merge branch 'ci-changes' of github.com:RobotOptimist/FeatherHttp int…
Jan 7, 2020
0b7560d
added change to allow nuget for testing
Jan 7, 2020
7794489
Updated Nuget Version
actions-user Jan 7, 2020
891a0b4
added test build to end of ci
Jan 8, 2020
57a5df6
Merge branch 'ci-changes' of github.com:RobotOptimist/FeatherHttp int…
Jan 8, 2020
b0da567
Updated Nuget Version
actions-user Jan 8, 2020
af92a81
removed 3rd checkout
Jan 8, 2020
10497a2
Merge branch 'ci-changes' of github.com:RobotOptimist/FeatherHttp int…
Jan 8, 2020
c110418
Updated Nuget Version
actions-user Jan 8, 2020
62bf9e8
reintroduced condtionals on jobs, macivor to davidfowl
Jan 8, 2020
654a844
Merge branch 'ci-changes' of github.com:RobotOptimist/FeatherHttp int…
Jan 8, 2020
0cc5588
Ci changes (#1)
RobotOptimist Jan 8, 2020
45c50de
attempt to retrieve dll version using powershell
Jan 11, 2020
41e884a
attempt to retrieve version with powershell take 2
Jan 11, 2020
e2af54f
attempt to set version to github actions variable
Jan 11, 2020
8ca440f
attempt to set version to github actions variable take 2
Jan 11, 2020
6e14211
attempt to set version to github actions variable take 3
Jan 11, 2020
a4cd916
attempt 4
Jan 11, 2020
412295a
attempt 5
Jan 11, 2020
6b92671
attempt 6
Jan 11, 2020
fd1f07c
attempt 7
Jan 11, 2020
5269840
attempt 8
Jan 11, 2020
562dbbc
Updated Nuget Version
actions-user Jan 11, 2020
1f25883
update template nuspec and csproj
Jan 11, 2020
2a32c52
Merge branch 'dotnet-template' into ci-changes
RobotOptimist Jan 11, 2020
8220663
Ci changes (#2)
RobotOptimist Jan 11, 2020
02d7f0a
fixed template versions to current
Jan 11, 2020
83506fd
switching to using build variables
Jan 13, 2020
3f9aa5d
deleted unnecessary ps1 file
Jan 13, 2020
216b56a
adding template-builder.csproj to sln
Jan 13, 2020
fd63862
added build command to ci.yml for template proj
Jan 13, 2020
1f952b3
fixed path for template
Jan 13, 2020
a2199cd
move nerdbank cloud build variable into template builder proj also
Jan 13, 2020
65e8977
switched to macivor feedz for testing
Jan 13, 2020
812cccc
attempting a string replace on the git assembly version variable
Jan 13, 2020
23e037e
rearranging build process, employing dotnet add package
Jan 14, 2020
0fc8f62
change way accessing the nerdbank ci var
Jan 14, 2020
7bf7330
using cloud nerdbank build vars
Jan 14, 2020
717686c
re-adding nbgv
Jan 14, 2020
8f604b0
one tiny powershell variable
Jan 14, 2020
1086e65
fixing dotnet add syntax
Jan 14, 2020
69b2775
attempting ci build with build vars again
Jan 15, 2020
b334099
confirmed that nerdbank build variables not usable for this purpose
Jan 15, 2020
3cc7e18
removing the other nerdbank build variable
Jan 15, 2020
39b94d8
removed content directory from output folder
Jan 15, 2020
1c124d2
fixing nupkg path for push
Jan 15, 2020
3b53a06
attempting to figure out issue with push path
Jan 15, 2020
cc9d97a
nuget push path testing take 2
Jan 15, 2020
10af3dd
renamed csproj files to fit with csharp naming conventions
Jan 15, 2020
e3a2711
fixed featherhttptemplate.csproj to have correct template pack props
Jan 15, 2020
4d1844e
fixed typo
Jan 15, 2020
dc613ea
removed unnecessary nuget update
Jan 15, 2020
3ef389a
attempt to fix the unstable template issue
Jan 16, 2020
8890a05
trying nbgv prepare release command for nuget template package
Jan 16, 2020
5237fb4
fixing build error where prepare-release fails due to uncommited changes
Jan 16, 2020
e7ee058
fixing issue with yml syntax
Jan 16, 2020
11d40d1
configuring git for commit step
Jan 16, 2020
228fc0f
merging prepare release steps
Jan 16, 2020
da5624f
fixed typo in git config setting
Jan 16, 2020
5f9d8cf
rearranged project assets to work with nbgv versioning
Jan 17, 2020
29e2777
attempt to explicitly set version for nuget template package
Jan 17, 2020
c26384c
attempting public release of nuget package template
Jan 17, 2020
5e1e0b3
attempting to do build from current branch instead of v1 detached head
Jan 17, 2020
6c2465d
cant public release from detached head
Jan 17, 2020
ef7322a
successful package deployment and test, ready for pr
Jan 17, 2020
2aa8f30
merged from ci-changes, resolved merge conflicts
Jan 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions template/FeatherHttpTemplate.nuspec
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>FeatherHttpTemplate</id>
RobotOptimist marked this conversation as resolved.
Show resolved Hide resolved
<version>0.1.31-alpha</version>
<title>FeatherHttp Template for dotnet-new</title>
<summary>A dotnet-new template for FeatherHttp applications.</summary>
<description>A dotnet-new template for FeatherHttp applications.</description>
<authors>David Fowler</authors>
<owners>David Fowler</owners>
<projectUrl>https://github.com/davidfowl/FeatherHttp</projectUrl>
<iconUrl></iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/davidfowl/FeatherHttp/blob/master/LICENSE</licenseUrl>
<releaseNotes></releaseNotes>
<language>en-GB</language>
<tags>featherhttp asp dotnet new template</tags>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
</package>
12 changes: 12 additions & 0 deletions template/content/.template.config/template.json
@@ -0,0 +1,12 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "David Fowler",
"classifications": [ "Web", "ASP.NET", "FeatherHttp" ],
"identity": "FeatherHttp.Templates",
"name": "FeatherHttp Templates",
"shortName": "featherhttp",
"tags": {
"language": "C#",
"type": "project"
}
}
22 changes: 22 additions & 0 deletions template/content/Program.cs
@@ -0,0 +1,22 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;

class Program
{
static async Task Main(string[] args)
{
var builder = WebApplicationHost.CreateDefaultBuilder(args);

var app = builder.Build();

app.MapGet("/", async context =>
{
await context.Response.WriteAsync("Hello World!");
});

await app.RunAsync();
}
}
12 changes: 12 additions & 0 deletions template/content/featherhttp-template.csproj
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>featherhttp_template</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FeatherHttp" Version="0.1.31-alpha" />
</ItemGroup>

</Project>