Hello again! This fortnight, as we’ve mentioned among the past few posts, is our twice-annual schema change release! This means that we’ve got some big changes, as well as special upgrade instructions.
In the former category, we’ve added support for two new entities: Series and Instruments, each of which is exactly what it sounds like. We’ve also done some various cleanup (tables missing from replication, making some attribute-style tables (e.g., label types) trees, and more properly orderable, removing unuseful sortnames). In non-schema-change fixes, we’ve fixed some merging for Artist Credits, show Area names after Places routinely, and perhaps most excitingly, added smaller versions of the relationship editor for other entities. It’s now possible to add relationships to any entity from most entity edit pages, expanding on our previous addition of URL editing!
As far as upgrading:
- Ensure you’ve replicated up to the most recent replication packet available with the old schema. (if you’re not sure, run
./admin/replication/LoadReplicationChanges and see what it tells you).
- Take down the web server running MusicBrainz, if you’re running a web server.
- Turn off cron jobs if you are automatically updating the database via cron jobs.
- Make sure your
REPLICATION_TYPE setting is
- Switch to the new code with
git fetch origin followed by
git checkout v-2014-05-14-schema-change
carton exec -Ilib -- ./upgrade.sh if you’re using carton, with older installs).
DB_SCHEMA_SEQUENCE to 20 in
- Turn cron jobs back on, if needed.
- Restart the MusicBrainz web server, if applicable. It’s also recommended you restart memcached.
The git tag for this release, as mentioned above in the instructions, is
Full release notes, as usual:
- [MBS-5978] – Replication feed is missing release_tag
- [MBS-6709] – “None” is no longer the last Packaging type after adding Book and Cassette Case
- [MBS-7482] – Artist merge with AC renaming does not merge identical ACs
- [MBS-2410] – Label types not a tree anymore
- [MBS-2714] – Add support for Series.
- [MBS-5897] – Make it possible to see edit JSON in the case of an ISE or poor data display
- [MBS-6144] – Remove the apparently-unused script_language table
- [MBS-6602] – Remove sortnames from areas
- [MBS-6603] – Remove sortnames from labels
- [MBS-6651] – Make it possible to disable dates for relationship types
- [MBS-6886] – Display area after place names
- [MBS-6887] – Model coordinates without nullable latitude and longitude
- [MBS-7205] – Link types should track assumed cardinality
- [MBS-7411] – Don’t require disambiguation comments for places from different areas
- [MBS-7470] – Merging/combining RG types (primary/secondary) is unintuitive
- [MBS-3674] – Make instruments entities
- [MBS-6234] – Add a relationship editor to artists, labels, recordings, release-groups, places, areas and works
- [MBS-7441] – Check non-replicated changes to DB that have happened since last schema change
Amazon has created a program where your purchases at Amazon can support your favorite non-profit. This program is called Amazon Smile and MetaBrainz is enrolled in this program. If you would like to support MetaBrainz (and thus MusicBrainz), start with this link when you start shopping:
Alternatively you can bookmark this link:
We’ll be integrating links to Amazon Smile into the MusicBrainz web site soon, so you won’t have to remember these links.
UPDATE: This only works for the US based Amazon store.
We’ve finally settled on a date for the MusicBrainz summit in Copenhagen this fall: September 26-28, 2014. Save that weekend if you’re interesting in attending — we will post more information to the summit wiki page once we get closer to the event.
Looking forward to seeing you in Copenhagen.
The schema change release is approaching fast and we’re making good progress taking care of all the tasks that need to be completed. During yesterday’s meeting we agreed on the time to do this release: 14 May 1600UTC (9am PDT, 11am Chicago, 17h BST, 18h CEST, timezone map).
We will start the release process at this time — the exact time when the site will be down will depend on how long it will take us to walk through our pre-release checklist. We will be announcing the exact downtime via Twitter (@musicbrainz) and via a banner on the main MusicBrainz pages.
We expect our downtime to be somewhere between 15-30 minutes.
Once more now before our upcoming schema change, we’re here with our fortnightly musicbrainz-server release! Some notable changes aside from bug fixes include a few additions to whitelists newly-approved, and enabling thumbnail display for PDF cover art. Thanks to the Internet Archive for making PDF thumbnails work, and thanks to chirlu, nikki, reosarevok, and bitmap for their work this release.
The git tag for this release is
Full list of tickets:
- [MBS-4151] – Publisher ARs for different entity types create quite confusing label AR pages
- [MBS-6166] – Deleted accounts can still have details edited
- [MBS-6508] – Artist/label create/edit edits fail to display removed or merged areas
- [MBS-7037] – Chrome displays broken image instead of error message
- [MBS-7352] – Release editor prints an untrue error “not logged in” after clicking “Enter Edits”
- [MBS-7376] – Selecting value from a drop-down list by pressing Enter prompts inexplicable behaviour
- [MBS-7400] – “merge artist” edit with “rename artist credit” option is a tracklist changing edit but is missing in release, release-group and recording edit histories
- [MBS-7412] – Reorder medium edits are generated for new releases
- [MBS-7437] – Area can’t be removed from a place
- [MBS-7438] – Empty edits are created for places due to coordinate padding
- [MBS-7439] – Internal server error when seeding badly formatted dates to the release editor
- [MBS-7444] – Release editor seeding should ignore medium position field
- [MBS-7445] – Not all mediums gets reordered when you delete one
- [MBS-7447] – Internal server error when seeding invalid track lengths to the release editor
- [MBS-7450] – Places on the equator don’t have their coordinates displayed
- [MBS-7451] – Possibility to remove track durations from releases with discID
- [MBS-7453] – Internal server error in the release editor (new row for relation “release_group” violates check constraint “control_for_whitespace”)
- [MBS-7455] – ISE for /ws/js/edit/preview: Error: Could not create MusicBrainz::Server::Edit::Release::DeleteReleaseLabel edit
- [MBS-7456] – Error when using the track parser to parse artists and it can’t find any
- [MBS-7458] – Internal server error when trying to delete a non-existent user
- [MBS-7459] – Internal server error displaying add disc ID edit (Can’t call method “release” on an undefined value)
- [MBS-7464] – Release editor does not use canonical URLs
- [MBS-4758] – Show list of recordings after work rels on work pages
- [MBS-5552] – Mark edit URL merge-edits properly
- [MBS-5640] – Don’t embed full size images in the page when no thumbnails are present
- [MBS-7345] – Sidebar external links: show span.mp pending edit status
- [MBS-7361] – Provide an HTML markup hook for finding/matching dynamic work attributes
- [MBS-7460] – Enable thumbnails for PDFs
- [MBS-7440] – Add Resident Advisor and IMVDb to the otherdbs whitelist
- [MBS-7454] – Add Rap Genius / Rock Genius and Project Gutenberg to lyrics whitelist
- [MBS-7448] – Add URL lookup to the website
I’m pleased to announce the following 5 projects were accepted for this round of Summer of Code:
- A new website for Picard and its plugins by Shadab Zafar: Give Picard a new website that will be used to host everything Picard related especially its plugins. Also add an interface which can be used to download those plugins right from picard.
- MBS-6201: Add an “event” entity by reosarevok: Finalising the basic implementation of MBS-799 by adding an event entity to MusicBrainz.
- Finishing and deploying CritiqueBrainz by Roman Tsukanov: Last year Maciej Czerwiński started work on repository for Creative Commons-licensed reviews – CritiqueBrainz project. He implemented core functionality: storage, API, and web interface. During Google Summer of Code 2014 I’d like to continue his work, finish and deploy the project.
- MB UI TLC by navap: Spend some major TLC on all the templates and UI of MB.
- Move MusicBrainz Search to SOLR by Wieland Hoffmann: The goal of this project is to move the MusicBrainz Search server to use SOLR for faster and in-place index updates.
The whole MusicBrainz dev team is very excited to have students take on these projects. We’ve been waiting for events for an eternity and after 9 months of no progress, I’m stoked that soon we will release CritiqueBrainz.
Congratulations to mineo, navap, duffer, gentlecat and reosarevok. And big thanks to Google for having us in Summer of Code again.