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

Replacement of creof/wkt-parser to not depend on doctrine/lexer:~1.0 #36

Closed
misaert opened this issue Mar 8, 2023 · 13 comments
Closed
Labels
dependencies help wanted Extra attention is needed

Comments

@misaert
Copy link

misaert commented Mar 8, 2023

Hi,

Have you planned to replace creof/wkt-parser? Because it creates a dependency on doctrine/lexer:~1.0 and this package has now 2 new major versions. Several packages require at least doctrine/lexer:^2 like doctrine/annotations:2.0.1 and friendsofphp/php-cs-fixer:v3.14.4 require doctrine/annotations:^2.

I created an issue on this package too.
Thanks,

Mickaël

@Alexandre-T
Copy link
Contributor

Hi,

Thank you for your interest. I would like to improve this library, but days are too short ^^. First of all, I need to look how many times lexer is called in wkt-parser. Then I need to evaluate how upgrade will be easy. Of course, I will appreciate if anyone can push a request, but contributors are rare, contributions even rarer. If someone can start and evaluate the impact on code, it would help me to estimate the time needed for this improvement

@Alexandre-T Alexandre-T added help wanted Extra attention is needed dependencies labels Mar 16, 2023
@axi
Copy link
Contributor

axi commented Mar 29, 2023

I created a pull request on creof/wkt-parser, let's see what happen

@ellisgl
Copy link

ellisgl commented Mar 29, 2023

@axi I don't think you are going to get anywhere - since it doesn't look like creof has updated these packeages in like 6-7 years, with PRs outstanding also for years.

I would create a hard fork of the library like longitiude-one did with doctrine-spatial.

@axi
Copy link
Contributor

axi commented Mar 30, 2023

@Alexandre-T would that be ok for longitude-one to hard-fork creof/wkt-parser same way it forked doctrine-spatial ?

@Alexandre-T
Copy link
Contributor

Done : https://github.com/longitude-one/wkt-parser

@ellisgl
Copy link

ellisgl commented Apr 1, 2023

Next we need to updated it, rename it and, get it up on Packagist and then link to it!!

@Alexandre-T
Copy link
Contributor

Composer is updated, the package is renamed and declared on packagist.
I try to work on it on Monday. IMO we can focus on compatibility with PHP 8.1+ only. Do you agree?

@ellisgl
Copy link

ellisgl commented Apr 1, 2023

Yeah, getting updated to the minimum supported version of PHP makes sense.

@axi
Copy link
Contributor

axi commented Apr 12, 2023

A start here #37

@Alexandre-T
Copy link
Contributor

I still have to tag a new major version. I try to check tags this week-end.

@misaert
Copy link
Author

misaert commented May 31, 2023

Hi @Alexandre-T,

Have you planned the release of the new version?

Thank you,

Mickaël

@Alexandre-T
Copy link
Contributor

Alexandre-T commented Jun 4, 2023

Hi @misaert

The 4.0.0-rc2 is released. This tag is declared as a pre-production release.

If there are no new issues linked to this RC, we will be able to release the 4.0.0.

@Alexandre-T
Copy link
Contributor

No issues for two weeks, 4.0.0 released. 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants