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

Scoop makes infinity recursive folder on installing app with folder persisting #2535

Closed
tetradice opened this issue Aug 26, 2018 · 4 comments
Labels

Comments

@tetradice
Copy link

Scoop makes infinity recursive folder on installing app with folder persisting.

It occurs with the following procedure. (using cmd.exe)

> cd %USERPROFILE%\scoop\apps\scoop\current\bucket

> scoop -v
Current Scoop version:
4d418ace (HEAD -> master) octave: change bin to octave.bat (closes #2534) 
( ... )

> scoop install cmder.json
Installing 'cmder' (1.3.6) [32bit]
Loading cmder_mini.zip from cache
Checking hash of cmder_mini.zip ... ok.
Extracting cmder_mini.zip ... done.
Linking ~\scoop\apps\cmder\current => ~\scoop\apps\cmder\1.3.6
Creating shim for 'Cmder'.
Creating shortcut for Cmder (Cmder.exe)
Persisting config
'cmder' (1.3.6) was installed successfully!

> tree /a %USERPROFILE%\scoop\apps\cmder\current
( ... )
C:\USERS\USER1\SCOOP\APPS\CMDER\CURRENT
+---bin
+---config
+---icons
\---vendor
    +---clink
    +---clink-completions
    |   +---.vscode
    |   +---modules
    |   \---spec
    +---conemu-maximus5
    |   +---ConEmu
    |   |   +---Addons
    |   |   +---clink
    |   |   +---DosBox
    |   |   +---Far1_reg
    |   |   +---Far2_fml
    |   |   +---Far2_reg
    |   |   +---Far3_fml
    |   |   +---Far3_lua
    |   |   +---Scripts
    |   |   \---wsl
    |   \---plugins
    |       \---ConEmu
    |           +---Background
    |           |   \---img
    |           +---Lines
    |           \---Thumbs
    +---lib
    \---psmodules
        \---PsGet

> scoop install cmder.json
Installing 'cmder' (1.3.6) [32bit]
Loading cmder_mini.zip from cache
Checking hash of cmder_mini.zip ... ok.
Extracting cmder_mini.zip ... done.
Linking ~\scoop\apps\cmder\current => ~\scoop\apps\cmder\1.3.6
Creating shim for 'Cmder'.
Creating shortcut for Cmder (Cmder.exe)
Persisting config
'cmder' (1.3.6) was installed successfully!

> tree /a %USERPROFILE%\scoop\apps\cmder\current
(..)
C:\USERS\USER1\SCOOP\APPS\CMDER\CURRENT
+---bin
+---config
|   \---config
|       \---config
|           \---config
|               \---config
|                   \---config
|                       \---config
|                           \---config
|                               \---config
|                                   \---config
|                                       \---config
|                                           \---config
|                                               \---config
|                                                   \---config
|                                                       \---config
|                                                           \---config
|                                                               \---config
|                                                                   \---config
|                                                                       \---config
|                                                                           \---config
|                                                                               \---config
|                                                                                   \---config
|                                                                                       \---config
|                                                                                           \---config
|                                                                                               \---config
|                                                                                                   \---config
|                                                                                                       \---config
|                                                                                                           \---config
|                                                                                                               \---config
|                                                                                                                   \---config
|                                                                                                                       \---config
+---icons
\---vendor
    +---clink
    +---clink-completions
    |   +---.vscode
    |   +---modules
    |   \---spec
    +---conemu-maximus5
    |   +---ConEmu
    |   |   +---Addons
    |   |   +---clink
    |   |   +---DosBox
    |   |   +---Far1_reg
    |   |   +---Far2_fml
    |   |   +---Far2_reg
    |   |   +---Far3_fml
    |   |   +---Far3_lua
    |   |   +---Scripts
    |   |   \---wsl
    |   \---plugins
    |       \---ConEmu
    |           +---Background
    |           |   \---img
    |           +---Lines
    |           \---Thumbs
    +---lib
    \---psmodules
        \---PsGet

@r15ch13
Copy link
Member

r15ch13 commented Aug 26, 2018

Yes, this happens by running scoop install on a JSON file multiple times.
It should check if the program is installed like it would normally.

@Ash258
Copy link
Contributor

Ash258 commented Feb 1, 2019

@h404bi Is this still relevant after #2897? I haven't seen it for a while on vscode-insiders-portable

@tetradice
Copy link
Author

This problem is no longer occurring in the latest version.
Thank you, @r15ch13, @h404bi and @Ash258.

@tetradice
Copy link
Author

@Ash258 I am sorry that I noticed and I am late for closing.

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

No branches or pull requests

3 participants