Skip to content

Instantly share code, notes, and snippets.

@luser
Created February 26, 2019 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luser/5fa4f6385802d8b9bc1eabbdbdbe4da0 to your computer and use it in GitHub Desktop.
Save luser/5fa4f6385802d8b9bc1eabbdbdbe4da0 to your computer and use it in GitHub Desktop.

Firefox committers touching Rust code

  1. Clone the mozilla-central Mercurial repository:

    hg clone https://hg.mozilla.org/mozilla-central

  2. Clone the version-control-tools repository:

    hg clone https://hg.mozilla.org/hgcustom/version-control-tools/

  3. Enable the mozext and firefoxtree extensions in .hgrc:

    [extensions]
    mozext = /path/to/version-control-tools/hgext/mozext
    firefoxtree = /path/to/version-control-tools/hgext/firefoxtree
    
  4. Sync pushlog data:

    hg pushlogsync
    
  5. Run query:

    hg log -r 'filelog("glob:**.rs")' --template '{firstpushdate|isodatesec},{author|email},{node|short}\n' > firefox-rust-committers.csv
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment