Giter Site home page Giter Site logo

dimmy's People

Contributors

gravypower avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dimmy's Issues

dimmy region inthe host files is repeated again and again

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
# Added by Docker Desktop
192.168.164.128 host.docker.internal
192.168.164.128 gateway.docker.internal
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal
# End of section
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
# End of DIMMY section 
# Added by DIMMY
127.0.0.1 xm1cd.localhost # Sitecore CD Host
127.0.0.1 xm1cm.localhost # Sitecore CM Host
127.0.0.1 xm1id.localhost # Sitecore ID Host
# End of DIMMY section 

Version scheme

If you want a basic versioning strategy, this is the approach I use based on GitFlow branching and SemVer 2.0.0:

  1. Merges to master build a release with version major.minor.build, where the major.minor tuple is the current stable release version (generally maintained as a branch-specific variable in your CI tool of choice), so build 3 of release 1.0 would be 1.0.3. This allows you to use merges of post-release bugfix branches back into master to auto-increment the patch number for bugfix releases.

  2. Merges into dev follow a similar pattern as master, except the build version is major.minor.0-branch.build, so pre-release builds are tagged with the non-master branch they came from. Say dev is the active development branch for my next minor release, then I set major.minor to 1.1 for dev, then build 5 of my dev branch would be 1.1.0-dev.5.

Dimmy requires Admin to install plug-ins, but throws error instead of validating access

D:>dimmy plugins install --package-id Dimmy.Sitecore.Plugin
Unhandled exception. Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: Access is denied.
at Internal.Cryptography.Pal.StorePal.FromSystemStore(String storeName, StoreLocation storeLocation, OpenFlags openFlags)
at System.Security.Cryptography.X509Certificates.X509Store.Open(OpenFlags flags)
at Dimmy.Cli.Application.Program.Main(String[] args) in C:\projects\Dimmy\src\Dimmy.Cli.Application\Program.cs:line 26
at Dimmy.Cli.Application.Program.

(String[] args)

"dimmy plugins install" not validating Nuget version correctly, or defaulting to latest version

D:>dimmy plugins install --package-id Dimmy.Sitecore.Plugin

Plugins may be built by a 3rd party, install at own risk.
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Value cannot be null or an empty string. (Parameter 'value')
at NuGet.Versioning.NuGetVersion.Parse(String value)
at Dimmy.Engine.Commands.Plugins.InstallPluginCommandHandler.Handle(InstallPlugin command) in C:\projects\Dimmy\src\Dimmy.Engine\Commands\Plugins\InstallPluginCommandHandler.cs:line 28
at Dimmy.Cli.Commands.Plugins.Plugins.b__8_0(String packageId, String packageVersion) in C:\projects\Dimmy\src\Dimmy.Cli\Commands\Plugins\Plugins.cs:line 103
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Delegate.DynamicInvoke(Object[] args)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__21_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__22_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__20_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__11_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext()

Work out isolation for windows hosts

Dimmy should be able to tell what the kernel level is for a windows container and then based on the hosts kernel select the correct isolation.

Create an official listing for plugins

Just relying on NuGet tagging to download and install plugins may be a security issue.

What would be better is to maintain a list of approved plugins and give a warning or add a flag to accept that the user is install a plugin that is not approved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.