Home Download Buy Blog Forum Support

Github repo(s) for packages

Github repo(s) for packages

Postby charlesroper on Fri Mar 18, 2011 2:32 pm

I like the way Textmate handles its public repo on Github:

https://github.com/textmate

Each bundle has its own repo. Could we have something like that for Sublime? Github would be a good choice because I think Mercurial can work with Github, no? I see we have a subversion repo, but SVN is pretty sucky for this kind of highly collaborative development, while Git is ideally suited.

Thoughts?

Charles
charlesroper
 
Posts: 107
Joined: Thu Feb 18, 2010 7:30 am

Re: Github repo(s) for packages

Postby theblacklion on Sat Mar 19, 2011 2:19 pm

*If* we would switch to something else, I would vote for Mercurial.
There's nothing important which Mercurial cannot handle - in fact I think both are equal in terms of necessary functionality.
AFAIK using a Git repo from Mercurial is still a little messy...
On top of that I feel that the UI of Mercurial is much more intuitive and easier to use (apart from being easily scriptable within Python).
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: Github repo(s) for packages

Postby Anomareh on Sat Mar 19, 2011 4:28 pm

What VC you use is more down to personal preference than anything else. Personally I prefer git because GitHub absolutely shits on BitBucket and Launchpad which are both atrocious in comparison.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Github repo(s) for packages

Postby charlesroper on Mon Mar 21, 2011 5:58 pm

I too prefer Git, simply because it's what I use. I tried both, and liked both equally, but Git won for me because of its popularity. But like Anomareh says, it's down to personal preference. Mac vs PC, Emacs vs Vim, Colgate vs Macleans. I suggested Git because:

  • It's popular (in my work as a web designer and developer, I often see Git repos and rarely see Mercurial ones).
  • There is a Hg-Git Mercurial plugin in active development, which means you can use Git repos using Hg.
  • Github seems to be pretty much universally accepted (admittedly judging from my shallow googly research) as preferable to Bitbucket. I've not used Bitbucket enough to say either way. But again, Github certainly seems more popular.

With TortoiseGit on Windows, SmartGit on Windows/Mac/Linux, and various GUIs on Mac, Git is also very easy to use these days (ease-of-use is something Hg had over Git, no?).

If Jon wants to attract lots of developers, then going for the popular choice with the 'best' source code hosting service would seem optimal. Github mirrors could be set up in SVN and Mercurial, so it would be the best of all worlds.
charlesroper
 
Posts: 107
Joined: Thu Feb 18, 2010 7:30 am

Re: Github repo(s) for packages

Postby guillermooo on Tue Mar 22, 2011 3:16 pm

I second the idea of moving the community repo to GitHub or Bitbucket. Personally, I prefer Bitbucket. One objective advantage of Mercurial is that they commit to support Windows too, whereas I don't think that's the case for git (however good its Windows support might be through 3rd party tools).

I suppose it wouldn't be too hard to keep several repos in sync for reading, but how about writing? Wouldn't you need to know the "native" repo's tool --git or Mercurial?
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: Github repo(s) for packages

Postby vostok4 on Tue Mar 22, 2011 6:49 pm

(I say this as a hg user, but just for education)

hg-git allows mercurial to pretty much work fully with git repos. I don't know of a tool for git users that gives them such support for hg.

So, as an hg user but as a sublime lover moreover, I'd say github is a better choice (and yes, github is much nicer than bitbucket), as it allows hg users and git users to coexist nicely.
vostok4
 
Posts: 25
Joined: Fri Oct 22, 2010 6:09 pm

Re: Github repo(s) for packages

Postby guillermooo on Tue Mar 22, 2011 7:06 pm

vostok4 wrote:hg-git allows mercurial to pretty much work fully with git repos. I don't know of a tool for git users that gives them such support for hg.


I'm sure it has shortcomings. The IronLanguages devs (IronRuby and IronPython) maintain repos in GitHub and Bitbucket, but use advanced features of hg to commit to the Bitbucket mirror. I don't know how they export those changes to the master repo, though, or whether using patch queues is better for integration with git or just more convenient for them. But I don't think they use hg-git at all. So I anticipate the hg-git extension won't solve all problems. I mention this as a side note; I don't have any first-hand experience with that extension.

Anyway, is it worth organizing a poll? I think Google has a tool for that. Or is everyone convinced GitHub's the way to go?
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: Github repo(s) for packages

Postby Anomareh on Tue Mar 22, 2011 9:01 pm

Honestly any of those advanced features that might not be available, I doubt any would be really necessary in the first place. It's just a plugin repository. Should be fine as long as you can pull, push, and merge.

As far as GitHub vs BitBucket, I think one of GitHub's great features that would make this a lot easier to manage is it's organization's feature. Just as is used by TextMate. As many people as necessary can be added to the organization and along with it comes fine grained access controls for each member and much easier management of the repos. Instead of having one user having to pull everything in, everything can be organized under the organization and multiple people can help out. Also all the repos will be under the ST organization so if someone runs out of time to contribute it's not tied to their account and it won't be some crazy nightmare trying to get everything under someone else's account. As far as I know BitBucket has nothing like this and personally I view this feature as invaluable in such a community project.

A small aside, Git is officially supported on Windows via msysgit and cygwin.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Github repo(s) for packages

Postby guillermooo on Tue Mar 22, 2011 9:26 pm

Anomareh wrote:Honestly any of those advanced features that might not be available, I doubt any would be really necessary in the first place. It's just a plugin repository. Should be fine as long as you can pull, push, and merge.


Agreed.

guillermooo wrote:As far as GitHub vs BitBucket, I think one of GitHub's great features that would make this a lot easier to manage is it's organization's feature.


Sounds pretty awesome.

Anomareh wrote:A small aside, Git is officially supported on Windows via msysgit and cygwin.


I've tried the portable version os msysgit and it worked pretty well for me.

I'm not very fond of the idea of having to learn git, but it's obvious that GitHub has advantages over Bitbucket, and the hg-git extension might make things easy for everybody.

So has the decision been made?
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: Github repo(s) for packages

Postby Anomareh on Tue Mar 22, 2011 11:03 pm

Would seem so :]

Hope no one minded but I went ahead and set it up. https://github.com/SublimeText. Let me know your username on GitHub and I'll add you as an owner guillermooo.

I guess a few things to that need to be discussed.

  • Other owners.
  • Repo naming conventions.
Anomareh
 
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Next

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 11 guests