Coder Social home page Coder Social logo

bracketsextensiongrabber's People

Contributors

dangoor avatar ficristo avatar njx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bracketsextensiongrabber's Issues

Doesn't recover gracefully from failures

I ran into a problem like this today:

  1. Run grabem to get the full set of extensions (a week or so ago)
  2. Run grabem again to get updates
  3. Error deleting the folders from extensions that existed before but now have updates. (For whatever reason*)
  4. Close some apps and run grabem again

Result:
The last grabem invocation only picks up further updates that occurred between step 2 and 4. It doesn't update the extensions that failed to update at step 2. The folders for those extensions are left completely empty.

* I'm not sure if this happens 100% of the time, at least on my Win machine, or if something was going on that was holding onto file handles in these folders and preventing deletion... although since the folders wound up completely empty it suggests there was no one holding onto any specific file in there. It's still possible some app had a handle on the folder itself, but that seems pretty uncommon.

Mantained?

Hi @dangoor,
I'm a committer of Brackets and I would like to know if are you still mantaining this repo:
do you accept PR or, if not, are you open to transfer the ownership of this repo?

I noticed it doesn't work on node 6, and I've done some changes to make it work for me and
I would prefer to contribute to the original repo.

Filter out themes

Running this post-0.42 now downloads themes in addition to extensions. Perhaps some basic command-line switches like --themes and --extends to download only themes or extensions could be added, with both being download if nether argument is given.

Errors downloading some extensions

Whenever I run grabem, I get a few extensions that fail to download. There seem to be a few different kinds of errors:

Problem unpacking downloads/zips/camden.caniuse-2.0.3.zip
{ [Error: EMFILE, open 'downloads/zips/camden.caniuse-2.0.3.zip']
  errno: 20,
  code: 'EMFILE',
  path: 'downloads/zips/camden.caniuse-2.0.3.zip' }
Error downloading https://s3.amazonaws.com/extend.brackets/flovalence.imagetodata/flovalence.imagetodata-1.3.0.zip
{ [Error: connect EMFILE]
  code: 'EMFILE',
  errno: 'EMFILE',
  syscall: 'connect',
  url: 'https://s3.amazonaws.com/extend.brackets/flovalence.imagetodata/flovalence.imagetodata-1.3.0.zip' }
Error downloading https://s3.amazonaws.com/extend.brackets/dehats.ccextbuilder/dehats.ccextbuilder-0.7.3.zip
{ [Error: getaddrinfo ENOTFOUND]
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  url: 'https://s3.amazonaws.com/extend.brackets/dehats.ccextbuilder/dehats.ccextbuilder-0.7.3.zip' }

Crashes on Windows

It's hitting the same decompress-zip bug as Brackets extension manager. Changing the dependency to"decompress-zip": "0.0.2" fixes it for me.

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.