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

Commit

Permalink
Merge branch 'release/1.6.0' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
admturner committed Jul 14, 2021
2 parents cd47824 + 2a49d88 commit 65f0cd4
Show file tree
Hide file tree
Showing 24 changed files with 3,453 additions and 1,749 deletions.
86 changes: 47 additions & 39 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,51 @@
---
name: Bug report
about: Create a report to help us improve
about: Report a bug with the HRS Blocks plugin.
---

**Describe the bug**

A clear and concise description of what the bug is.

**To reproduce**

Steps to reproduce the behavior:

1. Go to...
2. Click on...
3. Scroll down to...
4. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**Screenshots**

If applicable, add screenshots to help explain your problem.

**The system showing the bug (please complete the following information):**

- OS: [e.g. iOS, Ubuntu, Windows]
- OS Version: [e.g. 12.2, 16.04, 10]
- Browser [e.g. chrome, safari, firefox]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**

- Please add the version of WordPress you are using.
## Description
<!-- Please write a brief description of the bug. -->

## Step-by-step reproduction instructions
<!--
Please list the steps needed to reproduce the bug. For example:
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
-->

## Expected behaviour
<!-- Please describe what you expected to happen. -->

## Actual behaviour
<!-- Please describe what actually happened. -->

## Screenshots or screen recording (optional)
<!--
If possible, please upload a screenshot or screen recording which demonstrates
the bug. You can use LIEcap to create a GIF screen recording:
https://www.cockos.com/licecap/
-->

## Code snippet (optional)
<!--
If this bug is to related to a developer API, please share a code snippet that
demonstrates the issue.
For small snippets paste it directly here, or you can use GitHub Gist to share
multiple code files: https://gist.github.com
Please ensure the shared code can be used by a developer to reproduce the
issue—ideally it can be copied into a local development environment or executed
in a browser console to help debug the issue.
-->

## WordPress information
- WordPress version: <!-- e.g. "5.6.0". Find this in Tools → Site Health → Info → WordPress -->
- Are all plugins except HRS Blocks deactivated? <!-- "Yes" or "No" -->
- Are you using the HRS child theme? <!-- "Yes" or "No" -->

## Device information
- Device: <!-- e.g. "Desktop" or "iPhone 11" -->
- Operating system: <!-- e.g. "Windows 10" or "iOS 14" -->
- Browser: <!-- e.g. "Chrome 86.0" or "Mobile Safari" -->
13 changes: 6 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
## Description
<!-- Learn the overall process and best practices for pull requests at https://github.com/washingtonstateuniversity/hrswp-plugin-blocks/blob/develop/CONTRIBUTING.md. -->

## Description
<!-- Please describe what you have changed or added -->

## How has this been tested?

<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, tests run to see how -->
<!-- Include details of your testing environment, tests ran to see how -->
<!-- your change affects other areas of the code, etc. -->

## Screenshots <!-- if applicable -->

## Types of changes

<!-- What types of changes does your code introduce? -->
<!-- Bug fix (non-breaking change which fixes an issue) -->
<!-- New feature (non-breaking change which adds functionality) -->
Expand All @@ -20,7 +19,7 @@
## Checklist:

- [ ] My code is tested.
- [ ] My code follows the WordPress code style. <!-- Check code: `npm run test` -->
- [ ] My code follows the accessibility standards. <!-- Guidelines: -->
- [ ] My code has proper inline documentation. <!-- Guidelines: -->
- [ ] My code follows the WordPress code style. <!-- Check code: `npm run lint`, Guidelines: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/ -->
- [ ] My code follows the accessibility standards. <!-- Guidelines: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/ -->
- [ ] My code has proper inline documentation. <!-- Guidelines: https://developer.wordpress.org/coding-standards/inline-documentation-standards/ -->
- [ ] I've included developer documentation if appropriate.
50 changes: 44 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,57 @@ Author: Washington State University
URI: https://github.com/washingtonstateuniversity/wsuwp-plugin-hrs-courses

<!--
Changelog formatting (http://semver.org/):
Changelog formatting (https://keepachangelog.com/en/1.0.0/):
## Major.MinorAddorDeprec.Bugfix YYYY-MM-DD
## Major.MinorAddorDeprec.Bugfix (YYYY-MM-DD)
### To Do (for upcoming changes)
### Security (in case of fixed vulnerabilities)
### Fixed (for any bug fixes)
### Changed (for changes in existing functionality)
### Added (for new features)
### Changed (for changes in existing functionality)
### Deprecated (for once-stable features removed in upcoming releases)
### Removed (for deprecated features removed in this release)
### Fixed (for any bug fixes)
### Security (in case of fixed vulnerabilities)
-->

## 1.6.0 (2021-07-14)

### Added

- Create a contributing guide in `CONTRIBUTING.md`. (ba7a561)

### Changed

- Update course meta styles in block editor. (9265613)
- Replace the GPL v2 license with a GPL v3 license. (7678b6e, d19147b)
- Update issue and pull request templates. (ba7a561)
- Update status badges in `README.md` and add contributing guide info. (ba7a561)
- Upgrade copy-webpack-plugin from 8.1.1 to 9.0.1. (ef2a454)
- Upgrade @wordpress/babel-preset-default from 5.2.2 to 6.2.0. (a56bf25)
- Upgrade source-map-loader from 2.0.1 to 3.0.0. (ef2a454)
- Update webpack from 5.37.0 to 5.44.0. (ef2a454)
- Update postcss from 8.2.15 to 8.3.5. (b8d00d6)
- Update eslint from 7.26.0 to 7.30.0. (8c2ab99)

### Fixed

- Fix #64 remove keepPlaceholderOnFocus. (3dc662b)

### Security

- Bump sirbrillig/phpcs-variable-analysis from 2.11.0 to 2.11.2. (13017ba)
- Bump @wordpress/npm-package-json-lint-config from 4.0.3 to 4.0.5. (8c2ab99)
- Bump @wordpress/stylelint-config from 19.0.3 to 19.0.5. (8c2ab99)
- Bump @wordpress/eslint-plugin from 9.0.4 to 9.0.6. (8c2ab99)
- Bump cssnano from 5.0.2 to 5.0.6. (b8d00d6)
- Bump @babel/core from 7.14.2 to 7.14.6. (a56bf25)
- Bump @babel/runtime from 7.14.0 to 7.14.6. (a56bf25)
- Bump webpack-cli from 4.7.0 to 4.7.2. (ef2a454)
- Bump webpack-bundle-analyzer from 4.4.1 to 4.4.2. (ef2a454)
- Bump resolve-bin from 0.4.0 to 0.4.1. (ef2a454)
- Bump @wordpress/dependency-extraction-webpack-plugin from 3.1.2 to 3.1.4. (ef2a454)
- Bump hosted-git-info from 2.7.1 to 2.8.9. (b6ae01e)
- Bump trim-newlines from 3.0.0 to 3.0.1. (e6dd241)

## 1.5.0 (2021-05-13)

### Changed
Expand Down
74 changes: 74 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributing and Maintaining

Thanks for contributing!

The following guidelines outline how to contribute and provide instructions about our workflow and release processes.

## Ways to contribute

Contributing includes reporting problems with the plugin, suggesting improvements or new features, or submitting pull requests with new code. All contributions are managed here on GitHub. Here are some ways you can help:

### Reporting bugs

If you run into an issue with the plugin, please take a look through [existing issues](https://github.com/washingtonstateuniversity/wsuwp-plugin-hrs-courses/issues) and [open a new one](https://github.com/washingtonstateuniversity/wsuwp-plugin-hrs-courses/issues/new/choose) if needed. If you're able, include steps to reproduce, environment information, and screenshots/screencasts as relevant.

### Suggesting enhancements

New features and enhancements are also managed via [issues](https://github.com/washingtonstateuniversity/wsuwp-plugin-hrs-courses/issues/new/choose). Select "Feature request" and complete the form as applicable.

### Pull requests

Pull requests represent a proposed solution to a specified problem. They should always reference an issue that describes the problem and contains discussion about the problem itself. Discussion on pull requests should be limited to the pull request itself, i.e. code review.

## Documenting changes

### Commits

Commits should be small, individual items of work. They should focus distinctly on one type of change and be separate from other features. Each commit must include a short (no more than 70 characters) commit message summarizing the change. A longer description is optional.

### Semantic Versioning & Human-friendly Changelogs

We follow the [Semantic Versioning pattern](https://semver.org/) when assigning version numbers. Each version number must have three digits (including zero) in the <major>.<minor>.<patch> format, where:

We follow the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) standard when maintaining changelogs.

## Workflow

The `develop` branch is the development branch, which means it contains the next version to be released. The `stable` branch contains the current latest release. Always work on the `develop` branch and open pull requests against `develop`.

### `Stable` and `Develop` branches

The stable branch stores the official release history, while the develop branch serves as an intermediary between feature branches and stable. All branches – except hotfixes – are branched off of develop instead of stable.

Changes should never be pushed directly to the stable branch. New features should be branched off of develop and, when complete, merged back into develop using a non-fast-forward merge.

### Develop on `feature` branches

Create a new branch from develop for development work. Feature branches should be given short names prefixed with the appropriate label for the type of change they introduce, such as `fix/name-of-issue` or `enhancement/update-to-feature`. We have a minimal set of labels, which we’ll add to and clean up as needed:

- fix: Correct something that isn’t worked.
- feature: A new feature.
- enhancement: Modification of existing functionality or features.
- documentation: Improvement or addition to documentation.
- dependencies: Changes to dependency files.
- management: Updates to project-level settings.

Make frequent, small commits to the feature branch. Frequently check develop against the feature branch to keep up with changes other developers are working on. When finished with the feature, merge the feature branch back into develop using a non-fast-forward merge (--no-ff): `git checkout develop && git merge --no-ff <label>/<feature-name>`.

### Deploying with `release` branches

When the develop branch is ready to be merged into stable as a new release, create a new `release/<version>` branch off of develop. In the `release/<version>` branch you will:

1. First bump version numbers to `<version>-rc.1`.
1. Update the changelog in CHANGELOG.md.
1. Update documentation.
1. Push the release branch to GitHub and create a pre-release targeting the release branch. Tag the pre-release `v<version>-rc.1`, title it `<version> RC 1` and copy the Changelog contents for the release into the description.
1. Use the release branch and the build RC 1 version to run tests and fix bugs. No new features will be added on this branch.
1. Once testing is finished, increment the version numbers again, to `<version>`, and update the changelog and any other docs if changes were made during testing.
1. Open a new pull request to merge `release/<version>` into stable. Title it `<version>` and complete the PR template as needed. When the pull request is ready, non-fast forward merge it into stable (or select “Merge pull request” in GitHub): `git checkout stable && git merge --no-ff release/<version> && git push origin stable`
1. Create a new release in GitHub targeting the stable branch. Tag the release `v<version>`, title it `<version>`, and copy the Changelog contents for the release into the description.
1. Last, merge stable back into develop with a --no-ff merge so that it contains any changes made on the release branch.

### Emergency patching with `hotfix` branches

Critical maintenance and fixes are implemented thorugh hotfix branches. These are the only branches made directly off the stable branch. They operate much like release branches, but their parent is the stable branch instead of develop. As soon as the fix is complete it is merged into stable and a new release is made. Then stable is merged into develop to keep both up to date.
Loading

0 comments on commit 65f0cd4

Please sign in to comment.