3.6 KB
Newer Older
Jure's avatar
Jure committed

Jure's avatar
Jure committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
PubSweet is both an open source software project ( and an open community, part of the broader Collaborative Knowledge Foundation ( (Coko) community. We welcome people of all kinds to join the community and contribute with knowledge, skills, expertise. Everyone is welcome in our chat room (

In order to contribute to PubSweet,you're expected to follow a few sensible guidelines.

## Search first, ask questions later

If you want to create a new component or if you've experienced a bug or want to discuss something in the issue trackers, please search before you start developing to find out whether it already exists.

## Discuss your contribution before you build

Please let us know about the contribution you plan to make before you start it. Either comment on a relevant existing issue, or open a new issue if you can't find an existing one. This helps us avoid duplicating effort and to ensure contributions are likely to be accepted. You can also ask in the chat room ( if you are unsure.

For contributions made as discussions and suggestions, you can at any time open an RFC in our issue tracker and PubSweet community members will be happy to jump into a discussion.

## Branches
18 19 20 21 22 23

We maintain master as the production branch and tag it with release names. If you wish to contribute to PubSweet then you need to make a branch and then issue a pull request following this procedure:
create a user account on Coko GitLab :
Clone master with git clone
Create a new branch and work off that. Please name the branch which sensibly identifies the feature you are working on. You can push the branch to Coko Gitlab at anytime.

Jure's avatar
Jure committed
## Getting your contributions merged
25 26 27 28 29 30 31 32 33 34

This is a two part process, first ask for comments, then ask for the changes to be merged.
Ask for feedback generate a Merge Request (Pull Request) from the GitLab interface but do not assign this request to anyone. You do this from the Gitlab
UI on your branch.
Look at the feedback and alter your branch as necessary.
To merge with master - generate a merge request (Pull Request) and assign to Jure Triglav. You do this from the Gitlab UI on your branch.
We encourage feedback and discussion from as many people as possible on Merge Requests!

Before merging all PRs must fulfill these three simple rules:

Jure's avatar
Jure committed
35 36 37
1.  Before a PR can be merged, it must pass the tests and CI.
2.  Before a PR can be merged, it shouldn't reduce the test coverage.
3.  Bugfixes go in PRs and a bugfix PR shouldn't be merged without a regression test.

Jure's avatar
Jure committed
## Conventional commits
40 41 42

We use conventional commits and verify that commit messages match the pattern, you can read more about it here: and here: You can use `yarn cz` to use a command-line tool that helps you with formatting your commit. We use conventional commits so that we can automatically follow semantic versioning and generate CHANGELOGs across all packages.

Jure's avatar
Jure committed
## Bug reports, feature requests, support questions
44 45 46 47 48 49 50 51

This is all done through GitLab using their native issue tracker
Visit the master issue tracker for PubSweet (
Add an issue
Tag the issue with 'support', 'bug', or 'feature' to identify the nature of your issue

Releases - follow one simple rule:

Jure's avatar
Jure committed
1.  Tests must pass.