Sublime Forum

How to test pull requests for sublime package?

#1

I am the owner of the sublime package “SublimeLinter-contrib-cmakelint”, and I’ve been the sole contributor to it for the past few years but recently someone submitted a pull request and I realized I have no idea how to properly test it.

When I was doing it myself, I commit whatever code I wrote to master. I open up my sublime, click “Package Control: Add Repository”, add my repo, and then I click “Package Control: Install Package”, there I can install and test the package from the latest master instead of the latest release.

Is there a way to install package from a particular pull request, so I can test that out? If not, what’s the proper workflow for testing out pull requests for sublime package?

0 Likes

#2

Just like you can override any file in a plugin. You can override every file in a plugin.


Or don’t let Package Control to manage that plugin for you. And manually copy (or clone, if you want to use git to quick checkout etc) the plugin directory to Packages/.

ST's Data directory
└ Packages/
  └ SublimeLinter-contrib-cmakelint/
     └ plugin files...
1 Like

#3

Cloning the repo to the Packages/ folder works! I should’ve done this when I was developing it myself. Thanks!

0 Likes