Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
// SPDX-FileCopyrightText: 2024 Shun Sakai
|
|
//
|
|
// SPDX-License-Identifier: CC-BY-4.0
|
|
|
|
= Contribution Guide
|
|
:git-flow-url: https://nvie.com/posts/a-successful-git-branching-model/
|
|
:commit-messages-guide-url: https://github.com/RomuloOliveira/commit-messages-guide
|
|
:conventionalcommits-url: https://www.conventionalcommits.org/en/v1.0.0/
|
|
|
|
Thank you for your interest in contributing to this project! If you would like
|
|
to contribute to this project, please follow the instructions below if possible.
|
|
|
|
== Branching model
|
|
|
|
The branching model of this project is based on the {git-flow-url}[git-flow].
|
|
|
|
== Style guides
|
|
|
|
=== Commit message
|
|
|
|
Please see the {commit-messages-guide-url}[Commit messages guide] and the
|
|
{conventionalcommits-url}[Conventional Commits].
|
|
|
|
== Submitting a pull request
|
|
|
|
. Create a working branch from the `develop` branch. The branch name should be
|
|
something other than `develop` or `master`.
|
|
. Create your patch. If your change is a feature or a bugfix, please add a test
|
|
case if possible. Note that the change must pass the CI.
|
|
. Please update the copyright information if possible. This project is
|
|
compliant with version 3.3 of the
|
|
https://reuse.software/spec-3.3/[_REUSE Specification_].
|
|
https://github.com/fsfe/reuse-tool[`reuse`] is useful for updating the
|
|
copyright information.
|
|
. Please update the link:CHANGELOG.adoc[Changelog] if possible.
|
|
. Please read and agree to follow the link:CODE_OF_CONDUCT.md[Code of Conduct].
|
|
|
|
== Development
|
|
|
|
=== Useful development tools
|
|
|
|
The https://github.com/casey/just[just] command runner can be used. Run
|
|
`just --list` for more details.
|
|
|
|
.Run tests
|
|
[source,sh]
|
|
----
|
|
just test
|
|
----
|
|
|
|
.Run the formatter
|
|
[source,sh]
|
|
----
|
|
just fmt
|
|
----
|
|
|
|
.Run the linter
|
|
[source,sh]
|
|
----
|
|
just lint
|
|
----
|