Git Product home page Git Product logo

Comments (5)

deathaxe avatar deathaxe commented on August 15, 2024

Your private channel misses entries for available dependencies/libraries.

Default channel provides them via https://github.com/wbond/package_control_channel/blob/master/repository/dependencies.json.

I'd however not recommend to include this file directly, as without an upstream crawler, each ST instance would need to crawl github repos manually, which can take a lot of time and may be aborted due to rate limitations of Github API calls.

Entries with resolved/fixed releases using url key don't suffer this issue.

You could download https://packagecontrol.io/channel_v3.json and extract resolved links from dependencies_cache: {} or just copy the whole key to your channel.json to get a current list of releases.

from package_control.

benfrain avatar benfrain commented on August 15, 2024

ah, ok, thanks. Sorry, I'm a little confused just by the last sentence. Are you saying, I can just grab the dependencies_cache section from channel_v3.json that begins...

"dependencies_cache": {"https://packagecontrol.io/repository.json": [{"name": "arrow", "load_order": "01", "authors": ["douglas-vaz"], "description": "Python arrow module - https://github.com/crsmithdev/arrow", "issues": "https://github.com/douglas-vaz/arrow/issues", "releases": [{"platforms": ["*"], "sublime_text": "*", "version": "0.0.2", "url": "https://codeload.github.com/douglas-vaz/arrow/zip/v0.0.2"}]}, {"name": "backports_lzma", "load_order": "50", "authors": ["dvhh"], "description": "lzma modules for sublime text 2 and 3", "issues": "https://github.com/dvhh/sublime-backports.lzma/issues", "releases": [{"platforms": ["windows"], "sublime_text": "*", "version": "1.0.0", "url": "https://codeload.github.com/dvhh/sublime-backports.lzma/zip/1.0.0"}]}, {"name": "backrefs", "load_order": "50", "authors": ["facelessuser"], "description": "Backrefs regular expression wrapper.", "issues": "https://github.com/facelessuser/sublime-backrefs/issues", "releases": [{"platforms": ["*"], "sublime_text": ">=3000", "version": "1.9.0", "url": "https://codeload.github.com/facelessuser/sublime-backrefs/zip/1.9.0"}]}, {"name": "better_settings", "load_order": "01", "authors": ["KuttKatrea"], "description": "Easily implement OS, Host and OS/Host-level settings aside the normal user-level settings for any plugin.", "issues": "https://github.com/KuttKatrea/sublime-better-settings/issues", "releases": [{"platforms": ["*"], "sublime_text": ">=3000", "version": "1.0.0", "url": "https://codeload.github.com/KuttKatrea/sublime-better-settings/zip/1.0.0"}]}, {"name": "boto3", "load_order": "02", "authors": ["revmischa"], "description": "Python boto3 module for Amazon Web Services", "issues": "https://github.com/revmischa/sublime-boto3/issues", "releases": [{"platforms": ["*"], "sublime_text": "*", "version": "2.0.0", "url": "https://codeload.github.com/revmischa/sublime-boto3/zip/v2.0.0"}]}, {"name": "bracex", "load_order": "50", "authors": ["facelessuser"], "description": "Bracex creates arbitrary strings via brace expansion much like Bash's.", "issues": "https://github.com/facelessuser/sublime-bracex/issues", "releases": [{"platforms": ["*"], "sublime_text": ">=3000", "version": "2.1.1", "url": "https://codeload.github.com/facelessuser/sublime-bracex/zip/2.1.1"}]},

And paste that into my channel.json file?

from package_control.

deathaxe avatar deathaxe commented on August 15, 2024

Yes, that's what I was saying.

packagecontrol.io graps repositories from "package_control_channel", crawls code hosters for latest releases and fills the result to those packages_cache and dependencies_cache entries, so Package Control client doesn't need to reach out to those code hosters to get the latest release information.

from package_control.

benfrain avatar benfrain commented on August 15, 2024

Thanks @deathaxe that fixed that issue, I just had to change the https://packagecontrol.io/repository.json in the first section to the URL of our own repository.json file.

No more errors in the console. Only problem now is that it doesn't list the available packages when I do the install packages... command.

Could that possibly be related? Was I wrong to do that?

from package_control.

deathaxe avatar deathaxe commented on August 15, 2024

Hard to say without the json files. If the structure looks like that from official channel, packages should be listed. No packages being found indicates no valid release being resolved. Maybe a typo or missing key?

from package_control.

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.