Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Orchestrator extracts license file to flatcontainer #687

Merged
merged 15 commits into from
Dec 6, 2018
Merged

Conversation

agr
Copy link
Contributor

@agr agr commented Nov 29, 2018

Progress on NuGet/NuGetGallery#6533.

On successful validation, license file (if exists) is extracted from the package and saved to flat container. Extraction and saving code taken from NuGetGallery.Core (see NuGet/NuGetGallery#6674).

EntityStatusProcessor<T> was moved to proper file, made abstract and extended with protected methods OnBeforeUpdateDatabaseToMakePackageAvailable and OnCleanupAfterDatabaseUpdateFailure.
PackageStatusProcessor was added descending from EntityStatusProcessor<Package> overriding new methods.

@skofman1
Copy link
Contributor

Can we avoid downloading the package? This will have a significant negative impact on perf.

@agr agr merged commit 15d62a1 into dev Dec 6, 2018
@agr agr deleted the agr-extract-lf branch December 6, 2018 21:24
zhhyu added a commit that referenced this pull request Dec 11, 2018
Orchestrator extracts license file to flatcontainer (#687)
joelverhagen pushed a commit that referenced this pull request Oct 26, 2020
* Added PackageStatusProcessor for package-specific code.
* Added optional OnBeforeUpdateDatabaseToMakePackageAvailable to EntityStatusProcessor.
* Added telemetry for license file operations.
* ServerCommon version upgrade.
joelverhagen pushed a commit that referenced this pull request Oct 26, 2020
Orchestrator extracts license file to flatcontainer (#687)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants