Skip to content

Commit 7afd70c

Browse files
authored
Merge pull request #159 from TuringLang/devmotion-patch-1
Add ColPrac guide
2 parents 4432591 + 3cfca26 commit 7afd70c

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
17-
run: julia -e 'using CompatHelper; CompatHelper.main(; master_branch = "dev", subdirs = ["", "test"])'
17+
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs = ["", "test"])'

.github/workflows/pullrequest.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Pull request to dev on push to master and new tags
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- v*
8+
jobs:
9+
auto-pull-request:
10+
name: PullRequestAction
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: pull-request-action
14+
uses: vsoch/[email protected]
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
PULL_REQUEST_BRANCH: "dev"

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
1-
# DynamicPPL
1+
# DynamicPPL.jl
22

33
[![Build Status](https://travis-ci.com/TuringLang/DynamicPPL.jl.svg?branch=master)](https://travis-ci.com/TuringLang/DynamicPPL.jl)
4+
[![Build Status](https://github.com/TuringLang/DynamicPPL.jl/workflows/DynamicPPL-CI/badge.svg)](https://github.com/TuringLang/DynamicPPL.jl/actions?query=workflow%3ADynamicPPL-CI+branch%3Amaster)
45
[![Codecov](https://codecov.io/gh/TuringLang/DynamicPPL.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/TuringLang/DynamicPPL.jl)
6+
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://colprac.sciml.ai/)
7+
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/24589)
58

69
A domain-specific language and backend for probabilistic programming languages, used by [Turing.jl](https://github.com/TuringLang/Turing.jl).
10+
11+
## Do you want to contribute?
12+
13+
If you feel you have some relevant skills and are interested in contributing then please do get in touch and open an issue on Github.
14+
15+
### Contributor's Guide
16+
17+
This project follows the [![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://colprac.sciml.ai/), apart from the following slight variation:
18+
19+
- The master branch contains the most recent release at any point in time. All non-breaking changes (bug fixes etc.) are merged directly into master and a new patch version is released immediately.
20+
- A separate dev branch contains all breaking changes, and is merged into master when a minor version release happens.
21+
22+
For instance, suppose we are currently on version 0.13.5.
23+
24+
- If someone produces a bug fix, it is merged directly into master and bumps the version to 0.13.6. This change is also merged into dev so that it remains up-to-date with master.
25+
- If someone is working on a new feature that is not breaking (performance-related, fancy new syntax that is backwards-compatible etc.), the same happens.
26+
- New breaking changes are merged into dev until a release is ready to go, at which point dev is merged into master and version 0.14 is released.
27+
28+
### Bors
29+
30+
This project uses [Bors](https://bors.tech/) for merging PRs. Bors is a Github bot that prevents merge skew / semantic merge conflicts by testing
31+
the exact integration of pull requests before merging them.
32+
33+
When a PR is good enough for merging and has been approved by at least one reviewer, instead of merging immediately, it is added to the merge queue
34+
by commenting with `bors r+`. The Bors bot merges the pull request into a staging area, and runs the CI tests. If tests pass, the commit in the staging
35+
area is copied to the target branch (i.e., usually master).
36+
37+
PRs can be tested by adding a comment with `bors try`. Additional commands can be found in the [Bors documentation](https://bors.tech/documentation/).

0 commit comments

Comments
 (0)