Giter VIP home page Giter VIP logo

Comments (5)

DanielHabenicht avatar DanielHabenicht commented on July 23, 2024 1

IChecker and friends follow EnoChecker and form a new project, e.g. EnoChecker.Core.

Are you sure you want another package for Enochecker? I would just publish EnoChecker as it is in the new Repository. I think we both mean the same: Publishing EnoChecker as a new package.

from enoengine.

DanielHabenicht avatar DanielHabenicht commented on July 23, 2024

yep would be cool to have it in a enochecker-dotnet repository and renaming the other checkers accordingly, e.g. enochecker (which is python) to enochecker-python

from enoengine.

Trolldemorted avatar Trolldemorted commented on July 23, 2024

I agree that a refactoring is necessary. Our requirements are:

  • Code must be shared between EnoChecker, EnoEngine, EnoLauncher and EnoFlagSink
  • Class definitions must be shared between EnoLandingPage Frontend, EnoEngine and EnoLauncher (scoreboard, attackinfo)
  • Class definitions (IChecker and friends) must be shared between EnoChecker runtime and EnoChecker implementations
  • The class definitions package must be as small as possible

Therefore we could split our packages in the following way:

  • EnoCore.Models contains all basic class definitions that are shared between projects. It does not have any dependencies.
  • EnoCore depends on EnoCore.Models.
  • EnoDatabase remains like it is and depends on EnoCore.
  • All logging-related functions and methods remain in EnoCore. Engine, Launcher, FlagSink and Checker depend on it (either directly or through EnoDatabase).
  • EnoChecker is moved out of this repository.
  • IChecker and friends follow EnoChecker and form a new project, e.g. EnoChecker.Core.

from enoengine.

DanielHabenicht avatar DanielHabenicht commented on July 23, 2024

might it be useful to have PRs for refactoring this stuff?
I think you have a typo in here:
9c7139f#diff-9bc0aa9f51ff6aedff652c211fa7771aff85093ba5c42432e263d0565c8b9e34R1

And in my last PR we talked about that everything should be LF, but now we are checking for CRLF?
9c7139f#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5bR8

Whats about the dummy checker should we retain it somewhere for performance tests?

from enoengine.

Trolldemorted avatar Trolldemorted commented on July 23, 2024

I think you have a typo in here:
9c7139f#diff-9bc0aa9f51ff6aedff652c211fa7771aff85093ba5c42432e263d0565c8b9e34R1

oh thanks, I guess we'll tend to that after enowars 5 is over though

And in my last PR we talked about that everything should be LF, but now we are checking for CRLF?
9c7139f#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5bR8

No, you just commited a handful of CR files into an otherwise completely CRLF repo

Whats about the dummy checker should we retain it somewhere for performance tests?

yeah we should keep it with enochecker and provide prebuilt docker images, but that shouldn't be much work

from enoengine.

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.