Naming conventions
GitHub Repositories
Repository name:
- projects under the Ondřej Chrastina Github organization don't need any further mention of the product in their name
- If a Ondřej Chrastina related repository is managed in an external organization, use pattern
ondrejchrastina-<project-name>or at least provideondrejchrastinasomewhere in the repository name (i.e.sourcebit-source-ondrejchrastina)
<project-name> guidelines:
- Use a broad-to-specific convention to keep similar projects grouped together (e.g. delivery-sdk-js + delivery-sdk-net)
Tagging
If you want to, you can mark your repository by specific GitHub topics. This ensures, you get to the topic listing and your repository will be much more accessible.
Feel free to use multiple topics. Use any other appropriate tags for the repo. (e.g. cli, dotnet, plugin, etc.)
- ondrejchrastina - General topic used in all repositories related to Ondřej Chrastina.
- ondrejchrastina-integration - Repository helps to integrate with other services (see Integrations info for more).
- ondrejchrastina-tool Repository helps with the tooling around Ondřej Chrastina (SDKs, CLIs, Generators, Mini apps using API etc.).
- ondrejchrastina-sample Repository is showcasing the usage of Ondřej Chrastina.
Code
Namespaces
We stick to Microsoft's conventions <Company>.(<Product>|<Technology>)[.<Feature>][.<Subnamespace>]. Some examples:
<Company>.<Product>.*for projects under the Ondřej Chrastina Github organization<YourCompany>.<Product>.*for any externally maintained Ondřej Chrastina projects<Company>.<Technology>*for non-product related code. Eg.<Company>.AspNetCore.Httpif the code is related toMicrosoft.AspNetCore.Http.
Packages
- Package names should omit mentions of the technology stack, assuming it can be derived from the package manager (for example
@ondrejchrastina/delivery-sdk-jspackage hosted on npm should lose the-jssuffix) - When it makes sense, use organization prefixes (e.g. @ondrejchrastina/deliver-sdk-js)