Skip to content

Latest commit

 

History

History
90 lines (71 loc) · 3.58 KB

README.md

File metadata and controls

90 lines (71 loc) · 3.58 KB

OS2Web

Table of contents

Description

OS2Web is a drupal based solution for creating Drupal projects for Danish Municipalities.

License

All OS2Web projects are using EUPL v1.2 License.

Testing and CI

This project has continuous integration builds that are performing by Travis CI. To improve code quality and integration possibilities there are using set of following tools:

For more details about travis-ci continuous integration builds see .travis-ci.yml file.

NOTE: Project doesn't have its own PHPUnit test. This is a part of future development scope.

Git guideline

Project use default approach for branch naming.

Bracnhes

  • develop - general development branch (Default).
  • develop-2.x - development branch for version 2.x. (if requires)
  • master - stable version of code.

There is no specific rules for feature branch names. However we recommend use github issue ticket number as prefix for your branch name.

Tags

Release tags should be created from related branches. Tag name space should follow Semantic Versioning rules. Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards compatible manner, and
  • PATCH version when you make backwards compatible bug fixes.

Outdated approach

Since OS2Forms projects are Drupal friendly, there was used drupal-friendly git branch/tag names like 8.x, 8.x-2.x. Please keep use it or ask about changes in case this names are not compatible with changes you have.

For new repositories it was decided to switch back to github, composer way to for branch names.

Code review

New changes or bugfixes in existing codebase have to be added to repository through general code review process. To request a code review, use the following process:

  1. Add Github pull request from the feature/bugfix branch to 8.x or other related dev branch.
  2. Request code review from one of project contributor.
  3. Reviewer approves, requests changes or rejects pull request.
  4. Discuss/Add requested changes or merge approved pull request.

NOTE: There are preconditions that have to be met before accepting a pull request:

  • All requested changes have to be done
  • All discussion have to be resolved
  • Pull request should have green Github actions/Travis CI build status.

Code of Conduct

See Drupal community code of Conduct

Links