Notes from #MetaBrainz Meeting 2017-12-11

MetaBrainz Meeting 2017-12-11

Meeting start: IRC Logs for #metabrainz | MetaBrainz Chatlogs

Agenda

Reviews

@CatQuest

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@chhavi

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@samj1912

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@Rob

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@iliekcomputers

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@Freso

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@Leftmost_Cat

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@reosarevok

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@bitmap

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@zas

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@yvanzo

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@anshuman73

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@naiveaiguy

IRC Logs for #metabrainz | MetaBrainz Chatlogs

Consolidated contributing guidelines video

IRC Logs for #metabrainz | MetaBrainz Chatlogs

@Freso pointed out How to Contribute - MusicBrainz (and that it needs updating), @iliekcomputers noted that all GitHub/code projects have a contributing.md file.

@samj1912 noted that he «[does]n’t think think [he] would watch a video about that» but would read a wiki page and also pointed to https://whatcanidoformozilla.org/ as a possible way of achieving something like this. @chhavi showed that there’s also What can I do for Fedora? - @samj1912 suggests using http://whatcanidofor.metabrainz.org/

There was some talk of doing it as a GCI task, or as a series of GCI tasks, but it would depend on one or more mentors picking it up and formulating tasks for it.

In summary:

@samj1912
For indexing you probably want to create a table in the database containing the id’s of items that need to be added to the search index.
You can then add a trigger for each table in the database that will fire on insert or update and have this trigger insert a record to this queue table.

The indexer tool just needs to have a loop that select one or a small number of id’s from this queue table, add the items to the index and deletes the id’s once done.

When building your first index you can run an insert into queue_table as select query to add everything to the queue.

Yup, that’s what we were doing. There was a slightly different problem although it’s fixed now. It should be there in the minutes from later meetings.