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

[Bug] scoop does not recognize updates #4669

Closed
Metal-Frog opened this issue Jan 17, 2022 · 8 comments
Closed

[Bug] scoop does not recognize updates #4669

Metal-Frog opened this issue Jan 17, 2022 · 8 comments
Labels

Comments

@Metal-Frog
Copy link

Metal-Frog commented Jan 17, 2022

Bug Report

Current Behavior

I've been trying this for days now. I couldn't manage to let scoop know that an app has an update.
Here are the steps I did exactly:

  1. Created a bucket with the provided template
  2. Created a manifest (version 1.0)
  3. Added the bucket to scoop
  4. Installed app
  5. Updated manifest file to version 1.1
  6. git commit
  7. scoop status => no updates
  8. scoop update myapp => Latest versions for all apps are installed ...

Expected Behavior

scoop must recognize the provided app update

System details

Windows version: 10

OS architecture: 64bit

PowerShell version: 5.1.19041.1320

Scoop Configuration

{
    "lastupdate":  "2022-01-17T08:50:30.1227428+01:00",
    "alias":  {

              },
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}
@Metal-Frog Metal-Frog added the bug label Jan 17, 2022
@HUMORCE
Copy link
Member

HUMORCE commented Jan 17, 2022

manifests in SCOOP\buckets\* updated properly?

@Metal-Frog
Copy link
Author

Unfortunately not!

@rashil2000
Copy link
Member

  1. Created a bucket with the provided template
  2. Created a manifest (version 1.0)
  3. Added the bucket to scoop
  4. Installed app
  5. Updated manifest file to version 1.1
  6. git commit
  7. scoop status => no updates
  8. scoop update myapp => Latest versions for all apps are installed ...

You forgot to git push!

As an alternative, you can trying changing the manifest directly on GitHub. Then Scoop will pull the commit.

@Metal-Frog
Copy link
Author

No, I've changed the file directly on GitHub - so no push ...

@rashil2000
Copy link
Member

What is the output of scoop --version?

Is your bucket private or public?

@Metal-Frog
Copy link
Author

Current Scoop version:
5602083 (HEAD -> master, tag: 2021-12-26, origin/master, origin/HEAD) fix(schema): Add 'license' definition (#4596)

'test' bucket:
d5d3a23 (HEAD -> master, origin/master, origin/HEAD) Update hello2.json

And it is private.

@rashil2000
Copy link
Member

And it is private.

Well, it's not supported yet.

This is being tracked here - #4243

And there's a PR here - #4254

@HUMORCE
Copy link
Member

HUMORCE commented Jan 18, 2022

example for add gh private bucket:
make sure: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh

scoop bucket add <bucket> git@github.com:USERNAME/BUCKET.git
OR
cd <YOUR_BUCKET>
git remote set-url origin git@github.com:USERNAME/BUCKET.git

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