Skip to content

Commit 3818822

Browse files
committed
[Setup] Nuget/Chocolatey packages update.
[Change] Updated the ReleasePackagingTool to include all .pdb files. [Change] Updated the nuget/chocolatey templates to conform with the guidelines: - Replaced the Redis logo with the Redis icon. - Changed the package title. - Changed the package description. - Removed the package summary to use a short version of the decription instead. [Change] Updated license.txt to 2015.
1 parent 9746165 commit 3818822

File tree

6 files changed

+67
-27
lines changed

6 files changed

+67
-27
lines changed

license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2006-2014, Salvatore Sanfilippo
1+
Copyright (c) 2006-2015, Salvatore Sanfilippo
22
Modifications copyright (c) Microsoft Open Technologies, Inc.
33
All rights reserved.
44

msvs/ReleasePackagingTool/Program.cs

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,18 @@ void BuildReleasePackage(string version)
105105
"redis-check-aof.exe",
106106
"redis-check-dump.exe",
107107
"redis-cli.exe",
108-
"redis-server.exe",
109-
"redis-server.pdb",
108+
"redis-server.exe"
109+
};
110+
List<string> symbolNames = new List<string>()
111+
{
112+
"redis-benchmark.pdb",
113+
"redis-check-aof.pdb",
114+
"redis-check-dump.pdb",
115+
"redis-cli.pdb",
116+
"redis-server.pdb"
117+
};
118+
List<string> dependencyNames = new List<string>()
119+
{
110120
"EventLog.dll"
111121
};
112122
string documentsRoot = Path.Combine(rootPath, @"msvs\setups\documentation");
@@ -125,6 +135,14 @@ void BuildReleasePackage(string version)
125135
{
126136
archive.CreateEntryFromFile(Path.Combine(executablesRoot, executableName), executableName);
127137
}
138+
foreach (string symbolName in symbolNames)
139+
{
140+
archive.CreateEntryFromFile(Path.Combine(executablesRoot, symbolName), symbolName);
141+
}
142+
foreach (string dependencyName in dependencyNames)
143+
{
144+
archive.CreateEntryFromFile(Path.Combine(executablesRoot, dependencyName), dependencyName);
145+
}
128146
foreach (string documentName in docuementNames)
129147
{
130148
archive.CreateEntryFromFile(Path.Combine(documentsRoot, documentName), documentName);

msvs/setups/chocolatey/Redis.nuspec

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,28 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>redis-64</id>
5-
<title>Redis 64</title>
6-
<version>2.8.21</version>
5+
<title>Redis 64-bit</title>
6+
<version>2.8.2101</version>
77
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
88
<owners>Microsoft Open Technologies, Inc.</owners>
9-
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
10-
<description>Redis on Windows 64-bit.</description>
9+
<description>A porting of Redis on Windows 64-bit.
10+
11+
[Redis](http://redis.io/) is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.
12+
13+
This package will install the Redis binaries in the default Chocolatey lib directory (i.e. C:\\ProgramData\\chocolatey\\lib\\redis-64).
14+
</description>
1115
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
1216
<tags>Redis nosql cache</tags>
1317
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
1418
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
1519
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16-
<iconUrl>http://redis.io/images/redis.png</iconUrl>
17-
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
20+
<iconUrl>https://cdn.rawgit.com/anonymous/5cfcb53c27ce7430d899/raw/e8d7e5f45c95314797128f535e96b16efd9d7c89/redis.svg</iconUrl>
21+
<releaseNotes>The release notes are available [here](https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md)</releaseNotes>
1822
</metadata>
1923
<files>
20-
<file src="..\signed_binaries\*.*" target=".\" />
24+
<file src="..\signed_binaries\*.exe" target=".\" />
25+
<file src="..\signed_binaries\*.pdb" target=".\" />
26+
<file src="..\signed_binaries\*.conf" target=".\" />
27+
<file src="..\signed_binaries\*.docx" target=".\" />
2128
</files>
2229
</package>

msvs/setups/chocolatey/template/Redis.nuspec.template

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,28 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>redis-64</id>
5-
<title>Redis 64</title>
5+
<title>Redis 64-bit</title>
66
<version>CurrentRedisVersion</version>
77
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
88
<owners>Microsoft Open Technologies, Inc.</owners>
9-
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
10-
<description>Redis on Windows 64-bit.</description>
9+
<description>A porting of Redis on Windows 64-bit.
10+
11+
[Redis](http://redis.io/) is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.
12+
13+
This package will install the Redis binaries in the default Chocolatey lib directory (i.e. C:\\ProgramData\\chocolatey\\lib\\redis-64).
14+
</description>
1115
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
1216
<tags>Redis nosql cache</tags>
1317
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
1418
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
1519
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16-
<iconUrl>http://redis.io/images/redis.png</iconUrl>
17-
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
20+
<iconUrl>https://cdn.rawgit.com/anonymous/5cfcb53c27ce7430d899/raw/e8d7e5f45c95314797128f535e96b16efd9d7c89/redis.svg</iconUrl>
21+
<releaseNotes>The release notes are available [here](https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md)</releaseNotes>
1822
</metadata>
1923
<files>
20-
<file src="..\signed_binaries\*.*" target=".\" />
24+
<file src="..\signed_binaries\*.exe" target=".\" />
25+
<file src="..\signed_binaries\*.pdb" target=".\" />
26+
<file src="..\signed_binaries\*.conf" target=".\" />
27+
<file src="..\signed_binaries\*.docx" target=".\" />
2128
</files>
2229
</package>

msvs/setups/nuget/Redis.nuspec

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>redis-64</id>
5-
<title>Redis-64</title>
6-
<version>2.8.21</version>
5+
<title>Redis 64-bit</title>
6+
<version>2.8.2101</version>
77
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
88
<owners>Microsoft Open Technologies, Inc.</owners>
9-
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
10-
<description>Redis on Windows 64-bit.</description>
9+
<description>A porting of Redis on Windows 64-bit.
10+
11+
[Redis](http://redis.io/) is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.
12+
13+
This package will install the Redis binaries in the default Chocolatey lib directory (i.e. C:\\ProgramData\\chocolatey\\lib\\redis-64).
14+
</description>
1115
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
1216
<tags>Redis nosql cache</tags>
1317
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
1418
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
1519
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16-
<iconUrl>http://redis.io/images/redis.png</iconUrl>
17-
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
20+
<iconUrl>https://cdn.rawgit.com/anonymous/5cfcb53c27ce7430d899/raw/e8d7e5f45c95314797128f535e96b16efd9d7c89/redis.svg</iconUrl>
21+
<releaseNotes>The release notes are available [here](https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md)</releaseNotes>
1822
</metadata>
1923
<files>
2024
<file src="..\signed_binaries\*.exe" target=".\" />

msvs/setups/nuget/template/Redis.nuspec.template

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>redis-64</id>
5-
<title>Redis-64</title>
5+
<title>Redis 64-bit</title>
66
<version>CurrentRedisVersion</version>
77
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
88
<owners>Microsoft Open Technologies, Inc.</owners>
9-
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
10-
<description>Redis on Windows 64-bit.</description>
9+
<description>A porting of Redis on Windows 64-bit.
10+
11+
[Redis](http://redis.io/) is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.
12+
13+
This package will install the Redis binaries in the default Chocolatey lib directory (i.e. C:\\ProgramData\\chocolatey\\lib\\redis-64).
14+
</description>
1115
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
1216
<tags>Redis nosql cache</tags>
1317
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
1418
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
1519
<requireLicenseAcceptance>false</requireLicenseAcceptance>
16-
<iconUrl>http://redis.io/images/redis.png</iconUrl>
17-
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
20+
<iconUrl>https://cdn.rawgit.com/anonymous/5cfcb53c27ce7430d899/raw/e8d7e5f45c95314797128f535e96b16efd9d7c89/redis.svg</iconUrl>
21+
<releaseNotes>The release notes are available [here](https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md)</releaseNotes>
1822
</metadata>
1923
<files>
2024
<file src="..\signed_binaries\*.exe" target=".\" />

0 commit comments

Comments
 (0)