Skip to content
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

Add custom transport to allow wrapping with any command #61

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hussainweb
Copy link

Overview

This pull request:

Q A
Bug fix? no
New feature? yes
Has tests? yes
BC breaks? no
Deprecations? no

Summary

This adds a new option to site aliases which lets users specify any command to wrap invoked processes (such as drush).

Description

More details in #52.

*/
public function check(SiteAliasInterface $siteAlias)
{
return $siteAlias->has('command');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems too generic

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greg-1-anderson, I agree. I hesitated to put it in but on thinking more, it started making sense as the functionality is really that generic. That said, I am open to alternatives.

@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 78.19%. Comparing base (59f391e) to head (1f29422).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
src/Transport/CustomTransport.php 73.33% 4 Missing ⚠️
src/Factory/CustomTransportFactory.php 50.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #61      +/-   ##
============================================
- Coverage     78.41%   78.19%   -0.23%     
- Complexity      164      172       +8     
============================================
  Files            18       20       +2     
  Lines           417      431      +14     
============================================
+ Hits            327      337      +10     
- Misses           90       94       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants