[TxMt] Re: GetBundles

Adam Vandenberg flangy at gmail.com
Thu Oct 8 16:15:36 UTC 2009


Hans:
Thanks for the algorithm description; it will certainly help in the future.
Any chance that GetBundles itself will move to GitHub?


On Thu, Oct 8, 2009 at 2:00 AM, Hans-Jörg Bibiko <bibiko at eva.mpg.de> wrote:
>
> On Oct 8, 2009, at 1:41 AM, Fletcher T. Penney wrote:
>> I have also been unsuccessful in getting my bundle to show up in
>> GetBundles...
>
>
> @Fletcher
> Could you please tell me the URL(s) again?
> And, did you try to find it via http://github.com/search ?
>
>
> On Oct 7, 2009, at 11:08 PM, Adam Vandenberg wrote:
> Some of my bundles show up on GetBundles (
>> http://github.com/adamv/6502asm-tmbundle ) and some do not (
>> http://github.com/adamv/perforce-tmbundle ).
>> What's the secret?
>
> Well,
> github's search API is in some sense tricky to use. It has problems
> with a . in the project name.
>
> The current workflow is the following:
> • search via http://github.com/api/v1/yaml/search/KEYWORD and
> accumulate all pages
> -- KEYWORD := ["bundle", "tmbundle", "textmate"]
> -- this implies that a tmbundle has to be a root repository, ie eg it
> has to exist the file:
> http://github.com/USER/foo-tmbundle/blob/master/info.plist
> • take only those bundles if their names end on tmbundle or
> textmate.bundle or tm.bundle
> • make the found items unique via username/project_name
> • parse the github project description for stop words
> -- stopwords := ["my own", "my personal", "personal bundle",
> "obsolete", "deprecated", "work in progress"]
> -- if the description contains at least one of those words the item
> will be ignored
> • read the project's info.plist
> -- parse for the keys 'name' and 'uuid'
> -- if no name and/or uuid is/are found the bundle will be ignored
> (this also insures that no "tmDelta bundles" are taken)
>
>
>
> Unfortunately the perforce-tmbundle won't be find.
> Maybe this is related to the issue that your perforce-tmbundle is a
> fork to evocateur/perforce.tmbundle.
>
>
> If I look via http://github.com/search for perforce-tmbundle github
> outputs only evocateur's and the mirrored official bundle.
>
> By my opinion the safest way to host a tmbundle on github which will
> come up in GetBundles is to create a NEW bundle with TM (no copy/
> duplicate) and push it to github (try to avoid a . in the project
> name, make sure that the project name ends on tmbundle, and make sure
> that the file http://github.com/USER/FOO-tmbundle/blob/master/
> info.plist will be found). And do not use github forks.
>
> Nevertheless, I try to improve GetBundles' server search engine to get
> rid of that, but as I said - it could be tricky.
>
> Cheers,
>
> --Hans
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>



More information about the textmate mailing list