Skip to content

[Ldap] Ldap Entry case-sensitive attribute key option #39037

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

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

karlshea
Copy link
Contributor

@karlshea karlshea commented Nov 8, 2020

Q A
Branch? 5.x
Bug fix? no
New feature? yes
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

See PR #36432

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 5.x branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot carsonbot added this to the 4.4 milestone Nov 8, 2020
@carsonbot carsonbot changed the title Ldap Entry case-sensitive attribute key option Ldap Entry case-sensitive attribute key option Nov 8, 2020
@Nyholm Nyholm added the Ldap label Nov 8, 2020
@carsonbot carsonbot changed the title Ldap Entry case-sensitive attribute key option [Ldap] Ldap Entry case-sensitive attribute key option Nov 8, 2020
Copy link
Member

@jderusse jderusse left a comment

Choose a reason for hiding this comment

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

Thank you for this PR.

This is not a bug fix, but a new feature, and should target Symfony 5.x

@carsonbot carsonbot changed the title [Ldap] Ldap Entry case-sensitive attribute key option [Ldap] Ldap Entry case-sensitive attribute key option Nov 13, 2020
@karlshea
Copy link
Contributor Author

@jderusse Thanks!

The reason for this PR is for the Drupal LDAP module, and the issue is here: https://www.drupal.org/project/ldap/issues/3126807

That module is using 4.4. Are you saying that this PR could only appear in 5.x? Or that I should target 5.x and it could be backported?

@derrabus
Copy link
Member

Are you saying that this PR could only appear in 5.x?

Yes. 4.4 is closed for features, so you would need to target 5.x.

@karlshea
Copy link
Contributor Author

Just to be clear so I can update the Drupal issue, there is no possibility of this appearing in 4.x?

@derrabus
Copy link
Member

Just to be clear so I can update the Drupal issue, there is no possibility of this appearing in 4.x?

There is no 4.x anymore. We're only bugfixing 4.4 and feature development has shifted to 5.x. I cannot make a final decision here, but to me this change does not look like a bugfix. Is it a big problem to support 5.x as well?

@karlshea
Copy link
Contributor Author

There is no 4.x anymore. We're only bugfixing 4.4 and feature development has shifted to 5.x. I cannot make a final decision here, but to me this change does not look like a bugfix. Is it a big problem to support 5.x as well?

I don't think Drupal 8/Drupal 9 support Symfony 5.x, so that module is stuck with 4.4. They're already using a fork that only contains the Ldap components though, so I'm not sure what direction the maintainer will eventually go.

@derrabus
Copy link
Member

derrabus commented Nov 14, 2020

I don't think Drupal 8/Drupal 9 support Symfony 5.x, so that module is stuck with 4.4.

The LDAP component is pretty much self-contained. You should be able to upgrade symfony/ldap to 5.2 while pinning all other components to 4.4.

@karlshea
Copy link
Contributor Author

Good to know! I'll follow up in the Drupal issue and see what they want to do.

Current test failure seems unrelated to Ldap.

Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

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

(for 5.x)

@derrabus derrabus changed the base branch from 4.4 to 5.x November 16, 2020 18:40
@derrabus derrabus force-pushed the ldap-attribute-case branch from 87a6e79 to d3b9440 Compare November 16, 2020 18:47
@derrabus
Copy link
Member

@karlshea I've force-pushed to your branch in order to resolve conflicts with 5.x and to test your changes with our new LDAP integration test suite.

@fabpot
Copy link
Member

fabpot commented Nov 27, 2020

Thank you @karlshea.

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

Successfully merging this pull request may close these issues.

6 participants