Skip to content

Commit

Permalink
Merge code for v3 of the library. Complete object model for update me…
Browse files Browse the repository at this point in the history
…tadata, simplified interfaces for manipulating updates via code, unified server and client sync code base.
  • Loading branch information
Almost-Done committed May 7, 2022
1 parent aed8770 commit 2346245
Show file tree
Hide file tree
Showing 394 changed files with 71,590 additions and 37,363 deletions.
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,27 @@ Use this library to
* sync updates locally and run advanced queries on update metadata
* export updates to WSUS
* run an upstream update server in ASP.NET Core and serve updates to downstream WSUS servers
* run an update server in ASP.NET Core and serve updates Windows Update clients

## Reference the library in your project

The easiest way is to use the published NuGet package. In your .NET Core project, add a reference to the [UpdateServices.ServerServerSync NuGet package](https://www.nuget.org/packages/UpdateServices.ServerServerSync). Make sure to check "Include prerelease" if searching for the NuGet package in Visual Studio.

Alternatively, you can compile the code yourself. Visual Studio 2017 with .Net Core development tools is required to build the solution provided at build\server-server-update-sync.sln
Visual Studio 2022 with .Net Core development tools is required to build the solution provided at build\microsoft-update.sln

## Use the library

Please refer to the [API documentation](https://microsoft.github.io/update-server-server-sync/) for help on using the library.

[Get started with the updates sync client](https://microsoft.github.io/update-server-server-sync/api/index.html#the-upstreamserverclient)

[Get started with the updates sync server](https://microsoft.github.io/update-server-server-sync/api/index.html#the-upsteam-server)

[Code Examples](https://microsoft.github.io/update-server-server-sync/examples/repository_basic.html)
[Code samples](https://microsoft.github.io/update-server-server-sync/examples/categories-fetch.html)


## Use the upsync utility
The upsync command line utility is provided as a sample for using the library. Upsync can be used to browse Microsoft's update catalog, sync updates and export updates to a WSUS server.
The upsync command line utility is provided as a sample for using the library. Upsync can be used to browse Microsoft's update catalog, sync updates locally and serve them to Windows Update clients or downstream WSUS servers.

You can build upsync in Visual Studio; it builds from the same solution as the library.

Or download and unzip upsync from [https://github.com/microsoft/update-server-server-sync/releases](https://github.com/microsoft/update-server-server-sync/releases)

See [upsync command line options reference](https://github.com/microsoft/update-server-server-sync/wiki/UpSync-command-line-options)

See [upsync examples](https://github.com/microsoft/update-server-server-sync/wiki/UpSync-examples)
See [upsync examples](https://github.com/microsoft/update-server-server-sync/wiki/UpSync-V3-examples)

# Contributing

Expand Down
63 changes: 63 additions & 0 deletions build/microsoft-update.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32407.343
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "microsoft-update-webservices", "..\src\microsoft-update-webservices\microsoft-update-webservices.csproj", "{2EAB4CD8-F7A3-49AD-BDA5-21D6BE865F87}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "microsoft-update-partition", "..\src\microsoft-update-partition\microsoft-update-partition.csproj", "{26164B0B-3846-486E-B34B-9D42C37EDD7C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{B4EFD073-F7F4-4244-AFA4-AD657210C6F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "microsoft-update-upstream-source", "..\src\microsoft-update-upstream-package-source\microsoft-update-upstream-source.csproj", "{08E170D5-CA40-4424-A52D-507B9B1DFD49}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "upsync", "..\src\tools\upsync\upsync.csproj", "{59C7C615-93BA-4A7E-B6BF-6229038BF8E9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "microsoft-update-endpoints", "..\src\microsoft-update-endpoints\microsoft-update-endpoints.csproj", "{810F82B7-52B3-4C7C-B55D-A6CD7FFE9A93}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{5E685E55-C5CF-4BE3-A02E-60FCD40157FB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "samples", "..\src\samples\samples.csproj", "{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2EAB4CD8-F7A3-49AD-BDA5-21D6BE865F87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2EAB4CD8-F7A3-49AD-BDA5-21D6BE865F87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2EAB4CD8-F7A3-49AD-BDA5-21D6BE865F87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2EAB4CD8-F7A3-49AD-BDA5-21D6BE865F87}.Release|Any CPU.Build.0 = Release|Any CPU
{26164B0B-3846-486E-B34B-9D42C37EDD7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{26164B0B-3846-486E-B34B-9D42C37EDD7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{26164B0B-3846-486E-B34B-9D42C37EDD7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{26164B0B-3846-486E-B34B-9D42C37EDD7C}.Release|Any CPU.Build.0 = Release|Any CPU
{08E170D5-CA40-4424-A52D-507B9B1DFD49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08E170D5-CA40-4424-A52D-507B9B1DFD49}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08E170D5-CA40-4424-A52D-507B9B1DFD49}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08E170D5-CA40-4424-A52D-507B9B1DFD49}.Release|Any CPU.Build.0 = Release|Any CPU
{59C7C615-93BA-4A7E-B6BF-6229038BF8E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59C7C615-93BA-4A7E-B6BF-6229038BF8E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59C7C615-93BA-4A7E-B6BF-6229038BF8E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{59C7C615-93BA-4A7E-B6BF-6229038BF8E9}.Release|Any CPU.Build.0 = Release|Any CPU
{810F82B7-52B3-4C7C-B55D-A6CD7FFE9A93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{810F82B7-52B3-4C7C-B55D-A6CD7FFE9A93}.Debug|Any CPU.Build.0 = Debug|Any CPU
{810F82B7-52B3-4C7C-B55D-A6CD7FFE9A93}.Release|Any CPU.ActiveCfg = Release|Any CPU
{810F82B7-52B3-4C7C-B55D-A6CD7FFE9A93}.Release|Any CPU.Build.0 = Release|Any CPU
{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{59C7C615-93BA-4A7E-B6BF-6229038BF8E9} = {B4EFD073-F7F4-4244-AFA4-AD657210C6F9}
{0C5ADBF8-A1AA-45C8-9350-C8CE56C08DB6} = {5E685E55-C5CF-4BE3-A02E-60FCD40157FB}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D561B82A-12B3-4BA3-A3AF-EF0C0331D00F}
EndGlobalSection
EndGlobal
37 changes: 0 additions & 37 deletions build/server-server-sync.sln

This file was deleted.

128 changes: 0 additions & 128 deletions docfx/api/index.md

This file was deleted.

38 changes: 0 additions & 38 deletions docfx/examples/incremental-fetch.md

This file was deleted.

25 changes: 0 additions & 25 deletions docfx/examples/metadata_basic.md

This file was deleted.

16 changes: 0 additions & 16 deletions docfx/examples/metadata_query.md

This file was deleted.

18 changes: 0 additions & 18 deletions docfx/examples/repository_export.md

This file was deleted.

11 changes: 0 additions & 11 deletions docfx/examples/toc.yml

This file was deleted.

Loading

0 comments on commit 2346245

Please sign in to comment.