linkml / linkml-project-template

A template for LinkML projects using poetry and gen-project
MIT License
9 stars 2 forks source link

Repo housekeeping ideas #2

Open sujaypatil96 opened 2 years ago

sujaypatil96 commented 2 years ago

This is a great improvement over the previously existing linkml-template repo @turbomam, thank you for this.

I had a few quick, trivial housekeeping suggestions I wanted to document in this issue:

Pass on these for now?

Discussed at 2022-03-04 LinkML call. Can revisit if necessary.

cmungall commented 2 years ago

Thanks!!!

linkml-model-template-v2

let's not do this. We can move the existing one to linkml-model-template-legacy.

We should have a single clear source of truth optio

cmungall commented 2 years ago

I renamed to https://github.com/linkml/linkml-project-template

cmungall commented 2 years ago

I now favor this layout:

Made a start:

cthoyt commented 2 years ago
  1. if you put CODE_OF_CONDUCT.md inside a .github folder, it gets picked up by GitHub
  2. the datamodel/my_project_name.py seems redundant. Why not just datamodel.py or even better just models.py
  3. Would suggest keeping the linkml folder inside src/my_project_name/ if you want it to get redistributed with the package