Skip to content

Commit e586f5f

Browse files
committed
(GH-35) Updated licenses
- Updated license to match what is here: http://gep13.mit-license.org/ - Took the oppurtunity to normalize the line endings for some files as well.
1 parent 16f4a58 commit e586f5f

32 files changed

+1403
-1403
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 - Present gep13
3+
Copyright (c) 2015 - Present Gary Ewan Park
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="AssemblyInfo.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
using System;
8-
using System.Reflection;
9-
using System.Resources;
10-
using System.Runtime.InteropServices;
11-
12-
[assembly: AssemblyTitle("GitHubReleaseManager.Cli")]
13-
[assembly: AssemblyProduct("GitHubReleaseManager.Cli")]
14-
[assembly: AssemblyDescription("Create release notes in markdown given a GitHub milestone")]
15-
[assembly: AssemblyFileVersion("1.0.0.0")]
16-
[assembly: AssemblyVersion("1.0.0.0")]
17-
[assembly: AssemblyInformationalVersion("1.0.0.0")]
18-
[assembly: AssemblyConfiguration("")]
19-
[assembly: AssemblyCompany("gep13")]
20-
[assembly: AssemblyCopyright("Copyright 2015 - Gary Ewan Park")]
21-
[assembly: AssemblyTrademark("")]
22-
[assembly: AssemblyCulture("")]
23-
[assembly: NeutralResourcesLanguage("en-GB")]
24-
[assembly: CLSCompliant(false)]
25-
[assembly: ComVisible(false)]
26-
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
using System;
8+
using System.Reflection;
9+
using System.Resources;
10+
using System.Runtime.InteropServices;
11+
12+
[assembly: AssemblyTitle("GitHubReleaseManager.Cli")]
13+
[assembly: AssemblyProduct("GitHubReleaseManager.Cli")]
14+
[assembly: AssemblyDescription("Create release notes in markdown given a GitHub milestone")]
15+
[assembly: AssemblyFileVersion("1.0.0.0")]
16+
[assembly: AssemblyVersion("1.0.0.0")]
17+
[assembly: AssemblyInformationalVersion("1.0.0.0")]
18+
[assembly: AssemblyConfiguration("")]
19+
[assembly: AssemblyCompany("gep13")]
20+
[assembly: AssemblyCopyright("Copyright 2015 - Gary Ewan Park")]
21+
[assembly: AssemblyTrademark("")]
22+
[assembly: AssemblyCulture("")]
23+
[assembly: NeutralResourcesLanguage("en-GB")]
24+
[assembly: CLSCompliant(false)]
25+
[assembly: ComVisible(false)]
26+
2727
[assembly: Guid("284D3742-6799-4916-AC21-CFDDD7EE6850")]
Binary file not shown.
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="AddAssetSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
using CommandLine;
10-
11-
public class AddAssetSubOptions : CommonSubOptions
12-
{
13-
[Option('a', "asset", HelpText = "Path to the file to include in the release.", Required = true)]
14-
public string AssetPath { get; set; }
15-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
using CommandLine;
10+
11+
public class AddAssetSubOptions : CommonSubOptions
12+
{
13+
[Option('a', "asset", HelpText = "Path to the file to include in the release.", Required = true)]
14+
public string AssetPath { get; set; }
15+
}
1616
}
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
// <copyright file="BaseGitHubSubOptions.cs" company="gep13">
2-
// Copyright (c) 2015 - Present gep13
3-
// </copyright>
4-
//-----------------------------------------------------------------------
5-
6-
namespace GitHubReleaseManager.Cli.Options
7-
{
8-
using CommandLine;
9-
using Octokit;
10-
11-
public abstract class BaseGitHubSubOptions : BaseSubOptions
12-
{
13-
[Option('u', "username", HelpText = "The username to access GitHub with.", Required = true)]
14-
public string UserName { get; set; }
15-
16-
[Option('p', "password", HelpText = "The password to access GitHub with.", Required = true)]
17-
public string Password { get; set; }
18-
19-
[Option('o', "owner", HelpText = "The owner of the repository.", Required = true)]
20-
public string RepositoryOwner { get; set; }
21-
22-
[Option('r', "repository", HelpText = "The name of the repository.", Required = true)]
23-
public string RepositoryName { get; set; }
24-
25-
public GitHubClient CreateGitHubClient()
26-
{
27-
var credentials = new Credentials(this.UserName, this.Password);
28-
var github = new GitHubClient(new ProductHeaderValue("GitHubReleaseManager")) { Credentials = credentials };
29-
return github;
30-
}
31-
}
2+
// Copyright (c) 2015 - Present Gary Ewan Park
3+
// </copyright>
4+
//-----------------------------------------------------------------------
5+
6+
namespace GitHubReleaseManager.Cli.Options
7+
{
8+
using CommandLine;
9+
using Octokit;
10+
11+
public abstract class BaseGitHubSubOptions : BaseSubOptions
12+
{
13+
[Option('u', "username", HelpText = "The username to access GitHub with.", Required = true)]
14+
public string UserName { get; set; }
15+
16+
[Option('p', "password", HelpText = "The password to access GitHub with.", Required = true)]
17+
public string Password { get; set; }
18+
19+
[Option('o', "owner", HelpText = "The owner of the repository.", Required = true)]
20+
public string RepositoryOwner { get; set; }
21+
22+
[Option('r', "repository", HelpText = "The name of the repository.", Required = true)]
23+
public string RepositoryName { get; set; }
24+
25+
public GitHubClient CreateGitHubClient()
26+
{
27+
var credentials = new Credentials(this.UserName, this.Password);
28+
var github = new GitHubClient(new ProductHeaderValue("GitHubReleaseManager")) { Credentials = credentials };
29+
return github;
30+
}
31+
}
3232
}
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="BaseSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
using CommandLine;
10-
11-
public abstract class BaseSubOptions
12-
{
13-
[Option('t', "targetPath", HelpText = "The directory on which GitHubReleaseManager should be executed. Defaults to current directory.", Required = false)]
14-
public string TargetPath { get; set; }
15-
16-
[Option('l', "logFilePath", HelpText = "Path to where log file should be created. Defaults to logging to console.", Required = false)]
17-
public string LogFilePath { get; set; }
18-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
using CommandLine;
10+
11+
public abstract class BaseSubOptions
12+
{
13+
[Option('t', "targetPath", HelpText = "The directory on which GitHubReleaseManager should be executed. Defaults to current directory.", Required = false)]
14+
public string TargetPath { get; set; }
15+
16+
[Option('l', "logFilePath", HelpText = "Path to where log file should be created. Defaults to logging to console.", Required = false)]
17+
public string LogFilePath { get; set; }
18+
}
1919
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="CloseSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
public class CloseSubOptions : CommonSubOptions
10-
{
11-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
public class CloseSubOptions : CommonSubOptions
10+
{
11+
}
1212
}
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="CommonSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
using CommandLine;
10-
11-
public abstract class CommonSubOptions : BaseGitHubSubOptions
12-
{
13-
[Option('m', "milestone", HelpText = "The milestone to use.", Required = true)]
14-
public string Milestone { get; set; }
15-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
using CommandLine;
10+
11+
public abstract class CommonSubOptions : BaseGitHubSubOptions
12+
{
13+
[Option('m', "milestone", HelpText = "The milestone to use.", Required = true)]
14+
public string Milestone { get; set; }
15+
}
1616
}
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="CreateSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
using CommandLine;
10-
11-
public class CreateSubOptions : CommonSubOptions
12-
{
13-
[Option('a', "asset", HelpText = "Path to the file to include in the release.", Required = false)]
14-
public string AssetPath { get; set; }
15-
16-
[Option('t', "targetcommitish", HelpText = "The commit to tag. Can be a branch or SHA. Defaults to repository's default branch.", Required = false)]
17-
public string TargetCommitish { get; set; }
18-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
using CommandLine;
10+
11+
public class CreateSubOptions : CommonSubOptions
12+
{
13+
[Option('a', "asset", HelpText = "Path to the file to include in the release.", Required = false)]
14+
public string AssetPath { get; set; }
15+
16+
[Option('t', "targetcommitish", HelpText = "The commit to tag. Can be a branch or SHA. Defaults to repository's default branch.", Required = false)]
17+
public string TargetCommitish { get; set; }
18+
}
1919
}
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
//-----------------------------------------------------------------------
1+
//-----------------------------------------------------------------------
22
// <copyright file="ExportSubOptions.cs" company="gep13">
3-
// Copyright (c) 2015 - Present gep13
4-
// </copyright>
5-
//-----------------------------------------------------------------------
6-
7-
namespace GitHubReleaseManager.Cli.Options
8-
{
9-
using CommandLine;
10-
11-
public class ExportSubOptions : BaseGitHubSubOptions
12-
{
13-
[Option('f', "fileOutputPath", HelpText = "Path to the file export releases.", Required = true)]
14-
public string FileOutputPath { get; set; }
15-
}
3+
// Copyright (c) 2015 - Present Gary Ewan Park
4+
// </copyright>
5+
//-----------------------------------------------------------------------
6+
7+
namespace GitHubReleaseManager.Cli.Options
8+
{
9+
using CommandLine;
10+
11+
public class ExportSubOptions : BaseGitHubSubOptions
12+
{
13+
[Option('f', "fileOutputPath", HelpText = "Path to the file export releases.", Required = true)]
14+
public string FileOutputPath { get; set; }
15+
}
1616
}

0 commit comments

Comments
 (0)