by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Clint Priest
    @cpriest
    The library is growing so quickly it's hard to keep up with everything available, going through scoop info followed by scoop home (because there is no short description) is a bit annoying
    Richard Kuhnt
    @r15ch13
    @cpriest might be a good thing. Currently there are many manifest without a description that need to be updated before we make it a requirement.
    Richard Kuhnt
    @r15ch13
    The following command lists all manifests without a description:
    Get-ChildItem bucket\*.json | % { @{ file = $_; json = $(Get-Content $_ | ConvertFrom-Json)} } | ? { $null -eq $_.json.description } | % { $_.File.FullName }
    Clint Priest
    @cpriest
    I'd be happy to try and contribute descriptions to those that aren't fitting the requirement yet
    Mathias Hermansson
    @se35710

    Can we change the version logic when running scoop update <manifest> to always install the bucket version even if it evaluates to a "lower" version then what is currently installed?

    Reasons:

    1. Upstream rollback of version, eg downgrade because of bug or other reasons.
    2. "-" in version, for example almost all java packages (11-33 versus 11.0.2-12).
    Bruce Sun
    @athrunsun
    Hey guys, what happens if I define both jp and regex of hash in autoupdate? Will it use that regex to extract hash from the json result (extracted by that jsonpath)?
    Richard Kuhnt
    @r15ch13
    @athrunsun No jsonpath and regex don't work together for autoupdate.hash.
    Lin Kun
    @ssfjhh
    What is the checkver used for?
    If scoop need developers' PR to update app to new version?
    Richard Kuhnt
    @r15ch13
    checkver is for checking for program updates and downloading/calculating the checksum. It updates the *.json file and you can create a pull-request. (all apps in official bucket get updated automatically by https://github.com/ScoopInstaller/Excavator)
    Lin Kun
    @ssfjhh
    It's my understanding that developers don't need to creat a PR to update a APP's version. You may update them termly via this Excavator?
    Am I right?
    How offen you update the apps in offcial bucket?
    Richard Kuhnt
    @r15ch13
    The update service runs every hour. As long as the developers of an app don't change the URL or use a crazy version number (that doesn't match the checkver information of the json file) then it will get updated. The logfiles can be found here: https://scoop.r15.ch/
    Lin Kun
    @ssfjhh
    scoop is much better than I thought.
    Bruce Sun
    @athrunsun
    @r15ch13 Thanks for your reply. Does scoop reset also recreating shortcuts (.lnk) for apps?
    Richard Kuhnt
    @r15ch13
    @athrunsun yes it does
    Bruce Sun
    @athrunsun
    @r15ch13 OK, thank you very much!
    Bruno Bigras
    @bbigras
    On https://scoop.sh/, the "programs" link is broken
    Ross Smith II
    @rasa
    Fixed, thx
    Marcus Ottosson
    @mottosso

    Hi Scoop community!

    I've run through the issue section and wiki on GitHub in search for this, but have come up empty. I really enjoy how Scoop isolates installs to a single directory and isn't relying or requiring admin privileges, but I was wondering whether it's possible to change the installation path?

    E.g.

    $ scoop install python  # ends up in %userprofile%\scoop
    $ scoop install python --prefix c:\my\custom\dir  # ends up in c:\my\custom\dir

    Some approaches I've considered are:

    1. Creating a junction from c:\my\custom\dir to %userprofile%\scoop to "trick" scoop into installing elsewhere.
    2. Somehow editing the value of $scoopdir to c:\my\custom\dir

    But was hoping for something simpler. Alternative one doesn't work, for example, if the user already has apps installed there, unless I delete those first.

    The second I believe won't work consistently, since I gather apps aren't necessarily using this one variable to determine an installation path, but could also use e.g. $persist_dir
    Marcus Ottosson
    @mottosso
    I found SCOOP and SCOOP_HOME environment variables used by AppVeyor, and they seem to do the trick, somewhat. They don't appear editable post-install, as Scoop complains about directories missing, and about Scoop itself not being available in apps/ which is understandable. For now, since I'm calling this from within a script/wrapper, I'm working around it by recreating the SCOOP_HOME directory structure, including shims/scoop and apps/scoop prior to installing any apps. Not ideal, and am still interested to hear of alternatives!
    Clint Priest
    @cpriest
    I believe the SCOOP_HOME is stored ~/.scoop as well
    Marcus Ottosson
    @mottosso
    I found that I need to set both SCOOP_HOME and SCOOP for anything to happen; possibly only one of them but haven't dug deeper just yet. What is their purpose, are they meant for the end-user, or are the meant primarily for debugging?
    I haven't found docs for them, and more oddly haven't found any mention of it in any actual code, other than than the AppVeyor config https://github.com/lukesampson/scoop/search?q=scoop_home&unscoped_q=scoop_home
    Richard Kuhnt
    @r15ch13
    SCOOP_HOME is only used by the bucket scripts in bin (like checkver.ps1 and auto-pr.ps1, See: https://github.com/ScoopInstaller/Main/tree/master/bin)
    Changing the installation directory is not supported.
    Marcus Ottosson
    @mottosso
    Thanks for confirming @r15ch13, would it be interesting to officially support it?
    (Volunteering to implement)
    xeijin
    @xeijin

    Has anyone used this before?

    https://github.com/guitarrapc/ScoopPlaybook

    From what I can discern it seems to be a powershell module that uses scoop and ansible-like yaml configuration files to automate setup?
    Documentation is a bit sparse though
    xeijin
    @xeijin
    Ah nevermind, found a treasure trove of roles in here:
    https://github.com/guitarrapc/local-provisioner/tree/master/envs/windows
    Marcus Ottosson
    @mottosso
    It's looking like Discord is more active than here, will move to there for my next enquiry.
    https://discordapp.com/invite/s9yRQHt
    Bruce Sun
    @athrunsun
    Hey guys, has anyone tried installing nvm-windows with scoop? After successful installation of nvm-windows I installed latest nodejs LTS version, but when I tried to execute node.exe, powershell told me Program 'node.exe' failed to run: The specified executable is not a valid application for this OS platform.
    Raj
    @trip23app
    why is this interface more intuitive than discord? oh my god, i know how to edit my previous posts on gitter. i still don't know how to do it on discord, its been 2 months.
    Richard Kuhnt
    @r15ch13
    @trip23app press the up arrow key in discord to edit your last message. or hover over it and click on the small three dots (the same as gitter)
    kid1412621
    @kid1412621
    hey guys, is there a simple way to install oracle jdk 8?
    I've added the java bucket, and found out the oraclejdk-8 is unavailable
    Richard Kuhnt
    @r15ch13
    @kid1412621 oraclejdk is only available behind a login page since April. So it can't be installed via scoop anymore.
    Ben Moss
    @benmoss
    has anyone ever seen that scoop symlinks appear to break after sysprep?
    Ben Moss
    @benmoss
    I think installing them with --global seems to fix the issue, somehow the current directory symlink just disappears when it's in the users directory
    Timur Demin
    @tdemin
    Hi everyone! Can anyone please share their $Env:PATH contents so I can restore my scoop installation? Windows has just reset my user PATH environment variable completely after an update, and I can neither run scoop as it's not on PATH anymore, nor reinstall it from get.scoop.sh as the script says scoop is already installed. :/
    Timur Demin
    @tdemin
    found it, looks like adding %USERPROFILE%\scoop\shims is sufficient
    ChrisJ
    @chrisatx
    does scoop still use the .scoop file? this question was hard for me to find in google search :-)
    Richard Kuhnt
    @r15ch13
    @chrisatx nope, the settings file was moved to %USERPROFILE%\.config\scoop\config.json
    Brian Miller
    @bkmdev
    nice, a gitter.im channel! :+1: although it'd be nice if there was an equivalent #scoop on freenode.net too :confused: