Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit bee0873

Browse files
authored
Merge pull request #2454 from filrak/new_release_cycle
New release cycle
2 parents cec5ee0 + 09192aa commit bee0873

File tree

4 files changed

+33
-16
lines changed

4 files changed

+33
-16
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ We've marked some issues as "Easy first pick" to make it easier for newcomers to
55

66
Thank you for your interest in, and engagement!
77

8-
Before you type an issue please check:
9-
10-
Main readme - https://github.com/DivanteLtd/vue-storefront/blob/master/README.md
8+
Before you type an issue please read about out [release lifecycle](https://docs.vuestorefront.io/guide/basics/project-structure.html)
119

1210
# Branches
1311

14-
You should fork the project or create branch for new features.
1512
The main branches used by the core team are:
1613

1714
- master - where we store the stable release of the app (that can be deployed to our demo instances),
1815
- develop - the most recent version of the app - kind of "nightly" build.
16+
- RC-x (`x` is current version) - release candidate branch with features that will land in next version.
1917

20-
Please use "develop" for development purposes as the "master" can be merged just as the new release is coming out (about once a month)!
18+
Please use "develop" or "RC" for development purposes as the "master" can be merged just as the new release is coming out (about once a month)!
2119

2220
## Issue reporting guidelines:
2321

@@ -28,14 +26,11 @@ Always define type of issue:
2826
While writing issues, be as specific as possible
2927
All requests regarding support with implementation or application setup should be sent to [email protected]
3028

31-
If the issue is about some changes with particular theme prefix the issue with theme name (ex. "[default] change product tile background color" )
32-
33-
## TypeScript?
29+
**Tag your issues properly**. If you found a bug tag it with `bug` label. If you're requesting new feature tag it with `feature request` label.
3430

35-
We're introducing TypeScript to Vue Storefront core, so You can use it where it's aproprierate - but please be pragmatic.
36-
Here are some thoughts on how to use TS features in Vue Storefront: [TypeScript Action Plan](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/TypeScript%20Action%20Plan.md).
31+
## Git flow
3732

38-
## Pull request checklist
33+
## Pull request Checklist
3934

4035
Here’s how to submit a pull request. <b>Pull request that dont meet this requirements will not be merged.</b>
4136

@@ -44,15 +39,17 @@ Here’s how to submit a pull request. <b>Pull request that dont meet this requi
4439
2. Create a branch for your edits. Use the following branch naming conventions:
4540
* bugfix/task-title
4641
* feature/task-name
47-
3. Describe what you've changed. Include screenshots of the new feature or the before and after if your changes include differences in HTML/CSS. Drag and drop the images into the body of your pull request.
42+
3. Use Pull Request template and fill as much fields as possible to describe your solution.
4843
4. Reference any relevant issues or supporting documentation in your PR (ex. “Issue: 39. Issue title.”).
4944
5. If you are adding new feature provide documentation along with the PR. Also add it to [upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Upgrade%20notes.md)
5045
6. If you are removing/renaming something or changing it's behavior also include it in [upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Upgrade%20notes.md)
5146
7. Test your changes! Run your changes against any existing tests and create new ones when needed. Make sure your changes don’t break the existing project. Make sure that your branch is passing Travis CI build.
5247
8. If you have found a potential security vulnerability, please DO NOT report it on the public issue tracker. Instead, send it to us at [email protected]. We will work with you to verify and fix it as soon as possible.
5348
(https://github.com/DivanteLtd/vue-storefront/blob/master/README.md#documentation--table-of-contents))
5449

55-
## New features
56-
57-
If you are making any new feature make sure it's adjusted to our new, modular approach. Read more [here](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/about-modules.md)
50+
## Acceptance criteria
5851

52+
Your pull request will be merged after meeting following criteria:
53+
- Everything from "Pull Request Checklist"
54+
- PR is proposed to appropiate branch
55+
- There are at least two approvals from core team members

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = {
3434
title: 'Basics',
3535
collapsable: false,
3636
children: [
37+
'basics/release-cycle',
3738
'basics/project-structure',
3839
'basics/configuration',
3940
'basics/contributing',

docs/deploy.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
set -e
55

66
# build
7-
npm i
87
npm run docs:build
98

109
# navigate into the build output directory

docs/guide/basics/release-cycle.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Release Cycle
2+
3+
This document describes how Vue Storefront code versions are released. You'll learn how the release process looks like, what are the acceptance criteria, what is our git flow and which branch to use as a stable one.
4+
5+
# How Vue Storefront versions are released
6+
7+
From version 1.9 we release each of VSF versions in two phases
8+
- **Release Candidate phase (RC)** also called "feature version". This version contains all the new features, improvements and additions to the API along with minor bugfixes. New features and additions are merged and released **only** during this phase. The API of features introduced during this phase may slightly change.
9+
- **Stabilization phase** is the one that ends up with production-ready version. During this phase we do only stabilization and bugfixing for previously introduced features. No new features and API additions are merged. PRs from RC version are tested and their API is simplified and/or adjusted according to feedback.
10+
11+
So assuming next version is 1.x the two-month cycle will look as following:
12+
- v1.x-RC.y - unstable version with cutting-edge features ready to test and feedback
13+
- v1.x.y - stable version of the software **ready for production use**.
14+
15+
# How new features are merged
16+
17+
During RC features Pull Request with new features after feedback and acceptance are normally merged to `develop` branch.
18+
After entering the Stabilization Phase we are tagging current develop branch, creating a `RC-x` (where `x` is a number of current version) branch from it and working on stabilization there.
19+
During the stabilization phase new features are merged to develop branch and will be merged on next `RC` phase.
20+

0 commit comments

Comments
 (0)