Skip to content

Commit

Permalink
Merge pull request #6625 from NuGet/dev
Browse files Browse the repository at this point in the history
[ReleasePrep][2018.11.05]RI Dev into master
  • Loading branch information
ryuyu committed Nov 6, 2018
2 parents 9070951 + 663cd34 commit bf7e98f
Show file tree
Hide file tree
Showing 535 changed files with 3,542 additions and 5,158 deletions.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ param (
[string]$PackageSuffix,
[string]$Branch,
[string]$CommitSHA,
[string]$BuildBranch = '795fed66b8bae2d248237ee5ec82e688e7174a42'
[string]$BuildBranch = '5fd8377a9abf3ff411918dbb973948a6677432db'
)

Set-StrictMode -Version 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using Microsoft.Extensions.CommandLineUtils;
using NuGet.Packaging;
using NuGet.Packaging.Core;
using NuGet.Services.Entities;
using NuGet.Services.Search.Client;
using NuGetGallery;
using NuGetGallery.Configuration;
Expand Down Expand Up @@ -447,7 +448,7 @@ public RepositoryMetadataLogMap()

private class FileCursor : IDisposable
{
private FileStream _fileStream;
private readonly FileStream _fileStream;
private StreamWriter _cursorWriter;

public FileCursor(string fileName)
Expand All @@ -473,7 +474,7 @@ public void Dispose()

public DateTime GetCursorTime()
{
using (var reader = new StreamReader(_fileStream, Encoding.ASCII, detectEncodingFromByteOrderMarks: false, bufferSize:100, leaveOpen: true))
using (var reader = new StreamReader(_fileStream, Encoding.ASCII, detectEncodingFromByteOrderMarks: false, bufferSize: 100, leaveOpen: true))
{
reader.BaseStream.Seek(0, SeekOrigin.Begin);

Expand Down
1 change: 1 addition & 0 deletions src/GalleryTools/Commands/HashCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System.Threading.Tasks;
using Autofac;
using Microsoft.Extensions.CommandLineUtils;
using NuGet.Services.Entities;
using NuGetGallery;
using NuGetGallery.Configuration;
using NuGetGallery.Infrastructure.Authentication;
Expand Down
1 change: 1 addition & 0 deletions src/GalleryTools/Commands/VerifyApiKeyCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.CommandLineUtils;
using NuGet.Services.Entities;
using NuGetGallery;
using NuGetGallery.Infrastructure.Authentication;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using NuGet.Services.Entities;
using NuGetGallery.Auditing.Obfuscation;

namespace NuGetGallery.Auditing.AuditedEntities
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using NuGet.Services.Entities;

namespace NuGetGallery.Auditing.AuditedEntities
{
public class AuditedPackageRegistration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using NuGet.Services.Entities;

namespace NuGetGallery.Auditing.AuditedEntities
{
public class AuditedReservedNamespace
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using NuGet.Services.Entities;

namespace NuGetGallery.Auditing.AuditedEntities
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/NuGetGallery.Core/Auditing/CredentialAuditRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System;
using System.Collections.Generic;
using NuGet.Services.Entities;

namespace NuGetGallery.Auditing
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using NuGet.Services.Entities;
using NuGetGallery.Auditing.AuditedEntities;

namespace NuGetGallery.Auditing
Expand Down
1 change: 1 addition & 0 deletions src/NuGetGallery.Core/Auditing/PackageAuditRecord.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using NuGet.Services.Entities;
using NuGetGallery.Auditing.AuditedEntities;

namespace NuGetGallery.Auditing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using NuGet.Services.Entities;
using NuGetGallery.Auditing.AuditedEntities;

namespace NuGetGallery.Auditing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Linq;
using System.Collections.Generic;
using NuGetGallery.Auditing.AuditedEntities;
using NuGet.Services.Entities;

namespace NuGetGallery.Auditing
{
Expand Down
1 change: 1 addition & 0 deletions src/NuGetGallery.Core/Auditing/UserAuditRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Services.Entities;
using NuGetGallery.Auditing.AuditedEntities;

namespace NuGetGallery.Auditing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Services.Entities;
using NuGetGallery.Auditing.AuditedEntities;

namespace NuGetGallery.Auditing
Expand Down
2 changes: 0 additions & 2 deletions src/NuGetGallery.Core/CoreConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ public static class CoreConstants
{
public const string AdminRoleName = "Admins";

public const int MaxPackageIdLength = 128;

public const string PackageFileSavePathTemplate = "{0}.{1}{2}";
public const string PackageFileBackupSavePathTemplate = "{0}/{1}/{2}.{3}";

Expand Down
1 change: 1 addition & 0 deletions src/NuGetGallery.Core/CredentialTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Services.Entities;

namespace NuGetGallery
{
Expand Down
45 changes: 0 additions & 45 deletions src/NuGetGallery.Core/Entities/AccountDelete.cs

This file was deleted.

65 changes: 0 additions & 65 deletions src/NuGetGallery.Core/Entities/Certificate.cs

This file was deleted.

114 changes: 0 additions & 114 deletions src/NuGetGallery.Core/Entities/Credential.cs

This file was deleted.

Loading

0 comments on commit bf7e98f

Please sign in to comment.