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

Removed ext/oci8 and ext/pdo_oci #13327

Merged
merged 5 commits into from
Feb 7, 2024
Merged

Removed ext/oci8 and ext/pdo_oci #13327

merged 5 commits into from
Feb 7, 2024

Conversation

derickr
Copy link
Member

@derickr derickr commented Feb 5, 2024

@@ -73,8 +73,6 @@ runs:
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
$([ -d "/opt/oracle/instantclient" ] && echo '--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient') \
Copy link
Contributor

Choose a reason for hiding this comment

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

The CI should be moved to the PECL repos.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll add you as a collaborator so you can do so.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you, I contribute to CI a lot, but I am not a C expert so I would be happy if someone else can do this.

The first step should be to convert GH workflows into resuable GH actions so the PECL repos can take the advantage of sanitizers, nightly jobs, ...

Also CI parts like https://github.com/php/php-src/blob/php-8.3.2/.github/workflows/nightly.yml#L81 should be moved.

To the migration, I wonder if monorepo for all pecl packages under php org was considered. IMO, managing oci8 and pdo_oci separately imply a lot of extra time and communication needed to maintain. Not mentioning keeping the changes consistent is quite resource demanding.

@SakiTakamachi
Copy link
Member

SakiTakamachi commented Feb 5, 2024

Maybe these can be removed.

https://github.com/php/php-src/blob/master/.github/actions/setup-oracle/action.yml

export PHP_OCI8_TEST_USER="system"

@Ayesh
Copy link
Member

Ayesh commented Feb 6, 2024

A few other places that we have leftover OCI references:

  • .gitignore
  • configure.ac
  • EXTENSIONS
  • .github/labeler.yml
  • build/Makefile.global
  • ini files?
  • win32/build/mkdist.php

@derickr
Copy link
Member Author

derickr commented Feb 6, 2024

Thanks @Ayesh — I left the mkdist.php one in place, as these are files that should not be bundled.

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

A php build/gen_stub.php -f --generate-optimizer-info should fix the build. The rest looks ok to me.

@derickr
Copy link
Member Author

derickr commented Feb 7, 2024

TIL that we have such a thing! Committed, and will merge.

@derickr derickr requested a review from dstogov as a code owner February 7, 2024 15:34
@derickr derickr merged commit a4d64b2 into master Feb 7, 2024
4 of 11 checks passed
@derickr derickr deleted the remove-oci branch February 7, 2024 15:34
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Apr 1, 2024
In addition to the version bump, this commit drops support for the oci8
extension within PHP itself. This extension no longer builds with the
latest dev-db/oracle-instantclient (bug 928312, the ./configure check is
looking for 32-bit libs), and upstream PHP has moved the extension to
a separate PECL repository:

 * php/php-src#13327
 * https://wiki.php.net/rfc/unbundle_imap_pspell_oci8

Anyone interested in Oracle support should work on packaging those two
PECL extensions.

Closes: https://bugs.gentoo.org/928312
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
@andrewnicols
Copy link

Just to note that this was never documented in UPGRADING.

Ayesh added a commit to Ayesh/php-src that referenced this pull request Jun 21, 2024
Fixes [13327-comment](php#13327 (comment))

Signed-off-by: Ayesh Karunaratne <ayesh@aye.sh>
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jun 21, 2024
Fixes [13327-comment](php#13327 (comment))

Signed-off-by: Ayesh Karunaratne <ayesh@aye.sh>
devnexen pushed a commit that referenced this pull request Jun 21, 2024
…le (#14619)

Fixes [13327-comment](#13327 (comment))

Signed-off-by: Ayesh Karunaratne <ayesh@aye.sh>
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