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

Load/Provide hooks for licensed version #584

Closed
ferventcoder opened this issue Jan 26, 2016 · 0 comments
Closed

Load/Provide hooks for licensed version #584

ferventcoder opened this issue Jan 26, 2016 · 0 comments

Comments

@ferventcoder
Copy link
Member

No description provided.

@ferventcoder ferventcoder self-assigned this Jan 26, 2016
@ferventcoder ferventcoder added this to the 0.9.10 milestone Jan 26, 2016
@ferventcoder ferventcoder changed the title Know about licensing Load/Provide hooks for licensed version Jan 27, 2016
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
When a user has Chocolatey Pro / Chocolatey for Business, choco should
validate the license and provide information about the license in the
configuration. It should also mention the licensed type as part of the
name and version announced with choco.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
 - Add GetType (all overloads)
 - Add LoadFile
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
Allow providing the file/informational version for other loaded
assemblies and not just the currently executing assembly caller.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
When bringing in extensions like the licensed version of Chocolatey,
the loading of simple injector should allow for those extensions to
add/override implementations for types.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
If the license is found to be a licensed version, attempt to load the
assembly and register the components provided by the licensed version.
Provide helpful error messages when loading the assembly fails for some
reason.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
When a user has Chocolatey Pro / Chocolatey for Business, choco should
validate the license and provide information about the license in the
configuration. It should also mention the licensed type as part of the
name and version announced with choco.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
 - Add GetType (all overloads)
 - Add LoadFile
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
Allow providing the file/informational version for other loaded
assemblies and not just the currently executing assembly caller.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
When bringing in extensions like the licensed version of Chocolatey,
the loading of simple injector should allow for those extensions to
add/override implementations for types.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 27, 2016
If the license is found to be a licensed version, attempt to load the
assembly and register the components provided by the licensed version.
Provide helpful error messages when loading the assembly fails for some
reason.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
When a user has Chocolatey Pro / Chocolatey for Business, choco should
validate the license and provide information about the license in the
configuration. It should also mention the licensed type as part of the
name and version announced with choco.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
 - Add GetType (all overloads)
 - Add LoadFile
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
Allow providing the file/informational version for other loaded
assemblies and not just the currently executing assembly caller.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
When bringing in extensions like the licensed version of Chocolatey,
the loading of simple injector should allow for those extensions to
add/override implementations for types.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
If the license is found to be a licensed version, attempt to load the
assembly and register the components provided by the licensed version.
Provide helpful error messages when loading the assembly fails for some
reason.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
In the configuration information we don't want to be giving away email
addresses. Redact the @ and domain of the email address if found.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
If the license is valid, provide a hook for loading the posh
extensions. They will check on the license themselves and fail hard, so
it is best to provide this hook so that choco will continue to work
with only warnings if the license expires and the user hasn't done
anything.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
When a user has Chocolatey Pro / Chocolatey for Business, choco should
validate the license and provide information about the license in the
configuration. It should also mention the licensed type as part of the
name and version announced with choco.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
 - Add GetType (all overloads)
 - Add LoadFile
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
Allow providing the file/informational version for other loaded
assemblies and not just the currently executing assembly caller.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Jan 28, 2016
When bringing in extensions like the licensed version of Chocolatey,
the loading of simple injector should allow for those extensions to
add/override implementations for types.
ferventcoder added a commit that referenced this issue Jan 30, 2016
Allow providing the file/informational version for other loaded
assemblies and not just the currently executing assembly caller.
ferventcoder added a commit that referenced this issue Jan 30, 2016
When bringing in extensions like the licensed version of Chocolatey,
the loading of simple injector should allow for those extensions to
add/override implementations for types.
ferventcoder added a commit that referenced this issue Jan 30, 2016
If the license is found to be a licensed version, attempt to load the
assembly and register the components provided by the licensed version.
Provide helpful error messages when loading the assembly fails for some
reason.
ferventcoder added a commit that referenced this issue Jan 30, 2016
In the configuration information we don't want to be giving away email
addresses. Redact the @ and domain of the email address if found.
ferventcoder added a commit that referenced this issue Jan 30, 2016
If the license is valid, provide a hook for loading the posh
extensions. They will check on the license themselves and fail hard, so
it is best to provide this hook so that choco will continue to work
with only warnings if the license expires and the user hasn't done
anything.
ferventcoder added a commit that referenced this issue Jan 30, 2016
Set an environment variable when PowerShell Host is used to help
determine whether custom assemblies can be loaded or not.
ferventcoder added a commit that referenced this issue Jan 30, 2016
The information contained in the available package may have pertinent
information that the installed package does not have, such as whether
it is approved or not, or whether there is a cached download available.
Use the available package for performing the reinstall versus the
existing package. This also may fix other issues, like when a package
has been corrected while it is still under moderation and/or while a
maintainer is repeatedly testing a package.
ferventcoder added a commit that referenced this issue Jan 30, 2016
Although the file is empty, the virus check call can be overridden.
Allow for it to be called, even if it does nothing by default.
ferventcoder added a commit that referenced this issue Jan 30, 2016
Although virus checking is a pro only feature, add the configuration
hooks to allow for setting default configuration and a feature flip.
ferventcoder added a commit that referenced this issue Jan 30, 2016
* ticket/stable/pro-hooks: (25 commits)
  (GH-584) Build virus check configuration
  (GH-584) Make empty Get-VirusCheckValid call
  (GH-583) Mark command methods virtual
  (specs) Try twice to delete .chocolatey directory
  (docs) update CHANGELOG / nuspec
  (GH-535) Tags before summary in nuspec template
  (GH-479) Remove NuGet cache of package
  (GH-584) Reinstall should use available package
  (GH-590) Explicit Cache - No chocolatey subdirectory
  (GH-584) Set Env Variable for PowerShell Host
  (maint) formatting
  (GH-590) Uninstall Cleanup Cache / Delete on Force
  (GH-585) Force should allow downgrade
  (GH-584) Hook for loading licensed posh extensions
  (GH-584) License name - Redact @Domain of email
  (GH-584) Load licensed version
  (GH-584) Simple injector load component registries
  (GH-584) Get version info for other assemblies
  (GH-584) Assembly adapter enhancements
  (GH-583) unseal commands
  ...
ferventcoder added a commit that referenced this issue Jan 30, 2016
* stable: (26 commits)
  (GH-584) Build virus check configuration
  (GH-584) Make empty Get-VirusCheckValid call
  (GH-583) Mark command methods virtual
  (specs) Try twice to delete .chocolatey directory
  (docs) update CHANGELOG / nuspec
  (GH-535) Tags before summary in nuspec template
  (GH-479) Remove NuGet cache of package
  (GH-584) Reinstall should use available package
  (GH-590) Explicit Cache - No chocolatey subdirectory
  (GH-584) Set Env Variable for PowerShell Host
  (maint) formatting
  (GH-590) Uninstall Cleanup Cache / Delete on Force
  (GH-585) Force should allow downgrade
  (GH-584) Hook for loading licensed posh extensions
  (GH-584) License name - Redact @Domain of email
  (GH-584) Load licensed version
  (GH-584) Simple injector load component registries
  (GH-584) Get version info for other assemblies
  (GH-584) Assembly adapter enhancements
  (GH-583) unseal commands
  ...
ferventcoder added a commit that referenced this issue Feb 10, 2016
Add the loaded assembly to license to be used later during
bootstrapping operations for the assembly to hook into additional
points.
ferventcoder added a commit that referenced this issue Feb 10, 2016
Split up getting config file settings, setting the configuration from
those and then later saving the config file settings that have been
added.
ferventcoder added a commit that referenced this issue Feb 10, 2016
Hook in and set configuration for licensed version from the licensed
version. Remove configuration items that are for licensed only so they
can be set and adjusted appropriately and independently in the licensed
version.
ferventcoder added a commit that referenced this issue Feb 10, 2016
* stable:
  (GH-584) Licensed ConfigurationBuilder hooks
  (GH-584) split get config file from save
  (GH-584) Add assembly to license
  (GH-601) Moderation msg on push to community repo
ferventcoder added a commit that referenced this issue Feb 10, 2016
In removing the configuration values for the license from
Choco, a change was missed that doesn't allow choco to
compile in Release mode. Fix the values.
ferventcoder added a commit that referenced this issue Feb 10, 2016
* stable:
  (GH-584) fix broken release values
ferventcoder added a commit that referenced this issue Feb 12, 2016
If unable to load a licensed type, do not throw an error.
ferventcoder added a commit that referenced this issue Feb 12, 2016
If unable to load registration components or set licensed configuration,
the errors should be important warnings instead of errors.
ferventcoder added a commit that referenced this issue Feb 12, 2016
* stable:
  (GH-584) Warn on Missing/Outdated Licensed DLL
  (GH-584) Do not error if unable to load type
ferventcoder added a commit that referenced this issue Mar 7, 2016
* stable:
  (doc) Clarify enhancements get logged as issues
  (GH-584) Handle Package Result Additional Checks
  (GH-584) Rename IEvent to IMessage
ferventcoder added a commit that referenced this issue May 28, 2016
ferventcoder added a commit that referenced this issue May 28, 2016
Allow the license loading to occur in the DLL in the same way it does
in the executable.
ferventcoder added a commit that referenced this issue May 28, 2016
* stable:
  (doc) update CHANGELOG/nuspec
  (GH-753) Get-WebFileName Matches on Invalid Chars
  (doc) update CHANGELOG/nuspec
  (GH-356) Resolve sources by name
  (GH-732) Request/Response Timeout configurable
  (maint) formatting
  (GH-751) Use package name/version from env vars
  (GH-752) Combine Push timeout and execution timeout
  (GH-622) Remove NuGet temp folders
  (GH-622) Allow silent retries
  (GH-584) License loading occurs in DLL
  (GH-584) update licensing docs
  (doc) update CHANGELOG/nuspec
  (GH-733) Don't pass some args to dependencies
  (doc) update CHANGELOG/nuspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants