Giter VIP home page Giter VIP logo

splattag's People

Contributors

dependabot[bot] avatar kjhf avatar

Stargazers

 avatar

Watchers

 avatar

splattag's Issues

Rough outline on Class Restructuring

The Source class becomes the container class, which has a list of players and teams defined from that source.
The final merged result is its own Source.

What this means is each source file has a translated Source json. This is saved in the Sources file. This is then merged into a final Source, which the SplatTagController can use as its general lookup. Perhaps save this as a separate file so other sources can be lazy-loaded as needed but we need the final merged result on startup. This will replace the current Players and Teams snapshot files.

Since each Source has a list of Players and Teams, it will be important to make sure that the Guids are correct across the files. Player and Team objects (and other secondary objects like Brackets) will have back-references to the Sources that use them. This will be serialized/deserialized as Guids and not the full Source object which is separate.

Installer

Create an installer, update, and distribution system

Player shows as Current despite leaving team

  • Player is no longer part of a team but shows as current if they have not joined a different team
  • Find a way of either clarifying this or remove after a certain amount of time?

Merge players that include team tag in name

  • Merge Player record that includes the team tag in their name.
  • Current implementation does this if the tag is known and matches
  • But will not merge if the tag is not known, or is slightly different.

e.g.
ab name won't merge into name (Plays for αb Team)

Update from URL

SplatTag should be able to import from a URL and remake its database with the new information.

Post-merging canaries

Have a system that verifies the merge worked:

  • An account should not have more than (say) 20 battlefy ids
  • A team should not have more than (say) 30 players
  • More logging during patching

Partial database update

SplatTag should be able to invalidate its database from a period in time, forwards, then regenerate the merge.
This should drastically speed up database creation and may allow #7

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.