Git Product home page Git Product logo

Comments (5)

wbond avatar wbond commented on August 15, 2024

It is unlikely I will have time to work on this in the near future, however if you look at the source, you can see there is a class called PackageProvider. This is extended to create the GitHubPackageProvider, GitHubUserProvider and BitBucketPackageProvider classes.

Basically you just need to implement a class that can recognize local paths, and then write code to perform whatever action you need to get a zip file out of it. Most likely you are going to want to do a git export and then zip it up. The VcsUpgrader class would probably server as a decent place to start in terms of executing a git export comand. The create_package() method in the PackageManager class has some examples of creating zip files.

Once your class is created, you can add it to the _package_providers variable.

from package_control.

slestak avatar slestak commented on August 15, 2024

would you like a pull request when this is done?

from package_control.

wbond avatar wbond commented on August 15, 2024

Yes please

from package_control.

slestak avatar slestak commented on August 15, 2024

I think for the short term, I am going to have to revert back to vim. I am spending an inordinate amount of time programming my editor instead of programming with my editor :). I'll check back in after a few releases.

from package_control.

wbond avatar wbond commented on August 15, 2024

Sure, feel free to reopen this if you ever feel like adding the functionality.

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.