Readers/Web/Team/Dev sessions

On Jan 29, 2015, the mobile web team met to share development workflows, tools we use, extensions, and in general how we work, in order to learn more about different ways of working with the code, patch sets, bug triaging, etc.

We plan on having this meeting monthly, and to re-cap here what we talk about so that there is a searchable log of the goodies we share and benefit community developers by having this information public.

Working with Gerrit

 * Gerrit from the command line: GerritCommandLine
 * Filter by projects, your patches, by score (Example config for .bashrc)
 * Choose a patch by number, it will download the patch, switch to it, and show the gerrit website link to it.
 * Getting the script:
 * Run  on extensions/MobileFrontend to get the script into
 * Set
 * Run it with,  , or directly from
 * Chrome Gerrit website extension: gerrit-be-nice-to-me
 * Colorizes -1/-2 rows on the patches list in red
 * Auto expands patchsets when on a patch page (useful for seeing where comments are, and immediately having access to the patchsets)
 * Auto expands comments when on a patch page
 * Gerrit emails
 * Watch the projects you care (Settings -> Watched projects)
 * Tag gerrit emails, useful if you want to know if somebody replied to your patches
 * User filters to subtag "your patches", "merged", "abandoned". Easier to skim through all those emails.

Command line tools

 * Git
 * Show info on bash prompt about the current repo
 * Show branch and state with colors
 * Branch, state, and current operation (rebase, cherry-pick, etc)
 * tig: Command line git UI Screenshots
 * Clean messy gerrit branches and already merged
 * Ag (silver searcher): Fast code search
 * Search with regex
 * Search literally
 * Search for the function parse in javascript files
 * See supported file types for the  flag
 * Bash config (See dotfiles below)


 * Populating wiki with test data
 * Populate a list of categories on MobileFrontend - run this in your console

Dealing with email

 * Subscribe to multiple email lists (mobile-l, wiktech-l, ...), gerrit, phab, etc
 * Aggressively use filters and labels/tags to categorize email and read it when you want.
 * subject:Welcome list:"" -> Mark as read
 * Use Gmail's "Mute" feature to silence useless threads (sometimes threads come back from the dead? time for a filter)

Dotfiles

 * Joaquin dotfiles repo
 * MediaWiki related environment variables and aliases
 * Git aliases
 * Copy what interests you into your
 * Colors in git
 * Using vim as git's diff/editor
 * Aliases (git ls, git dc, git pp, etc)
 * .vim config

Meetings

 * Jan 20, 2015