Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring in Chocolatey patchset. #8

Merged
merged 13 commits into from Nov 21, 2022
Merged

Bring in Chocolatey patchset. #8

merged 13 commits into from Nov 21, 2022

Commits on Nov 21, 2022

  1. Add actions workflow to build

    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    0cdec33 View commit details
    Browse the repository at this point in the history
  2. Change package IDs

    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    a5702c1 View commit details
    Browse the repository at this point in the history
  3. Add package information fields

    Extend Nuspec metadata to include:
    
    - Project source url
    - Package source url
    - Docs url
    - Wiki Url
    - Mailing List Url
    - Bug Tracker Url
    
    Adding the following elements, reserving for future use with respect to
    package relationships.
    - Replaces
    - Provides
    - Conflicts
    
    This brings forward these commits:
    chocolatey/nuget-chocolatey@9b703a8
    chocolatey/nuget-chocolatey@4e28997
    chocolatey/nuget-chocolatey@b9c4bc5
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    2 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    ec6c1d6 View commit details
    Browse the repository at this point in the history
  4. Provide server related information

    Along with moderation related information, provide other data that is
    provided by the server metadata.
    
    - PackageHash
    - PackageHashAlgorithm
    - PackageSize
    - VersionDownloadCount
    - IsApproved
    - PackageStatus
    - PackageSubmittedStatus
    - PackageTestResultStatus
    - PackageTestResultStatusDate
    - PackageValidationResultStatus
    - PackageValidationResultDate
    - PackageCleanupResultDate
    - PackageReviewedDate
    - PackageApprovedDate
    - PackageReviewer
    - IsDownloadCacheAvailable
    - DownloadCacheDate
    - DownloadCache
    
    Based on these commits:
    chocolatey/nuget-chocolatey@3866411
    chocolatey/nuget-chocolatey@133552a
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    2 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    b95619a View commit details
    Browse the repository at this point in the history
  5. Allow explicit proxy override

    Allow passing a specific proxy into the proxy cache that is used no
    matter what.
    
    Based on these commits:
    chocolatey/nuget-chocolatey@4b206ed
    chocolatey/nuget-chocolatey@26559a4
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    Co-Authored-By: Jakub Cisło <8983541+Cubix651@users.noreply.github.com>
    3 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    c5fc4b2 View commit details
    Browse the repository at this point in the history
  6. Expose NuspecReader and PackagePath

    Exposing these allows more efficient direct usage.
    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    fd74126 View commit details
    Browse the repository at this point in the history
  7. Prevent creation of empty NuGet.Config file

    As Chocolatey, we never want to create the NuGet.Config file, as this is
    not used by Chocolatey at all. As such, rather than GetOrCreateDocument,
    if the filepath doesn't exist, simply return the default empty
    XDocument, which is exactly what would have been returned after creating
    the file.
    
    A few tests have to be skipped, as they rely on the config being
    automatically created.
    
    Based on this commit:
    chocolatey/nuget-chocolatey@a211f19
    
    Co-Authored-By: Gary Ewan Park <1271146+gep13@users.noreply.github.com>
    TheCakeIsNaOH and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    e811008 View commit details
    Browse the repository at this point in the history
  8. Fix path separator in nuspec file element

    Converts the path separator character in the nuspec file source to the
    character that is correct for the OS that is running the packing
    operation. Changes "\" to "/" on Linux and MacOS systems, and
    changes "/" to "\" on Windows systems.
    
    Keeps chocolatey/choco#2166 fixed
    
    Based on this commit:
    chocolatey/nuget-chocolatey@979a47d
    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    b9e704e View commit details
    Browse the repository at this point in the history
  9. Switch to Chocolatey strongname key

    This adds the Chocolatey strongname keypair used for nuget-chocolatey and
    switches the sign.target to use it. This requires that the InternalsVisibleTo properties
    be updated with the new public key.
    
    Keyfile from:
    chocolatey/nuget-chocolatey@7e8d686
    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    9c6c81a View commit details
    Browse the repository at this point in the history
  10. Remove empty entries from string list

    This strips empty entries from a string with multiple entries split
    by a separator.
    
    Brought forward from:
    chocolatey/nuget-chocolatey@d344d47
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    2 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    e649df7 View commit details
    Browse the repository at this point in the history
  11. Add IHttpSource and allow overriding of HttpSource

    This pulls an interface out of HttpSource called IHttpSource, and
    switches usages to use the interface. Additionally, it adds a method
    to HttpSourceResource to allow the IHttpSource to be switched out if
    needed, so alternative implementations can be used.
    
    Based on these commits:
    chocolatey/nuget-chocolatey@19986e7
    chocolatey/nuget-chocolatey@ee5f731e
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    2 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    6e726da View commit details
    Browse the repository at this point in the history
  12. Add overload to FolderNuGetProject.DeletePackage to allow not deletin…

    …g directory
    
    This allows added files to be not deleted during package upgrades.
    TheCakeIsNaOH authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    d5e137c View commit details
    Browse the repository at this point in the history
  13. Set version for ILMerge to 6.4.1-zlocal.1

    If you don't set it specifically, after ILMerge the NuGet libraries
    will show up as having Chocolatey's version. This affects the user
    agent, and other uses of the library version.
    
    Brought forward from this commit:
    chocolatey/nuget-chocolatey@2a0aa36
    
    Co-Authored-By: Rob Reynolds <63502+ferventcoder@users.noreply.github.com>
    2 people authored and gep13 committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    29574dc View commit details
    Browse the repository at this point in the history