Skip to content

Commit 1ece70d

Browse files
authored
Merge pull request #2 from mast-eu/StandalonePlugin
Standalone plugin
2 parents 52d43fb + 0438307 commit 1ece70d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+238
-523
lines changed

Directory.Build.props

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Do not use XML namespaces here (<Project xmlns="...">), because it would break patching of version numbers during builds on AppVeyor (https://github.com/appveyor/website/pull/409) -->
2+
<Project>
3+
<PropertyGroup>
4+
<Authors>Pieter van Ginkel, Git Extensions</Authors>
5+
<Company>Git Extensions</Company>
6+
<RepositoryUrl>https://github.com/gitextensions/GitExtensions.GerritPlugin</RepositoryUrl>
7+
<LangVersion>latest</LangVersion>
8+
<Version>0.0.0</Version>
9+
<AssemblyVersion>0.0.0.1</AssemblyVersion>
10+
<FileVersion>0.0.0.1</FileVersion>
11+
<InformationalVersion>0.0.0.1</InformationalVersion>
12+
<PackageVersion>0.0.0.1</PackageVersion>
13+
</PropertyGroup>
14+
15+
<PropertyGroup>
16+
<TargetFramework>net461</TargetFramework>
17+
<VersionPrefix>1.0.0</VersionPrefix>
18+
</PropertyGroup>
19+
</Project>

GitExtensions.GerritPlugin.sln

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29709.97
5+
MinimumVisualStudioVersion = 15.0.26124.0
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GitExtensions.GerritPlugin", "src\GitExtensions.GerritPlugin\GitExtensions.GerritPlugin.csproj", "{58C09A62-E18E-4B76-AADB-D0B176C5424E}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GitExtensions.GerritPlugin.Tests", "UnitTests\GitExtensions.GerritPlugin.Tests\GitExtensions.GerritPlugin.Tests.csproj", "{847B0590-A76F-4B90-B797-10165DD6705F}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Debug|x64 = Debug|x64
14+
Debug|x86 = Debug|x86
15+
Release|Any CPU = Release|Any CPU
16+
Release|x64 = Release|x64
17+
Release|x86 = Release|x86
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|x64.ActiveCfg = Debug|Any CPU
23+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|x64.Build.0 = Debug|Any CPU
24+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|x86.ActiveCfg = Debug|Any CPU
25+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Debug|x86.Build.0 = Debug|Any CPU
26+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|x64.ActiveCfg = Release|Any CPU
29+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|x64.Build.0 = Release|Any CPU
30+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|x86.ActiveCfg = Release|Any CPU
31+
{58C09A62-E18E-4B76-AADB-D0B176C5424E}.Release|x86.Build.0 = Release|Any CPU
32+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|x64.ActiveCfg = Debug|Any CPU
35+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|x64.Build.0 = Debug|Any CPU
36+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|x86.ActiveCfg = Debug|Any CPU
37+
{847B0590-A76F-4B90-B797-10165DD6705F}.Debug|x86.Build.0 = Debug|Any CPU
38+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|x64.ActiveCfg = Release|Any CPU
41+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|x64.Build.0 = Release|Any CPU
42+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|x86.ActiveCfg = Release|Any CPU
43+
{847B0590-A76F-4B90-B797-10165DD6705F}.Release|x86.Build.0 = Release|Any CPU
44+
EndGlobalSection
45+
GlobalSection(SolutionProperties) = preSolution
46+
HideSolutionNode = FALSE
47+
EndGlobalSection
48+
GlobalSection(ExtensibilityGlobals) = postSolution
49+
SolutionGuid = {464E76E6-53B0-4E56-B267-22F7F82476F1}
50+
EndGlobalSection
51+
EndGlobal

GitExtensions.PluginTemplate.sln

Lines changed: 0 additions & 37 deletions
This file was deleted.

GitExtensions.settings

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<string>BuildServer.AppVeyor.AppVeyorProjectName</string>
2222
</key>
2323
<value>
24-
<string>gitextensions/gitextensions-plugintemplate</string>
24+
<string>gitextensions/gitextensions-gerritplugin</string>
2525
</value>
2626
</item>
2727
<item>
@@ -60,7 +60,7 @@
6060
&lt;LinkFormats&gt;
6161
&lt;GitExtLinkFormat&gt;
6262
&lt;Caption&gt;View on GitHub&lt;/Caption&gt;
63-
&lt;Format&gt;https://github.com/gitextensions/gitextensions.plugintemplate/commit/%COMMIT_HASH%&lt;/Format&gt;
63+
&lt;Format&gt;https://github.com/gitextensions/GitExtensions.GerritPlugin/commit/%COMMIT_HASH%&lt;/Format&gt;
6464
&lt;/GitExtLinkFormat&gt;
6565
&lt;/LinkFormats&gt;
6666
&lt;Name&gt;GitHub - commit&lt;/Name&gt;
@@ -77,7 +77,7 @@
7777
&lt;LinkFormats&gt;
7878
&lt;GitExtLinkFormat&gt;
7979
&lt;Caption&gt;Issue {0}&lt;/Caption&gt;
80-
&lt;Format&gt;https://github.com/gitextensions/gitextensions.plugintemplate/issues/{0}&lt;/Format&gt;
80+
&lt;Format&gt;https://github.com/gitextensions/GitExtensions.GerritPlugin/issues/{0}&lt;/Format&gt;
8181
&lt;/GitExtLinkFormat&gt;
8282
&lt;/LinkFormats&gt;
8383
&lt;Name&gt;GitHub - issues&lt;/Name&gt;
@@ -96,7 +96,7 @@
9696
&lt;LinkFormats&gt;
9797
&lt;GitExtLinkFormat&gt;
9898
&lt;Caption&gt;PR {0}&lt;/Caption&gt;
99-
&lt;Format&gt;https://github.com/gitextensions/gitextensions.plugintemplate/pull/{0}&lt;/Format&gt;
99+
&lt;Format&gt;https://github.com/gitextensions/GitExtensions.GerritPlugin/pull/{0}&lt;/Format&gt;
100100
&lt;/GitExtLinkFormat&gt;
101101
&lt;/LinkFormats&gt;
102102
&lt;Name&gt;GitHub - PR&lt;/Name&gt;

UnitTests/GitExtensions.GerritPlugin.Tests/Gerrit.Tests.csproj

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<ItemGroup>
3+
<PackageReference Include="NUnit" Version="3.12.0" />
4+
</ItemGroup>
5+
6+
<ItemGroup>
7+
<ProjectReference Include="..\..\src\GitExtensions.GerritPlugin\GitExtensions.GerritPlugin.csproj" />
8+
</ItemGroup>
9+
</Project>
Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,2 @@
11
using System.Reflection;
22
using System.Runtime.InteropServices;
3-
using CommonTestUtils;
4-
5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
8-
[assembly: AssemblyTitle("GerritTests")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("GerritTests")]
13-
[assembly: AssemblyCopyright("Copyright © 2019")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
16-
17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
20-
[assembly: ComVisible(false)]
21-
22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("2f8f55f7-c82f-44fc-ab52-9d0c692996fc")]
24-
25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
37-
38-
[assembly: TestAppSettings]

UnitTests/GitExtensions.GerritPlugin.Tests/Server/CommandBuilderWithDraftSupportTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
using System.Linq;
44
using System.Text;
55
using System.Threading.Tasks;
6-
using Gerrit.Server;
6+
using GitExtensions.GerritPlugin.Server;
77
using NUnit.Framework;
88

9-
namespace GerritTests.Server
9+
namespace GitExtensions.GerritPlugin.Tests.Server
1010
{
1111
public static class CommandBuilderWithDraftSupportTests
1212
{

UnitTests/GitExtensions.GerritPlugin.Tests/Server/CommandBuilderWithPrivateSupportTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
using System.Linq;
44
using System.Text;
55
using System.Threading.Tasks;
6-
using Gerrit.Server;
6+
using GitExtensions.GerritPlugin.Server;
77
using NUnit.Framework;
88

9-
namespace GerritTests.Server
9+
namespace GitExtensions.GerritPlugin.Tests.Server
1010
{
1111
public static class CommandBuilderWithPrivateSupportTests
1212
{

UnitTests/GitExtensions.GerritPlugin.Tests/Server/GerritCapabilityTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Linq;
2-
using Gerrit.Server;
2+
using GitExtensions.GerritPlugin.Server;
33
using NUnit.Framework;
44

5-
namespace GerritTests.Server
5+
namespace GitExtensions.GerritPlugin.Tests.Server
66
{
77
public static class GerritCapabilityTests
88
{

0 commit comments

Comments
 (0)