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

WindowsRegistry: Expose other root registry keys to Cake scripts (e.g. HKEY_CURRENT_USER) #3024

Closed
augustoproiete opened this issue Jan 6, 2021 · 1 comment · Fixed by #3047
Assignees
Milestone

Comments

@augustoproiete
Copy link
Member

Originally reported by @bravecobra in the Cake Gitter chat.

What You Are Seeing?

The IRegistry interface exposes access to the LocalMachine key, but not to the other root keys.

WindowsRegistryKey is internal thus users can't use it to quickly get an IRegistry instance.

What is Expected?

IRegistry should expose access to the other standard root registry keys:

  • IRegistry.CurrentUser
  • IRegistry.ClassesRoot
  • IRegistry.Users
  • IRegistry.PerformanceData
  • IRegistry.CurrentConfig

What version of Cake are you using?

1.0.0-rc0002

Are you running on a 32 or 64 bit system?

N/A

What environment are you running on? Windows? Linux? Mac?

Windows

Are you running on a CI Server? If so, which one?

N/A

How Did You Get This To Happen? (Steps to Reproduce)

See above.

@augustoproiete augustoproiete added this to the v1.x Next milestone Jan 11, 2021
@augustoproiete augustoproiete self-assigned this Jan 23, 2021
augustoproiete added a commit to augustoproiete-forks/cake-build--cake that referenced this issue Jan 23, 2021
patriksvensson added a commit that referenced this issue Jan 23, 2021
…egistry-keys-to-cake-scripts

(GH-3024) Expose remaining root registry keys to Cake scripts
@devlead devlead modified the milestones: v1.x Next, v1.1.0 Feb 13, 2021
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v1.1.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants