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

Remove regex package from standard library #3218

Merged
merged 7 commits into from
Jul 16, 2019
Merged

Remove regex package from standard library #3218

merged 7 commits into from
Jul 16, 2019

Conversation

SeanTAllen
Copy link
Member

The regex package is being removed from the standard library and
moved to a new home at https://github.com/ponylang/regex/ where it
will live on as an independent library.

It is being removed because it has a dependency on an external
library libpcre and that dependency makes creating release artifacts
more difficult.

At the moment we have to deal with packaging up pcre for each Linux
distro etc and they all have their own methods to do so. This
lead us to do a lot of work on supporting distro specific packaging.
That has turned out to be too much work. We are moving to having
a single glibc Linux friendly .tar.gz that can be done to install
Pony.

To faciliate this move, we decided that we want to remove items from
the standard library that depend on external libraries like pcre.
Full conversation about the decision is available in the audio of
the Pony development sync July 9, 2019 audio that you can download
from: https://sync-recordings.ponylang.io/r/2019_07_09.m4a

@SeanTAllen SeanTAllen requested review from chalcolith and jemc July 14, 2019 20:27
@SeanTAllen
Copy link
Member Author

@kulibali Can you verify I did the correct changes with the Windows build script? I assume that CI passing is "good enough" but I'm not really sure about that.

@SeanTAllen
Copy link
Member Author

We need to update a lot of CI docker images (and other docker images) once this is merged. I can handle that.

@SeanTAllen SeanTAllen mentioned this pull request Jul 14, 2019
@SeanTAllen
Copy link
Member Author

I see what have glob that depends on regex. I'll be creating a ponylang glob repo for it to live in and get that reviewed and merged and then come back and update this PR to have a commit that removes glob as well.

@kulibali @jemc Please review this knowing that change is coming as well.

@SeanTAllen
Copy link
Member Author

I think what I will do is open a PR to remove glob and then rebase this over that once it's merged.

The `regex` package is being removed from the standard library and
moved to a new home at https://github.com/ponylang/regex/ where it
will live on as an independent library.

It is being removed because it has a dependency on an external
library libpcre and that dependency makes creating release artifacts
more difficult.

At the moment we have to deal with packaging up pcre for each Linux
distro etc and they all have their own methods to do so. This
lead us to do a lot of work on supporting distro specific packaging.
That has turned out to be too much work. We are moving to having
a single glibc Linux friendly .tar.gz that can be done to install
Pony.

To faciliate this move, we decided that we want to remove items from
the standard library that depend on external libraries like pcre.
Full conversation about the decision is available in the audio of
the Pony development sync July 9, 2019 audio that you can download
from: https://sync-recordings.ponylang.io/r/2019_07_09.m4a
@SeanTAllen
Copy link
Member Author

Ive reverted the wscript changes as I see those can't be done until both PRCE and LIBRESSL are removed.
Removing Gordan as a reviewer.

@SeanTAllen SeanTAllen requested review from Theodus and removed request for chalcolith July 15, 2019 23:04
It seems that removing the pcre2 install loses zlib and ncurses support
for some reason. Trying a couple additions to add those.
Copy link
Contributor

@Theodus Theodus left a comment

Choose a reason for hiding this comment

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

LGTM

@SeanTAllen SeanTAllen added the do not merge This PR should not be merged at this time label Jul 16, 2019
@SeanTAllen SeanTAllen merged commit e7150b6 into master Jul 16, 2019
@SeanTAllen SeanTAllen deleted the bye-bye-regex branch July 16, 2019 16:57
@SeanTAllen SeanTAllen removed the do not merge This PR should not be merged at this time label Jul 16, 2019
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