Code Monkey home page Code Monkey logo

openwrap-shell's Introduction

OpenWrap

OpenwWrap is a pacakge manager for .net.

To get started, read the QuickStart or go to the Homepage.

openwrap-shell's People

Contributors

caveman-dick avatar serialseb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrap-shell's Issues

initialize removed wraps folder for solution

In CI case I do not want to commit all wraps folder to the version control.
It would be nice to make an o.exe to be able to download all necessary files to wraps folder again
This could be done as a step in CI build as well

o -shellinstall no longer recognised after upgrade to v2.x ?

(from @petermounce)

OpenWrap Shell 2.0.0.10

Copyright c naughtyProd Limited 2009-2011

Using C:\Users\peter.mounce\AppData\Local\openwrap\wraps_cache\OpenWrap-2.0.2.97970098\bin-net35\OpenWrap.dll (2.0.0.1)

The term '-shellInstall' is not a recognized command or alias. Check the spelling or enter 'get-help' to get a list of available commands.

See https://gist.github.com/1723563 for full output

Command not found after OpenWrap.Console.sln fresh install

After running running the OpenWrap.Console.sln solution and chosing the "i" switch, the console output finished with "Command Not Found" which was misleading.

The o.exe was installed into the correct place and the PATH environment variable was set so it did install correctly.

Obviously the PATH change was not picked up until reboot, maybe a message stating so might be an idea.

does not properly initialize on Win 2008 R2

[This is only on Win Server 2008 R2, Win 7 works OK]

After installation/upgrade of o.exe (1.1.x), invoking o.exe continually fails with the following output:

Downloading http://wraps.openwrap.org/index.wraplist [.................]
Downloading http://wraps.openwrap.org/openfilesystem-1.0.0.61263243.wrap [................]
Downloading http://wraps.openwrap.org/openwrap-1.0.0.53270092.wrap [................]
Downloading http://wraps.openwrap.org/sharpziplib-0.85.5.452.wrap [...................]
Downloading http://wraps.openwrap.org/tdnet-framework-2.0.0.48555719.wrap [....................]

OpenWrap Shell could not start.

Could not find OpenWrap assemblies in either current project or system repository.
System.EntryPointNotFoundException: Could not find OpenWrap assemblies in either current project or system repository.
at OpenWrap.BootstrapRunner.Run(String[] args)

Respect dependency versions

The current process always takes the last available package with the correct name. A small dependency resolver ought to be implemented to try and respect version ranges (min/max and = only)

What to do with wraps.openwrap.org not accessible.

Scenario:

  • first time install of OpenWrap using o.exe on Windows 7 x64 workstation.
  • copied o.exe to local disk
  • ran o.exe
  • after "Downloading http://wraps.openwrap.org/bootstrap" the app threw unhandled exception (below).

Suggested fix:

  • would have expected not found exception to be handled gracefully (in this case the server not yet in existence) or if network not available

System.Reflection.TargetInvocationException was unhandled
Message=An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
Source=System
StackTrace:
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at System.Net.DownloadStringCompletedEventArgs.get_Result()
at OpenWrap.Console.BootstrapRunner.NotifyProgressWebClient.DownloadStringCompleted(Object src, DownloadStringCompletedEventArgs e)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
InnerException: System.Net.WebException
Message=The remote name could not be resolved: 'wraps.openwrap.org'
Source=System
StackTrace:
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
InnerException:

build-wrap error: duplicate AssemblyXXX attributes

"build-wrap" from master gives error: duplicate attributes:

  • AssemblyCompany
  • AssemblyCopyright
  • AssemblyTrademark
  • AssemblyVersion
  • AssemblyFileVersion

Still have to cleanup the AssemblyInfo files after having those generated?

Running from bash inside of cygwin mintty fails when reading input from console

  • Download o.exe
  • Open bash shell (inside cygwin's mintty)
  • Run ./o.exe
  • Observe exception

I guess a non-Windows shell is a fairly rare use-case...?

~/profile/Downloads
$ ./o.exe i
The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
OpenWrap bootstrapping failed.
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
   at System.Console.ReadKey(Boolean intercept)
   at System.Console.ReadKey()
   at OpenWrap.ConsoleNotifier.InstallOptions()
   at OpenWrap.BootstrapRunner.InstallFreshVersion()
   at OpenWrap.BootstrapRunner.Run(String[] args)

Running from bash inside of cygwin mintty fails when reading input from console

  • Download o.exe
  • Open bash shell (inside cygwin's mintty)
  • Run ./o.exe
  • Observe exception

I guess a non-Windows shell is a fairly rare use-case...?

~/profile/Downloads
$ ./o.exe i
The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
OpenWrap bootstrapping failed.
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
   at System.Console.ReadKey(Boolean intercept)
   at System.Console.ReadKey()
   at OpenWrap.ConsoleNotifier.InstallOptions()
   at OpenWrap.BootstrapRunner.InstallFreshVersion()
   at OpenWrap.BootstrapRunner.Run(String[] args)

Ask users for username and password if download fails

Two type of passwords may be needed by the shell. The first is the proxy password in case of BASIC/DIGEST kind of proxy, the second is the proxy to access the actual server (in case that server requires authetnication).

Right now -ProxyUsername and -ProxyPassword covers the first scneario, we don't cover the second one, and the shell should be made interactive so we query the user rather than error out.

OpenWrap Shell could not start after upgrading to 1.1

I also tried a fresh install, I get the same error.

The OpenWrap shell is not installed on this machine. Do you want to:
(i) install the shell and make it available on the path?
(c) use the current executable location and make it available on the path?
(n) do nothing?
i
Installing the shell to 'C:\Users\cconstantin\AppData\Local\openwrap'.
Downloading http://wraps.openwrap.org/index.wraplist [..........]
Downloading http://wraps.openwrap.org/openfilesystem-1.0.0.61263243.wrap [......
....]
Downloading http://wraps.openwrap.org/openwrap-1.0.0.53270092.wrap [............
]
.Downloading http://wraps.openwrap.org/sharpziplib-0.85.5.452.wrap [..........]
.Downloading http://wraps.openwrap.org/tdnet-framework-2.0.0.48555719.wrap [....
......]
..........# OpenWrap Shell could not start.

Could not find OpenWrap assemblies in either current project or system repositor
y.
System.EntryPointNotFoundException: Could not find OpenWrap assemblies in either
current project or system repository.
at OpenWrap.BootstrapRunner.Run(String[] args)

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.