Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move final few dependencies to Composer #63

Merged
merged 6 commits into from
Sep 16, 2019
Merged

Conversation

nathanielks
Copy link
Contributor

Title says it all! Depends on humanmade/altis-core#54

Copy link

@hm-linter hm-linter bot left a comment

Choose a reason for hiding this comment

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

Linting failed (3 errors, 6 warnings).

9 notices occurred in your codebase, but none on files/lines included in this PR.

@nathanielks
Copy link
Contributor Author

Any guidance on how y'all would like to deal with the linting errors would be appreciated! I've seen the namespace error on other projects, but I'm not sure how to resolve it. I can see us ignoring the json_encode and Cavalcade errors, but wanted to confirm before I do.

@joehoyle
Copy link
Member

@nathanielks I think most of those are ones I'd add // @codingStandardsIgnoreLine as I think they are valid in most cases, those don't need to be fixed in this PR though.

"humanmade/wordpress-pecl-memcached-object-cache": "2.0.0"
"humanmade/wordpress-pecl-memcached-object-cache": "2.0.0",
"humanmade/batcache": "1.3.0",
"stuttter/ludicrousdb": "4.2.0",
Copy link
Member

Choose a reason for hiding this comment

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

Could you maybe run a diff on 4.2.0 just to make sure we didn't have any local modifications to ludicrous?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen Shot 2019-08-30 at 11 33 45 AM

Looks like perhaps a copy went wrong at some point? Those green files are files that are in nested directories, but the plugin itself beyond those are the same. The only file we directly reference is ludicrousdb/includes/class-ludicrousdb.php

@joehoyle
Copy link
Member

joehoyle commented Sep 2, 2019

Ok good stuff.

Copy link
Member

@joehoyle joehoyle left a comment

Choose a reason for hiding this comment

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

It looks like the release for aws-ses you pushed in https://github.com/humanmade/aws-ses-wp-mail/tree/1.0.0 includes the AWS SDK, which we don't want to do, as that is dead code that won't be used. Typically on other projects, we've have something like a packagist branch where we'd remove that, and tag the releases from that.

@nathanielks
Copy link
Contributor Author

@joehoyle I wonder if it's worth just updating it to be a composer-only package and ship that as 1.1? Having to maintain a separate branch would be annoying.

@joehoyle
Copy link
Member

joehoyle commented Sep 12, 2019 via email

@joehoyle
Copy link
Member

I opened a PR at humanmade/aws-ses-wp-mail#41 to remove the AWS SDK from the AWS-SES plugin.

@nathanielks
Copy link
Contributor Author

I've cut 1.1.0 for aws-ses-wp-mail and updated the composer dep here.

@joehoyle joehoyle merged commit 7772845 into master Sep 16, 2019
@joehoyle joehoyle deleted the use-composer-deps branch September 16, 2019 07:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants