Skip to content

NielsPilgaard/geh-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository is dedicated to code that will be shared between two or more subsystems. The shared code will be published as reusable components in the form of NuGet packages on nuget.org.

Table of contents

  1. Folders structure
  2. Development

Folder Structure

Artifacts should be organized in the following folder structure:

.
├── .github/
│   ├── actions/
│   ├── workflows/
│   └── CODEOWNERS
│
├── .vscode/
│
├───docs
│   └── development.md
│
├───source/
│   ├── <NuGet package bundle>
│   ├── Directory.Build.props
│   └── stylecop.json
│
├── .editorconfig
├── .gitignore
├── .licenserc.json
├── LICENSE
└── README.md

Folder: .github

Actions and workflows spanning NuGet package bundles.

We should name workflows in a way that allows us to easily identify which package bundle they belongs to.

We use the following workflow postfix format:

  • *--bundle-publish.yml for workflows that build and tests a package bundle.

File: .github/CODEOWNERS

Define the maintainers of this repository, one of which must approve any given pull request.

Folder: .vscode/

Contains VS Code workspace configuration which is relevant for any developer working in the repository. E.g. if we want to ensure all obey a certain setting we can configure it in settings.json.

Folder: docs/

Contains notes and documentation stored in *.md files.

Folder: source/

Each NuGet package bundles should have one root folder within the source folder. For organization within each package bundle, see Organization of packages.

Any configuration files (e.g. stylecop.json) shared by all VS projects must be located in the source folder.

File: source/Directory.Build.props

VS project properties that we want to set on all VS projects must be defined in the Directory.Build.props. Some NuGet package bundles have their own because we needed to migrate to another set of properties, which we didn't want to do for all at once.

Never put NuGet package dependencies (except the style cop analyzers dependency) in this file, keep them in each VS project.

The same usually goes for VS project properties that could cause breaking changes that we cannot easily detect, like TargetFramework.

Root

Contains:

  • .editorconfig file for configuration of Formatting, Code Style and Analyzers (including StyleCop). Some NuGet package bundles have their own because we needed to migrate to another set of rules, which we didn't want to do for all at once.
  • .gitignore file that defines which files should be ignored (not checked in) by Git.
  • .licenserc.json file that defines the expected license header of certain file types.
  • LICENSE License information for all code within this repository.
  • README.md file that gives an introduction to this repository.

Development

For details on package bundle organization and development see development.md.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.9%
  • TSQL 0.1%