src-d/guide

Define a project skeleton

dpordomingo opened this issue · 9 comments

Since we're trying to improve the way our users/developers/visitors approach our projects, I think it could be a good idea to propose a project skeleton to be followed.

Benefits of having a common skeleton already pre-defined:

  • it makes our projects more homogeneous, what lets everyone to know what to expect where,
  • it would let us start a project with all our agreed requirements ready to be fulfilled,
  • it could be also used in "starter apps" (like src-d/platform-starter)

Context:
I imported this idea from documentation at source{d} #84

In my opinion, the following could work:

project-skeleton/
├── .github
│   ├── CODE_OF_CONDUCT.md
│   ├── CODEOWNERS
│   ├── CONTRIBUTING.tpl.md
│   ├── ISSUE_TEMPLATE
│   └── PULL_REQUEST_TEMPLATE
├── DCO
├── LICENSE.apache
├── LICENSE.gpl
└── README.tmpl.md

And I'd put that directory under guide/engineering/

I somehow can't assign this issue to myself.
Can I haz the rights, @mcuadros ?

eiso commented

I happen to come across this; you have the rights now.

Thanks, @eiso

smola commented

I think this is close to a project skeleton: https://github.com/src-d/guide/tree/master/engineering/documents

It would need to add some missing files, move some others, etc.

Is there such a thing as a repo template for an org in the same way there's an issue template per repo?

smola commented

@campoy I don't think so. But you can setup your local git init.templatedir to point there so that it is used by git init. See this: https://git-template.readthedocs.io/en/latest/

Ok, I do agree that that folder seems like a good candidate to be considered as the starting point for any repo.

Would you @smola like to update the engineering documentation to point to this directory?

Thanks

smola commented

@campoy Yes, I'll update docs and restructure the directory a little bit.