Giter Site home page Giter Site logo

`aws-gate bootstrap` is broken about aws-gate HOT 3 CLOSED

xen0l avatar xen0l commented on May 18, 2024 1
`aws-gate bootstrap` is broken

from aws-gate.

Comments (3)

xen0l avatar xen0l commented on May 18, 2024

Hi @alanjds ,

this is weird because the folder creation is contained here: https://github.com/xen0l/aws-gate/blob/master/aws_gate/bootstrap.py#L69-L71, so the folder should get created in the case it does not exist. Could you tell me how can I reproduce the issue? If you set GATE_DEBUG environment variable to something, it will provide more verbose output. Pasting that would be also helpful.

Only problem I found was the broken output (version being printed on different line and (Version None) in the subsequent line) from https://github.com/xen0l/aws-gate/blob/master/aws_gate/bootstrap.py#L18, where capture_output=True is missing, which I will add in the upcoming days alongside with a test to avoid this in the future.

As far as own version of plugin is concerned, the idea is that aws-gate will try to always use local copy if available (done via putting ~/.aws-gate/bin into the PATH at https://github.com/xen0l/aws-gate/blob/master/aws_gate/utils.py#L94). All the places are calling session-manager-plugin. If there is a call with a full path, it's certainly a bug and not intended behaviour. The reason why I implemented bootstrap was to have a simple install/update mechanism of the plugin (however, I am not very happy as there is no way to verify the checksum of the plugin as it is not published anywhere). I certainly intend to keep support for running non-aws-gate copies of the plugin for the foreseeable future.

from aws-gate.

virgilwashere avatar virgilwashere commented on May 18, 2024

This is broken for me too on Ubuntu.

I will try and provide at least a bash version of a suitable Ubuntu bootstrap for you to use...my python-fu < bash-fu

from aws-gate.

xen0l avatar xen0l commented on May 18, 2024

@virgilwashere bootstrap is supported only on mac os. I plan Linux support in the future.

from aws-gate.

Related Issues (20)

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.