Viridia-Pexon / viridia

Apache License 2.0
2 stars 0 forks source link

Define Folder Structure for Repositories #18

Open sebastian-grabsch-pexon opened 1 week ago

sebastian-grabsch-pexon commented 1 week ago

Situation: What is the current situation you want to enhance?

We don't have a defined folder structure for the repositories. This makes it hard to define code owners.

Task: What is the general task?

Research folder structure best-practices and define a structure for our main repositories.

Action: List step-by-step todos or actions on how to do the task

Result: What is the desired output/goal, you want to reach?

Defined folder structure and enable code owner definition

sebastian-grabsch-pexon commented 1 day ago
JaegerP commented 10 hours ago

@sebastian-grabsch-pexon Wollten wir nicht mit Go arbeiten? Python ist für mich auch fein, wir sollen es nur mal klären, bevor wir loslegen.

sebastian-grabsch-pexon commented 10 hours ago

Achso ja doch klar, wir arbeiten mit Go.

JaegerP commented 10 hours ago

Auch bei den Ordnern möchte ich gerne meckern. Wir brauchen ja einen Controller, einen Host Agent, und wahrscheinlich einen Config Manager. Das sollten unterschiedliche Repos werden am besten.

Die Go Testing Library gibt auch vor, dass die test files mit in den Modulen liegen - also brauchen wir keinen eigenen Ordner für Tests

sebastian-grabsch-pexon commented 10 hours ago

"The test file can be in the same package as the one being tested, or in a corresponding package with the suffix "_test"." Soweit ich das verstehe kann der auch separat liegen. Ich finds in der Regel sehr angenehm, die Tests abgegrenzt zu haben. Ich freue mich aber auch über Input bzgl Best Practices, da ich ja auch Go Newbie bin