-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove cucumber dependency to wire #46
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 tasks
6 tasks
luke-hill
reviewed
Jul 28, 2021
luke-hill
approved these changes
Jul 28, 2021
I've added an UPGRADING.md document, and change the version numbers of incoming cucumber from 8.0.0 and 9.0.0 to 7.1.0 and 8.0.0. |
luke-hill
approved these changes
Jul 29, 2021
mattwynne
added a commit
that referenced
this pull request
Aug 9, 2021
* Remove cucumber dependency to wire (#46) * Update dependencies to work with dedicated branch of cucumber * Add the registry in the AfterConfiguration hook * Update features to load cucumber/wire as part of the tests * Allow usage with future version of cucumber-ruby * Emphase 'built-in' in UPGRADING documentation * Setup github workflow * Remove windows from GH Workflow * Remove jruby from GH Workflow * Schedule GH workflow at 5am every day * [skip ci]Rename GH workflow * Use quotes with ruby 3.0 * Make the changelog more parseable * Remove circle-ci (#47) * Add pre-release workflow * Prepare release 6.1.0 * Reformat CHANGELOG.md to match `changelog` tool format See https://github.com/rcmachado/changelog * Move changelog-action to cucumber-actions org * Delegate to cucumber-actions/get-released-version * Simplifyy We don't have "v"s in CHANGELOG headers to no need to clean up * Fix release label for cucumber-actions/get-released-version * Update UPGRADING.md Finally, the deprecation will happen in a cucumber v8.0.0 and removed in v9.0.0 due to breaking changes. * Update GH Workflow to reduce chances of flaky jobs * Fix GH Workflow * Add release workflow for automating releases of the gem (#49) * Add release workflow for automating releases of the gem * Use bare metal `gem` commands to publish Why? * reduced security exposure * let the `gh release` command create the tag * simpler * Narrow scope of GITHUB_TOKEN * Simplfy how we handle the version number to be released * Use environment variable to pass API key to `gem push` See https://guides.rubygems.org/command-reference/ * Ping the core team to review a release PR * Update docs about how to release Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> Co-authored-by: Matt Wynne <matt@cucumber.io>
mattwynne
added a commit
that referenced
this pull request
Aug 13, 2021
* Release v6.1.0 (#48) * Remove cucumber dependency to wire (#46) * Update dependencies to work with dedicated branch of cucumber * Add the registry in the AfterConfiguration hook * Update features to load cucumber/wire as part of the tests * Allow usage with future version of cucumber-ruby * Emphase 'built-in' in UPGRADING documentation * Setup github workflow * Remove windows from GH Workflow * Remove jruby from GH Workflow * Schedule GH workflow at 5am every day * [skip ci]Rename GH workflow * Use quotes with ruby 3.0 * Make the changelog more parseable * Remove circle-ci (#47) * Add pre-release workflow * Prepare release 6.1.0 * Reformat CHANGELOG.md to match `changelog` tool format See https://github.com/rcmachado/changelog * Move changelog-action to cucumber-actions org * Delegate to cucumber-actions/get-released-version * Simplifyy We don't have "v"s in CHANGELOG headers to no need to clean up * Fix release label for cucumber-actions/get-released-version * Update UPGRADING.md Finally, the deprecation will happen in a cucumber v8.0.0 and removed in v9.0.0 due to breaking changes. * Update GH Workflow to reduce chances of flaky jobs * Fix GH Workflow * Add release workflow for automating releases of the gem (#49) * Add release workflow for automating releases of the gem * Use bare metal `gem` commands to publish Why? * reduced security exposure * let the `gh release` command create the tag * simpler * Narrow scope of GITHUB_TOKEN * Simplfy how we handle the version number to be released * Use environment variable to pass API key to `gem push` See https://guides.rubygems.org/command-reference/ * Ping the core team to review a release PR * Update docs about how to release Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> Co-authored-by: Matt Wynne <matt@cucumber.io> * See if this helps the release workflow to trigger I don't see the difference, but it's what we have in the one on cucumber/build * Separate gem build and gem push Try adding specific gem name to gem build command * Create GitHub Release after gem push has succeeded * Use a newer Ruby In the hope that it will install a newer version of RubyGems that respects the GEM_HOST_API_KEY env var * Create title for GH Release Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com>
aurelien-reeves
added a commit
that referenced
this pull request
Aug 27, 2021
* Final iterations on release script (#51) * Release v6.1.0 (#48) * Remove cucumber dependency to wire (#46) * Update dependencies to work with dedicated branch of cucumber * Add the registry in the AfterConfiguration hook * Update features to load cucumber/wire as part of the tests * Allow usage with future version of cucumber-ruby * Emphase 'built-in' in UPGRADING documentation * Setup github workflow * Remove windows from GH Workflow * Remove jruby from GH Workflow * Schedule GH workflow at 5am every day * [skip ci]Rename GH workflow * Use quotes with ruby 3.0 * Make the changelog more parseable * Remove circle-ci (#47) * Add pre-release workflow * Prepare release 6.1.0 * Reformat CHANGELOG.md to match `changelog` tool format See https://github.com/rcmachado/changelog * Move changelog-action to cucumber-actions org * Delegate to cucumber-actions/get-released-version * Simplifyy We don't have "v"s in CHANGELOG headers to no need to clean up * Fix release label for cucumber-actions/get-released-version * Update UPGRADING.md Finally, the deprecation will happen in a cucumber v8.0.0 and removed in v9.0.0 due to breaking changes. * Update GH Workflow to reduce chances of flaky jobs * Fix GH Workflow * Add release workflow for automating releases of the gem (#49) * Add release workflow for automating releases of the gem * Use bare metal `gem` commands to publish Why? * reduced security exposure * let the `gh release` command create the tag * simpler * Narrow scope of GITHUB_TOKEN * Simplfy how we handle the version number to be released * Use environment variable to pass API key to `gem push` See https://guides.rubygems.org/command-reference/ * Ping the core team to review a release PR * Update docs about how to release Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> Co-authored-by: Matt Wynne <matt@cucumber.io> * See if this helps the release workflow to trigger I don't see the difference, but it's what we have in the one on cucumber/build * Separate gem build and gem push Try adding specific gem name to gem build command * Create GitHub Release after gem push has succeeded * Use a newer Ruby In the hope that it will install a newer version of RubyGems that respects the GEM_HOST_API_KEY env var * Create title for GH Release Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> * CI: Refer to cucumber-actions/ Action (#50) I learned that the repo had been transferred from the mattwynne/ prefix to the cucumber-actions/ one. This change makes the usage uniform in this YAML file. Co-authored-by: Matt Wynne <matt@cucumber.io> * Ensure release notes can contain backticks * Upgrade release script to use the new publish-rubygem action * Upgrade pre-release script to use new create-release-pr action * Ensure we tag the right commit when we release * CI: Fix comment typo * Use IntallPlugin rathern than AfterConfiguration hook (#52) * Use IntallPlugin rathern than AfterConfiguration * Avoid usage of InstallPlugin if it is not defined * Release 6.1.1 * Fix pre-release workflow Co-authored-by: Matt Wynne <matt@cucumber.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
aurelien-reeves
added a commit
that referenced
this pull request
Aug 27, 2021
* Final iterations on release script (#51) * Release v6.1.0 (#48) * Remove cucumber dependency to wire (#46) * Update dependencies to work with dedicated branch of cucumber * Add the registry in the AfterConfiguration hook * Update features to load cucumber/wire as part of the tests * Allow usage with future version of cucumber-ruby * Emphase 'built-in' in UPGRADING documentation * Setup github workflow * Remove windows from GH Workflow * Remove jruby from GH Workflow * Schedule GH workflow at 5am every day * [skip ci]Rename GH workflow * Use quotes with ruby 3.0 * Make the changelog more parseable * Remove circle-ci (#47) * Add pre-release workflow * Prepare release 6.1.0 * Reformat CHANGELOG.md to match `changelog` tool format See https://github.com/rcmachado/changelog * Move changelog-action to cucumber-actions org * Delegate to cucumber-actions/get-released-version * Simplifyy We don't have "v"s in CHANGELOG headers to no need to clean up * Fix release label for cucumber-actions/get-released-version * Update UPGRADING.md Finally, the deprecation will happen in a cucumber v8.0.0 and removed in v9.0.0 due to breaking changes. * Update GH Workflow to reduce chances of flaky jobs * Fix GH Workflow * Add release workflow for automating releases of the gem (#49) * Add release workflow for automating releases of the gem * Use bare metal `gem` commands to publish Why? * reduced security exposure * let the `gh release` command create the tag * simpler * Narrow scope of GITHUB_TOKEN * Simplfy how we handle the version number to be released * Use environment variable to pass API key to `gem push` See https://guides.rubygems.org/command-reference/ * Ping the core team to review a release PR * Update docs about how to release Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> Co-authored-by: Matt Wynne <matt@cucumber.io> * See if this helps the release workflow to trigger I don't see the difference, but it's what we have in the one on cucumber/build * Separate gem build and gem push Try adding specific gem name to gem build command * Create GitHub Release after gem push has succeeded * Use a newer Ruby In the hope that it will install a newer version of RubyGems that respects the GEM_HOST_API_KEY env var * Create title for GH Release Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Aurélien Reeves <aurelien.reeves@smartbear.com> * CI: Refer to cucumber-actions/ Action (#50) I learned that the repo had been transferred from the mattwynne/ prefix to the cucumber-actions/ one. This change makes the usage uniform in this YAML file. Co-authored-by: Matt Wynne <matt@cucumber.io> * Ensure release notes can contain backticks * Upgrade release script to use the new publish-rubygem action * Upgrade pre-release script to use new create-release-pr action * Ensure we tag the right commit when we release * CI: Fix comment typo * Use IntallPlugin rathern than AfterConfiguration hook (#52) * Use IntallPlugin rathern than AfterConfiguration * Avoid usage of InstallPlugin if it is not defined * Release 6.1.1 * Fix pre-release workflow Co-authored-by: Matt Wynne <matt@cucumber.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Refs. cucumber/cucumber-ruby#1562
cucumber-ruby-wire has been design to be an external optional dependency to cucumber-ruby. This is not the case yet and it is responsible for adding complexity in the dependency tree for cucumber-ruby.
This PR aims to make sure cucumber-ruby-wire works with a version of cucumber-ruby which does not depend on wire.
There will certainly be a deprecation phase before definitely removing dependency of cucumber-wire from cucumber.
Type of change
work as expected)
Note to other contributors
The addition of a "require_wire.rb" in the feature's backgrounds is due to the use of Aruba. In a regular use case that
require 'cucumber/wire'
would be done once by the user at the beginning of the test-suite. But with Aruba we are building a test-suite during the test-suite 😵Still, we have to make sure it is working as expected in a regular use case, and document it as well.
Checklist: