Skip to content

chore(Auth): move the auth library to the mono repo. - #9514

Open
Hectorhammett wants to merge 1131 commits into
mainfrom
move-auth
Open

chore(Auth): move the auth library to the mono repo.#9514
Hectorhammett wants to merge 1131 commits into
mainfrom
move-auth

Conversation

@Hectorhammett

Copy link
Copy Markdown
Collaborator

We are making an effort to move all of our libraries into the mono repo.

This depends on:
googleapis/google-auth-library-php#683

This PR should basically mirror all the changes done on the auth library PR to keep the history clean.

renovate-bot and others added 30 commits December 12, 2023 09:59
SNO7E-G and others added 14 commits July 27, 2026 08:31
git-subtree-dir: Auth
git-subtree-mainline: 511226a
git-subtree-split: 9a677ec
# Conflicts:
#	Auth/src/Credentials/GCECredentials.php
#	Auth/tests/ApplicationDefaultCredentialsTest.php
#	Auth/tests/Credentials/AppIdentityCredentialsTest.php
#	Auth/tests/Credentials/ExternalAccountAuthorizedUserCredentialsTest.php
#	Auth/tests/Credentials/ExternalAccountCredentialsTest.php
#	Auth/tests/Credentials/GCECredentialsTest.php
#	Auth/tests/Credentials/IAMCredentialsTest.php
#	Auth/tests/Credentials/ImpersonatedServiceAccountCredentialsTest.php
#	Auth/tests/Credentials/InsecureCredentialsTest.php
#	Auth/tests/Credentials/RegionalAccessBoundaryTraitTest.php
#	Auth/tests/Credentials/ServiceAccountCredentialsTest.php
#	Auth/tests/Credentials/ServiceAccountJwtAccessCredentialsTest.php
#	Auth/tests/Credentials/UserRefreshCredentialsTest.php
#	Auth/tests/CredentialsLoaderTest.php
#	Auth/tests/FetchAuthTokenCacheTest.php
#	Auth/tests/OAuth2Test.php
#	Auth/tests/ObservabilityMetricsTest.php
@Hectorhammett
Hectorhammett requested a review from a team as a code owner August 20, 2026 00:12
@Hectorhammett Hectorhammett added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 20, 2026
Comment thread dev/src/Component.php
@@ -258,10 +258,6 @@ private function validateComponentFiles(): void
$this->namespaces = $namespaces;

$this->componentDependencies = [];
// All components depend on google/auth
if ($this->name !== 'auth') {
$this->componentDependencies[] = new Component('auth', self::ROOT_DIR . '/dev/vendor/google/auth');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should keep this, but instead it should be:

 $this->componentDependencies[] = new Component('Auth');

And you'll need to update the above conditional to be $this->name !== 'Auth'

@@ -8,7 +8,6 @@ language: "php"
distribution_name: "google/cloud-vision"
github_repository: "googleapis/google-cloud-php-vision"
issue_tracker: "https://github.com/googleapis/google-cloud-php-vision/issues"
xrefs: "devsite://php/auth"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we make the above change to Component, this will not be removed (which is what we want)

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

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.