Skip to content

kaste/Package-x-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an add-on to Package Control, hence the X in the name.

git clone https://github.com/kaste/Package-x-Control.git "Package x Control"

Note the spaces in the name! Package Control has them, so we do too.

The package is not hostile and installs only one command: "Package x Control: Dashboard". Open the dashboard using the command palette to see all packages that you have on your system.

screenshot

Initially all packages are either unmanaged packages or under the section "PACKAGES BY PACKAGE CONTROL". But this very add-on implements a third way to install packages; it is not just an UI for the same thing.

Usage

Head over to packagecontrol.io or packages.sublimetext.io and search for a color scheme (really anything not crucial or intricate) for testing.

https://packagecontrol.io/packages/Solarized%20Color%20Scheme
https://packages.sublimetext.io/packages/Solarized%20Color%20Scheme

Copy either URL and paste it into the dashboard anywhere. Ctrl+Backspace it to remove it again. Then go to a package on GitHub1 and copy

https://github.com/braver/Solarized

the URL over there, and paste it into the dashboard. -- Now go to GitHub's releases or tags subsite and look at a previous tag. Grab the URL

https://github.com/braver/Solarized/releases/tag/3.0.1

and paste it again. Got it? 🤞😏

This also works for URLs pointing at a pull request. Or forks.

Goals

An ASCII, GitSavvy-like interface to Package Control.

Usually I browse packagecontrol.io, packages.sublimetext.io, Github, or the package control channel for its pull requests. If I see an interesting package, I don't want to look that up again. I have a URL in the browser I can grab.

So, let's just paste that into the PxC dashboard to install it.

I want to install packages that are not (yet) registered. E.g. to test them while reviewing. So, a git based install is required.

I want to quickly test out pull requests for packages. I want to downgrade if a version breaks my workflow. I want to switch to a checked out (unpacked) version to fix a bug myself.

Unpacking a package should configure the remotes. Bonus point: It would be nice to open such an unpacked package in a new window. Using GitSavvy I could then create a fork or add a fork and check that out.

For abandoned packages, I want to switch to a fork (without unpacking) before the registry is updated. Maybe that never happens anyway.

If I get a notification from GitHub about a new release, I don't want to wait for 3 hours. I want to update immediately.

Ideally, release notes from GitHub could be used in addition to "messages.json". These notes can be edited, so I can fix my typos without making a new release.

Uninstall

If you want to keep the installed packages, copy the package names to your Package Control settings under installed_packages. Then just delete this package as always.

Footnotes

  1. GitHub has >90% market-share of Sublime Text packages, so probably GitHub.

About

The missing x from Package Control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages