Code Monkey home page Code Monkey logo

Comments (4)

flolep2607 avatar flolep2607 commented on May 27, 2024

I think that's very good, it's the best thing to do I think.

from anime-offline-database.

BeeeQueue avatar BeeeQueue commented on May 27, 2024

I am obviously biased towards this solution πŸ˜‰

Only override rules should be necessary, locking every entry would be overkill.

1-to-1 makes more sense if most of the failed merges are small (only anidb didn't merge into an entry with 3 other links), while the other one is safer but takes more space.

Does merging duplicates mean you can get multiple links per website? e.g. two anidb links

Deleted entries should be removed automatically, now or in the future

from anime-offline-database.

manami-project avatar manami-project commented on May 27, 2024

@floflo2607 thanks for the rapid feedback. I appreciate it!

@BeeeQueue thank you for your feedback

I am obviously biased towards this solution wink

Obviously ;)

Only override rules should be necessary, locking every entry would be overkill.

Exactly. That's what I tried to express in my EDIT1. Every entry would be a possibility and could be partially automated, but it's unnecessary and as you said: overkill.

1-to-1 makes more sense if most of the failed merges are small (only anidb didn't merge into an entry with 3 other links), while the other one is safer but takes more space.

I tend towards the safe version. The file size is negligible. It wouldn't be bigger than the database file and the only operation that uses it is the script.

Does merging duplicates mean you can get multiple links per website? e.g. two anidb links

Yes. There are always cases of duplicated anime. Currently myanimelist is the one with the most. Just as an example... there are currently four entries for Cooking with Valkyries. This can happen if the anime titles are created, but the mods didn't approve them yet. That is different for anbidb. On anidb unapproved anime are not available. And of course it's possible that there are approved duplicates, because mistakes can happen ;)

Deleted entries should be removed automatically, now or in the future

For the anime-offline-database.json this is already the case. This would even be the case if an entry is listed in the merge-lock.json. It would then be removed from the anime-offline-database.json anyway. Only the merge-lock.json might contain some zombies entries. But I don't think that this is critical, because it's only be a meta file for the automated process and not meant to be used by users. So this is something that could be fixed later on.

@ all
Any other thoughts? Is there anyone who can say that he or she would be at least interested in contributing?

from anime-offline-database.

manami-project avatar manami-project commented on May 27, 2024

I've added the whole merge lock stuff and updated the contribution guidelines.

And created two sample PRs.

from anime-offline-database.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.