We have new BUGnet updates that include quite handy tools for developers.
This allows you to search against public BUG apps and browse projects in your browser. We're using Xapian search engine and acts_as_xapian Rails plugin. On top of that we added lots of client-side goodness to make your browsing experience more pleasant. Xapian supports basic search operators and we added custom ones like user and file. Are you curious how jconnolly uses Runtime class? Search for user:jconnolly Runtime. I hear bballantine has done a good implementation of double buffering.
Here are few tips for managing your apps with Code Search feature in mind:
- Explain your code in comments. This helps people to find code without knowing what they are looking for. (e.g. searching for "parse xml" rather than "XmlParser")
- Update "Maturity" of applications so that people get a sense of completeness of your app.
- If you know a snippet of code is not tested or doesn't work, comment it.
- Make sure login or any personal information is not in source.
Our index job runs every ten minutes so it may take at most ten minutes to get your new app appear in Code Search. Also, when you change your app's status from private to public, it will appear once it gets indexed.
This feature is in beta, so feel free to forward any suggestion and feedback to webmaster [at] buglabs.net.
You can browse source code from an application page and link to it:
Deeplinking is supported in application- and file-level. To link to a file, select the file you want, click the "Link" link in the top right corner, and copy the URL. An embed using an iframe is possible too, but currently our wiki and blog do not support iframe tags. We are looking into supporting iframes from buglabs.net domain.
Here are other notable updates in the applications area:
- You have an option to send email notification to your collaborators when you upload a new version
- API version field is added to apps so that you can indicate which version of BUG software your app supports
So let us know what you think, and have fun coding!