MetaBrainz Foundation

Rewrite MusicBrainz ISRC pages in React/JSX

The International Standard Recording Code (ISRC) is stored in the MusicBrainz database as a property of Recording entities. For each ISRC, there can be one or more recordings associated with. Here is an example: https://musicbrainz.org/isrc/GBAAA9000038

ISRC pages in the MusicBrainz website are currently generated using Template Toolkit. MusicBrainz is on the way to get rid of this template engine, in favour of React/JSX.

The objective of this task is to replace the current templates root/isrc/index.tt and root/isrc/not_found.tt with equivalent templates written in React/JSX.

Requirements:

  • A working development environment, including a MusicBrainz server in standalone mode. (See the documentation for information on how to do this.) Installation should be fairly straightforward to complete, but it could be quite long depending on your computer performance. Note that running the server code is only supported on Linux systems and that you need at least ~20 GB of space to install it.

Steps include:

  1. Create a personal account in the issue tracker, create a subtask to the linked ticket and assign yourself the subtask
  2. Create a branch to rewrite the code (from Perl/Template Toolkit to JavaScript/React/JSX) with style
  3. Test your changes on your local MusicBrainz server
  4. Create a pull request to submit your changes
  5. Wait for review and make additional changes if required until approval.

If you have questions, at any step, feel free to ping us on #metabrainz (IRC channel).

Task tags

  • musicbrainz
  • isrc
  • javascript
  • react.js
  • jsx

Students who completed this task

Shamroy Pellew

Task type

  • code Code
  • web Design
close

2017