Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 851cbcc

Browse files
Merge branch 'master' into fixes/annotations-metrics
2 parents 9b3dae4 + 022a42f commit 851cbcc

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

src/GitHub.App/Services/RepositoryCloneService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public async Task<ViewerRepositoriesModel> ReadViewerRepositories(HostAddress ad
9797
Repositories = viewer.Repositories(null, null, null, null, null, order, affiliation, null, null)
9898
.AllPages()
9999
.Select(repositorySelection).ToList(),
100-
OrganizationRepositories = viewer.Organizations(null, null, null, null).AllPages().Select(org => new
100+
Organizations = viewer.Organizations(null, null, null, null).AllPages().Select(org => new
101101
{
102102
org.Login,
103103
Repositories = org.Repositories(null, null, null, null, null, order, null, null, null)

src/GitHub.App/ViewModels/Dialog/Clone/RepositorySelectViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public async Task Activate()
117117
.Where(r => r.Owner != results.Owner)
118118
.OrderBy(r => r.Owner)
119119
.Select(x => new RepositoryItemViewModel(x, "Collaborator repositories"));
120-
var orgRepositories = results.OrganizationRepositories
120+
var orgRepositories = results.Organizations
121121
.OrderBy(x => x.Key)
122122
.SelectMany(x => x.Value.Select(y => new RepositoryItemViewModel(y, x.Key)));
123123
Items = yourRepositories.Concat(collaboratorRepositories).Concat(orgRepositories).ToList();

src/GitHub.Exports/Models/ViewerRepositoriesModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public class ViewerRepositoriesModel
77
{
88
public string Owner { get; set; }
99
public IReadOnlyList<RepositoryListItemModel> Repositories { get; set; }
10-
public IDictionary<string, IReadOnlyList<RepositoryListItemModel>> OrganizationRepositories { get; set; }
10+
public IDictionary<string, IReadOnlyList<RepositoryListItemModel>> Organizations { get; set; }
1111
}
1212
}

src/GitHub.VisualStudio/GitHub.VisualStudio.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,19 @@
428428
<PropertyGroup>
429429
<UseCodebase>true</UseCodebase>
430430
</PropertyGroup>
431+
<ItemGroup>
432+
<!-- Include a reference to this package so that x86|x64\e_sqlite3.dll are copied to the output directory -->
433+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3">
434+
<Version>1.1.11</Version>
435+
</PackageReference>
436+
</ItemGroup>
431437
<!-- Include required NuGet dependencies-->
432438
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
433439
<ItemGroup>
434440
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'System.ValueTuple'" />
435441
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'Newtonsoft.Json'" />
442+
<VSIXSourceItem VSIXSubPath="x86" Include="@(Content)" Condition="'%(Content.Link)' == 'x86\e_sqlite3.dll'" />
443+
<VSIXSourceItem VSIXSubPath="x64" Include="@(Content)" Condition="'%(Content.Link)' == 'x64\e_sqlite3.dll'" />
436444
</ItemGroup>
437445
</Target>
438446
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

0 commit comments

Comments
 (0)