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?
On Wed, Oct 7, 2009 at 1:33 PM, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
On 07.10.2009, at 22:15, Guoliang Cao wrote:
Guess there are a lot nice bundles I am unaware of.
... try the bundle "GetBundles" to find and install them :) http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
In Terminal:
mkdir -p ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles export LC_CTYPE=en_US.UTF-8 svn export http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
... and reload Bundles in TM.
拜拜
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
I have also been unsuccessful in getting my bundle to show up in GetBundles...
F-
On 10/7/09 5: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?
On Wed, Oct 7, 2009 at 1:33 PM, Hans-Jörg Bibikobibiko@eva.mpg.de wrote:
On 07.10.2009, at 22:15, Guoliang Cao wrote:
Guess there are a lot nice bundles I am unaware of.
... try the bundle "GetBundles" to find and install them :) http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
In Terminal:
mkdir -p ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles export LC_CTYPE=en_US.UTF-8 svn export http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
... and reload Bundles in TM.
拜拜
--Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
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
http://github.com/fletcher/markdown.tmbundle
It does not show up separately in the search - it's a fork of the original markdown.tmbundle, so I was able to "find" it by clicking on the "forks" button from the textmate version....
Is that the problem? How do we resolve it?
F-
On 10/8/09 5:00 AM, Hans-Jörg Bibiko 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@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi,
I've just committed an improved version of GetBundles to display information of bundles hosted on github. It's much more faster and now all information for bundle names containing a '.' are retrieved.
Back to the original problem, why my bundle won't be listed in GetBundles.
Well, I've just played with github search API again. It turns out that a search query for eg 'tmbundle' does not returns all projects, esp. if a project is forked. But if I do search for repositories of a specific owner then I get them all.
Fine, how to deal with it?
I've just implemented an interim solution. In addition the textmate.org bundle server script looks for a list of predefined user accounts on github.com. So far I added to the predefined user list 'adamv' and 'fletcher'. If you now open GetBundles you'll find the missing bundles (hopefully all of them). In other words if someone hosts a tmbundle which does not come up with GetBundles should inform me (or Allan - but I guess he's busy) to add her/him to that list. I know this is not a clean solution ( - that's why I write 'interim' - ) but it works for now.
My dream for github's search API would be to have the chance to write a query à la:
give me all (not page by page) repositories whose project names end on 'tmbundle' or '.bundle' regardless if the repository is forked or not.
I'll continue my search for a better solution. If someone of you all comes up with a better approach I'd be appreciated if you let it me know :)
Cheers,
--Hans
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@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate