Andr3as / Codiad-CodeGit

Git integration for Codiad
MIT License
26 stars 15 forks source link

When I am trying to push: "Please install expect!" #22

Closed vitaly-zdanevich closed 7 years ago

vitaly-zdanevich commented 9 years ago

What is mean this error?

Andr3as commented 9 years ago

CodeGit requires Expect to handle the login process during a push. Details. Currently it's not possible to handle this with pure php.

u1735067 commented 8 years ago

While it is not possible to handle this with php, could you consider an alternative of expect that is not requiring tons of dependencies, eg. https://en.wikipedia.org/wiki/Expect#/Alternatives ?

% sudo apt-get install expect
The following extra packages will be installed:
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelf1 libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm3.5 libpciaccess0 libsm6 libtcl8.6 libtk8.6
  libtxc-dxtn-s2tc0 libutempter0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxft2 libxmu6 libxshmfence1 libxss1 libxt6 libxtst6 libxv1
  libxxf86dga1 libxxf86vm1 tcl-expect tcl8.6 tk8.6 x11-common x11-utils xbitmaps xterm
The following NEW packages will be installed:
  expect libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libelf1 libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libice6 libllvm3.5 libpciaccess0 libsm6 libtcl8.6 libtk8.6
  libtxc-dxtn-s2tc0 libutempter0 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxft2 libxmu6 libxshmfence1 libxss1 libxt6 libxtst6 libxv1
  libxxf86dga1 libxxf86vm1 tcl-expect tcl8.6 tk8.6 x11-common x11-utils xbitmaps xterm
0 upgraded, 42 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.0 MB of archives.
After this operation, 59.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] n

Especially, graphic stuffs are not really necessary (can expect be compiled without them ?).

Edit: maybe offering alternative in several languages, like in http://empty.sourceforge.net/ ?

Andr3as commented 8 years ago

More languages will follow. Empty makes currently some problems.

Andr3as commented 8 years ago

Python handler added e83f1d0

Andr3as commented 7 years ago

Please reopen if required