Home Download Buy Blog Forum Support

open-sourcing user's Sublime Text packages

open-sourcing user's Sublime Text packages

Postby SteveCooperOrg on Tue Apr 01, 2008 1:20 pm

Hi, everyone.

People have been developing plugins and packages for a little while
now, and we're going to try to bring them all together in a central
location.

I've set up an open-source project here;

http://code.google.com/p/sublime-text-c ... -packages/

That's right, our very own google code CVS repository. My hope is that
the CVS will give us some more safety, and Jon more visibility and
control over the code. So, rather than the definitive copy of the
auto-backup plugin being on my laptop, it's now in google's CVS.

== WHO OWNS THE CODE? ==

I've chosen the new BSD licence, which means Jon is free to
incorporate anything there straight into Sublime Text, no licencing
problems. I'm a project owner, as is Nick (sublimator) and of course
Jon, ST's developer. Our board usernames are SteveCooperOrg,
sublimator, and jps.

== CAN I CONTRIBUTE? ==

If you want to start a package on the CVS, give us a shout by PM .
Put your email address in that PM if you want a faster
conversation! ;)

== HOW DOES THIS AFFECT SUBLIME TEXT'S DEVELOPMENT? ==

Jon is free to incorporate any of the contents of the repository
directly into ST. So anything that is well-coded and generally useful
may get folded in to ST's core. Otherwise, it's an entirely different
line of development.

== BUILDING PACKAGES AUTOMATICALLY ==

The package downloader plugin
(http://www.sublimetextwiki.com/pages/Pa ... oader.html) will
retreive the contents of the repository as sublime packages.

After committing code to the repository, you can deploy the new
changes to the Package Downloader by visiting this link;

http://www.sublimetextwiki.com/sublime- ... ackages.py

after a short delay you'll see the build messages for the packages --
something like this;

Building
clearing staging directory
deleting .svn/tmp/text-base
...
deleting PackageDownloader
getting packages from SVN

A /kunden/homepages/25/d96254051/htdocs/packages/AutomaticBackups
...
A /kunden/homepages/25/d96254051/htdocs/packages/PackageDownloader/README.txt
Checked out revision 9.
Zipping AutomaticBackups
Zipping PackageDownloader
2 packages built

which means the packages have been dragged out of CSV, zipped into
.sublime-package files, and dropped into the folder where the package
downloader will find them.

If you include a README.txt file (case-sensitive) this is incorporated into the wiki as user-guide information. You don't need to worry about keeping both the wiki and your package up-to-date; the package always wins.

Which means, the build process now looks like this;

1) commit your changes to the google CVS.
2) visit the makeSublimePackages.py to build the CVS to the wiki folder
3) Um... that's it. You can get downloading from here.

== SUBVERSION NOTES ==

I've been using tortoise SVN, which works fine. I've been using this
nice little guide to get stuff up onto the site;

http://internetducttape.com/2007/03/03/ ... rtoisesvn/
Last edited by SteveCooperOrg on Fri Jan 16, 2009 12:30 am, edited 2 times in total.
Maybe what you're looking for is at the http://www.sublimetextwiki.com
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am

Re: open-sourcing user's Sublime Text packages

Postby SteveCooperOrg on Wed May 28, 2008 1:54 pm

So, some updates to the SVN system, for your convenience.

README.txt files

If you include a README.txt in the package, the text will be included on http://www.sublimetextwiki.com; to announce your plugin, then, all you really need to do is include a readme. Henceforth, that page will be kept in sync with your README.txt. Of course, this means your README.txt must be in Markdown markup...

sublime-distro files

If you put the file main.sublime-distro into your package, the package will be downloaded by the package downloader. That is, it's part of a core distribution of plugins.

If you put not-for-distribution.sublime-distro into your package, this package is not built into those available for download. This means you can develop using source control, and share with other developers, without having that package available to users.
Last edited by SteveCooperOrg on Fri Jan 16, 2009 12:32 am, edited 1 time in total.
Maybe what you're looking for is at the http://www.sublimetextwiki.com
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am

Re: open-sourcing user's Sublime Text packages

Postby SteveCooperOrg on Fri Jan 16, 2009 12:34 am

I have just updated the information above to reflect the changes over at http://www.sublimetextwiki.com.

Read more about those changes here; http://www.sublimetext.com/forum/viewtopic.php?f=5&t=156
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am

Re: open-sourcing user's Sublime Text packages

Postby SteveCooperOrg on Fri Feb 20, 2009 6:02 pm

An improvement to the package repository; whenever someone checks in, it'll automatically update the package repository at http://www.sublimetextwiki.com. So that site will always be perfectly up-to-date with the google subversion repository.
Maybe what you're looking for is at the http://www.sublimetextwiki.com
SteveCooperOrg
 
Posts: 193
Joined: Thu Mar 20, 2008 9:53 am


Return to Plugin Announcements

Who is online

Users browsing this forum: meigallodixital and 7 guests