Full text search in gerrit? - github

With github you can search class name and it'll find any usages of it in your repo. Or basically any word and github will find usages of it.
Is there a way to do the same thing at gerrit?
Maybe there's a plugin or something?

Gerrit does not have any support to code search and AFAIK there isn't a plugin with such feature.
We use OpenGrok to accomplish this. It's a very nice tool.

Related

Finding popular open source projects on Github using a specific library

I looked through Github search docs for repos and code and I am not sure if it is possible.
I want to find popular open source projects that use a specific library to see how they handle particular design patterns. In my case, I am looking for popular Android projects that use Dagger 2.
I tried using a code search for com.google.dagger:dagger-android-processor: in .gradle which gives me 14k+ results for mostly unpopular projects. I would basically just want to sort by forks/stars, which is not an option as far as I can see.
If this is not possible with Github's search I am happy with any alternative.
For projects that use one of the package managers ​​which is supported by GitHub (RubyGemsm, NPM, PyPI, Maven, Nuget), you can use ghtopdep
Related issue
A Code search would not allow sorting through repository stars (as stated here)
Maybe:
using a BigQuery would allow using that criteria (like this one)
or using GraphQL

Edit an another's plugin

I have a plugin's resource codes and I want to edit. Because I want to change plugin's prefix but it isn't possible unless edit plugin. I tried edit with Eclipse but I had a lot of errors.
If you have source codes of some plugins, there meight be a problem, that they are using some api for example WorldEdit api, but you don't have it added in your project. You have to look into code and find out what they use. Then download the api and add it in Build Path - Right Click the project->Build bath->add external Jars. I hope this will help.
You may be getting errors from imports, API's, etc.
The best way to change this is to contact the developer of the plugin, who has the project themselves. It's not a good idea to change code unless you have full permission; but I will still tell you some possible ways to fix it.
Your imports may be faulty, check those.
Actually REVIEW the code yourself– Don't mess around with things you don't know what they do.
CHANGE YOUR PACKAGE NAMES (This got me before, simple mistake)
If there are comments in the code, use those to your advantage
Google your errors.
If you are new to Java, don't skip to changing code already. TRUST ME. Learn all you can before skipping to other "higher level" developer styles.
Like I said, these are vague and simple ways to fix it; the best way to have your feature implemented is to contact the developer.
*I understand that this thread is old; I'm just saying this because there are currently no answers that describe this for other Google travelers of the internet.

Migrate Confluence to Github wiki (Gollum)

Does somebody know a nice way to migrate a Confluence wiki to the Github wiki (aka Gollum) ?
By nice way I mean quick and effective.
You can export whole spaces to html format, and than use pandoc to rewrite pages to ReST|Markdown
I had a similar problem, so I threw together some Python code to do this:
https://github.com/gergelykalman/confluence-markdown-exporter
It is pretty basic but it worked well for me.

Does Leksah have hlint, hoogle integration?

Does leksah support any kind of plugins? Will it? Does it have any plugins built in, such as hlint, hoogle, pl, djinn? If not, is there an easy way to integrate these things?
Does leksah support any kind of plugins?
Current version not.
Will it?
I am working on a major restructuring, to build Leksah from plugins from the very base.
https://github.com/leksah/billeksah/wiki
Unfortunately this project may take some more time to reach delivery,
but hope it will pay off.
Does it have any plugins built in, such as hlint, hoogle, pl, djinn?
It has simple support for lookup of hoogle docs.
If not, is there an easy way to integrate these things?
Help is very welcome.
Well someone ought to answer. Here's my best guesses:
Does leksah support any kind of plugins?
Nope
Will it?
It's open source (GPL 2)...get to it! (Doesn't look like this feature is on any roadmap or anything.)
Does it have any plugins built in?
According to the manual page 32:
With the Docu button you can initiate an external search in a browser with e.g. Hayoo
or Hoogle, depending on the configuration in the Preferences.
That's about all I could find.

Effective Extensions for Development Wiki

Our small team of 3-4 developers uses a wiki for documentation and collaboration. I'm trying to put together a list of some solid extensions which would help make it better. We are using MediaWiki, but if you know of a good extension/plug-in for another platform I'd like to hear about that too. Thanks.
Here is my list so far:
Geshi for syntax highlighting.
FCKeditor
TagAsCategory
Promising Extensions that don't work w/ MediaWiki 1.15.0
CategoryEditor
IssueTracker
Two things come to mind:
Bug tracking tool integration
SCM tool integration
For MediaWiki there are already
Bugzilla integration:
http://www.mediawiki.org/wiki/Extension:BugzillaReports
SVN integration:
http://www.mediawiki.org/wiki/Extension:SVNIntegration
The whole list of extensions is here
Well, I think that a good starting point would be to check what we use at mediawiki.org, because this is a Development Wiki :)
My first choice would be CodeReview of course. It's not pretty, but it's very useful. See how we use it: it allows to integrate a SVN into the wiki, to add comments on code, tag commits, and put statuses on it.
At MediaWiki, we use new/verified/ok chain, adding fixme/reverted/resolved/deferred when things go wrong; but you're free to use your own statuses here.