Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 19FA0200C61 for ; Tue, 25 Apr 2017 13:50:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 18A5D160B9E; Tue, 25 Apr 2017 11:50:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 117E3160BB3 for ; Tue, 25 Apr 2017 13:50:49 +0200 (CEST) Received: (qmail 52404 invoked by uid 500); 25 Apr 2017 11:50:44 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 51538 invoked by uid 99); 25 Apr 2017 11:50:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2017 11:50:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0C01EE049A; Tue, 25 Apr 2017 11:50:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nightowl888@apache.org To: commits@lucenenet.apache.org Date: Tue, 25 Apr 2017 11:50:54 -0000 Message-Id: <1e87a67d746f458cbe5fd9ab2cc443eb@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [13/52] [abbrv] lucenenet git commit: SWEEP: Removed the summary field from packOptions archived-at: Tue, 25 Apr 2017 11:50:51 -0000 SWEEP: Removed the summary field from packOptions Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/e894c620 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/e894c620 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/e894c620 Branch: refs/heads/master Commit: e894c6209e848b1880d7100d035615336de6b8b2 Parents: ba64fca Author: Shad Storhaug Authored: Wed Apr 19 08:59:08 2017 +0700 Committer: Shad Storhaug Committed: Wed Apr 19 08:59:08 2017 +0700 ---------------------------------------------------------------------- build/build.ps1 | 31 ----------------------- src/Lucene.Net.Analysis.Common/project.json | 1 - src/Lucene.Net.Analysis.Stempel/project.json | 1 - src/Lucene.Net.Classification/project.json | 1 - src/Lucene.Net.Codecs/project.json | 1 - src/Lucene.Net.Expressions/project.json | 1 - src/Lucene.Net.Facet/project.json | 1 - src/Lucene.Net.Grouping/project.json | 1 - src/Lucene.Net.Highlighter/project.json | 1 - src/Lucene.Net.Icu/project.json | 1 - src/Lucene.Net.Join/project.json | 1 - src/Lucene.Net.Memory/project.json | 1 - src/Lucene.Net.Misc/project.json | 1 - src/Lucene.Net.Queries/project.json | 1 - src/Lucene.Net.QueryParser/project.json | 1 - src/Lucene.Net.Sandbox/project.json | 1 - src/Lucene.Net.Spatial/project.json | 1 - src/Lucene.Net.Suggest/project.json | 1 - src/Lucene.Net/project.json | 1 - 19 files changed, 49 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/build/build.ps1 ---------------------------------------------------------------------- diff --git a/build/build.ps1 b/build/build.ps1 index bec2498..d956897 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -92,7 +92,6 @@ task Pack -depends Compile -description "This task creates the NuGet packages" { $packages = Get-ChildItem -Path "project.json" -Recurse | ? { !$_.Directory.Name.Contains(".Test") } popd - Prepare-For-Pack $packages Pack-Assemblies $packages $success = $true @@ -230,36 +229,6 @@ function Build-Assemblies([string[]]$projects) { } } -function Prepare-For-Pack([string[]]$projects) { - foreach ($project in $projects) { - Write-Host "Updating project.json for pack: $project" -ForegroundColor DarkYellow - - # Update the packOptions.summary with the value from AssemblyDescriptionAttribute - $assemblyDescription = Get-Assembly-Description $project - Write-Host "Updating package description with '$assemblyDescription'" -ForegroundColor Yellow - - (Get-Content $project) | % { - $_-replace "(?<=""summary""\s*?:\s*?"")([^""]*)", $assemblyDescription - } | Set-Content $project -Force - } -} - -# Gets the description from the AssemblyDescriptionAttribute -function Get-Assembly-Description($project) { - #project path has a project.json file, we need the path without it - $dir = [System.IO.Path]::GetDirectoryName($project).TrimEnd([System.IO.Path]::DirectorySeparatorChar) - $projectName = [System.IO.Path]::GetFileName($dir) - $projectAssemblyPath = "$dir\bin\$Configuration\net451\$projectName.dll" - - $assembly = [Reflection.Assembly]::ReflectionOnlyLoadFrom($projectAssemblyPath) - $descriptionAttributes = [reflection.customattributedata]::GetCustomAttributes($assembly) | Where-Object {$_.AttributeType -like "System.Reflection.AssemblyDescriptionAttribute"} - - if ($descriptionAttributes.Length -gt 0) { - $descriptionAttributes[0].ToString()-match "(?<=\[System.Reflection.AssemblyDescriptionAttribute\("")([^""]*)" | Out-Null - return $Matches[0] - } -} - function Pack-Assemblies([string[]]$projects) { Ensure-Directory-Exists $nuget_package_directory foreach ($project in $projects) { http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Analysis.Common/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.Common/project.json b/src/Lucene.Net.Analysis.Common/project.json index 18d25b6..f451bad 100644 --- a/src/Lucene.Net.Analysis.Common/project.json +++ b/src/Lucene.Net.Analysis.Common/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Analysis.Common", "description": "Analyzers for indexing content in different languages and domains for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Analysis.Stempel/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Analysis.Stempel/project.json b/src/Lucene.Net.Analysis.Stempel/project.json index b0543ea..fc09409 100644 --- a/src/Lucene.Net.Analysis.Stempel/project.json +++ b/src/Lucene.Net.Analysis.Stempel/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Analysis.Stempel", "description": "Analyzer for indexing Polish for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Classification/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Classification/project.json b/src/Lucene.Net.Classification/project.json index 7b6200c..3c92ac9 100644 --- a/src/Lucene.Net.Classification/project.json +++ b/src/Lucene.Net.Classification/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Classification", "description": "Classification module for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Codecs/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Codecs/project.json b/src/Lucene.Net.Codecs/project.json index 23ec364..e63afac 100644 --- a/src/Lucene.Net.Codecs/project.json +++ b/src/Lucene.Net.Codecs/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Codecs", "description": "Specialized codecs and postings formats for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Expressions/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Expressions/project.json b/src/Lucene.Net.Expressions/project.json index 2d54e0a..fbb70e2 100644 --- a/src/Lucene.Net.Expressions/project.json +++ b/src/Lucene.Net.Expressions/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Expressions", "description": "Dynamically computed values to sort/facet/search on based on a pluggable grammar for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Facet/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Facet/project.json b/src/Lucene.Net.Facet/project.json index a9f923c..a13dbd6 100644 --- a/src/Lucene.Net.Facet/project.json +++ b/src/Lucene.Net.Facet/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Facet", "description": "Faceted indexing and search capabilities for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Grouping/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Grouping/project.json b/src/Lucene.Net.Grouping/project.json index 09b0b18..cd1d1cc 100644 --- a/src/Lucene.Net.Grouping/project.json +++ b/src/Lucene.Net.Grouping/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Grouping", "description": "Collectors for grouping search results for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Highlighter/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Highlighter/project.json b/src/Lucene.Net.Highlighter/project.json index bf2651e..ffaf4fe 100644 --- a/src/Lucene.Net.Highlighter/project.json +++ b/src/Lucene.Net.Highlighter/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Highlighter", "description": "Highlights search keywords in results from the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Icu/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Icu/project.json b/src/Lucene.Net.Icu/project.json index 4dc0a9d..2ffb84b 100644 --- a/src/Lucene.Net.Icu/project.json +++ b/src/Lucene.Net.Icu/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Icu", "description": "International Components for Unicode-based features including Thai analyzer support, an international postings highlighter, and BreakIterator support for the vector highlighter for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Join/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Join/project.json b/src/Lucene.Net.Join/project.json index 26f270d..66aa572 100644 --- a/src/Lucene.Net.Join/project.json +++ b/src/Lucene.Net.Join/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Join", "description": "Index-time and Query-time joins for normalized content of the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Memory/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Memory/project.json b/src/Lucene.Net.Memory/project.json index 41737f6..10bf468 100644 --- a/src/Lucene.Net.Memory/project.json +++ b/src/Lucene.Net.Memory/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Memory", "description": "Single-document in-memory index implementation for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Misc/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Misc/project.json b/src/Lucene.Net.Misc/project.json index 6e6a9c0..17df8fa 100644 --- a/src/Lucene.Net.Misc/project.json +++ b/src/Lucene.Net.Misc/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Misc", "description": "Index tools and other miscellaneous functionality for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Queries/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Queries/project.json b/src/Lucene.Net.Queries/project.json index f0ecd48..dde3622 100644 --- a/src/Lucene.Net.Queries/project.json +++ b/src/Lucene.Net.Queries/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Queries", "description": "Extended Filters and Queries for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.QueryParser/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/project.json b/src/Lucene.Net.QueryParser/project.json index f084f69..adcc9e4 100644 --- a/src/Lucene.Net.QueryParser/project.json +++ b/src/Lucene.Net.QueryParser/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.QueryParser", "description": "Query parsers and parsing framework for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Sandbox/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Sandbox/project.json b/src/Lucene.Net.Sandbox/project.json index 051d518..7249817 100644 --- a/src/Lucene.Net.Sandbox/project.json +++ b/src/Lucene.Net.Sandbox/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Sandbox", "description": "Various third party contributions and new ideas extensions for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Spatial/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Spatial/project.json b/src/Lucene.Net.Spatial/project.json index 20fbcaa..c0a999d 100644 --- a/src/Lucene.Net.Spatial/project.json +++ b/src/Lucene.Net.Spatial/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Spatial", "description": "Geospatial search for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net.Suggest/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Suggest/project.json b/src/Lucene.Net.Suggest/project.json index c5341cb..9cdf1e3 100644 --- a/src/Lucene.Net.Suggest/project.json +++ b/src/Lucene.Net.Suggest/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net.Suggest", "description": "Auto-suggest and Spellchecking support for the Lucene.Net full-text search engine library from The Apache Software Foundation.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [ http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e894c620/src/Lucene.Net/project.json ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/project.json b/src/Lucene.Net/project.json index bf0a9db..312a1ec 100644 --- a/src/Lucene.Net/project.json +++ b/src/Lucene.Net/project.json @@ -3,7 +3,6 @@ "title": "Lucene.Net", "description": "Lucene.Net is a full-text search engine library capable of advanced text analysis, indexing, and searching. It can be used to easily add search capabilities to applications. Lucene.Net is a C# port of the popular Java Lucene search engine framework from The Apache Software Foundation, targeted at .NET Framework and .NET Core users.", "packOptions": { - "summary": "", "licenseUrl": "https://github.com/apache/lucenenet/blob/master/LICENSE.txt", "iconUrl": "https://github.com/apache/lucenenet/blob/master/branding/logo/lucene-net-icon-128x128.png?raw=true", "owners": [