github bitmagnet-io/bitmagnet v0.8.0

6 months ago

Classifier reimplementation

The classifier has been re-implemented and now uses a DSL allowing for full customisation. Several bugs have also been fixed, and a preparatory database migration for search ordering has been added.

The classifier documentation can be found at https://bitmagnet.io/tutorials/classifier.html.

Build reimplementation

The build has been re-implemented using https://github.com/goreleaser/goreleaser, thanks to @KyleSanderson. A number of new platform-specific build artifacts are now available.

Seeders/Leechers bug

There has somehow been a bug present, since day 1, whereby seeders and leechers were being swapped by the DHT crawler! This is fixed in 0.8.x. The first beta included a migration that would fix existing data, but the query just takes too long (for larger indexes), and so it has been removed from the migration.

Until now, no-one noticed - but If you care and would like to fix this in your index, you can run the following query, replacing the time with the time at which you did the 0.8.x upgrade. Be warned, this query may take a while for larger indexes! In time, much of the data will naturally fix itself anyway as the S/L numbers get re-scraped by the crawler when the torrent is re-discovered.

update torrents_torrent_sources set seeders = leechers, leechers = seeders where source = 'dht' and  updated_at < '2024-04-30 00:00:00+00';

What's Changed

New Contributors

Full Changelog: v0.7.14...v0.8.0

Don't miss a new bitmagnet release

NewReleases is sending notifications on new releases.