diff --git a/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap b/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap index 91d2b77bfef576b5d5ebe567c422c224ffe18f88..a091611818827620ed258418f0c4bbe73b5beb54 100644 --- a/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap +++ b/lib/modules/datasource/packagist/__snapshots__/index.spec.ts.snap @@ -2,7 +2,7 @@ exports[`modules/datasource/packagist/index > getReleases > adds packagist source implicitly 1`] = ` { - "registryUrl": "https://packagist.org", + "registryUrl": "https://repo.packagist.org", "releases": [ { "gitRef": "v1.0", @@ -106,7 +106,7 @@ exports[`modules/datasource/packagist/index > getReleases > adds packagist sourc exports[`modules/datasource/packagist/index > getReleases > processes real versioned data 1`] = ` { - "registryUrl": "https://packagist.org", + "registryUrl": "https://repo.packagist.org", "releases": [ { "gitRef": "v1.0", diff --git a/lib/modules/datasource/packagist/index.spec.ts b/lib/modules/datasource/packagist/index.spec.ts index dd69e46f393f86bd0934758b5e6dfd194010e934..727e2a07091bc7cc24bdacd9f96faa3e1d62a7cb 100644 --- a/lib/modules/datasource/packagist/index.spec.ts +++ b/lib/modules/datasource/packagist/index.spec.ts @@ -17,7 +17,7 @@ const beytJson = Fixtures.getJson('1beyt.json'); const mailchimpJson = Fixtures.getJson('mailchimp-api.json'); const mailchimpDevJson = Fixtures.getJson('mailchimp-api~dev.json'); -const baseUrl = 'https://packagist.org'; +const baseUrl = 'https://repo.packagist.org'; const datasource = PackagistDatasource.id; describe('modules/datasource/packagist/index', () => { @@ -31,7 +31,7 @@ describe('modules/datasource/packagist/index', () => { versioning: composerVersioning.id, registryUrls: [ 'https://composer.renovatebot.com', - 'https://packagist.org', + 'https://repo.packagist.org', ], }; }); @@ -476,7 +476,7 @@ describe('modules/datasource/packagist/index', () => { .reply(200, mailchimpJson) .get('/p2/drewm/mailchimp-api~dev.json') .reply(200, mailchimpDevJson); - config.registryUrls = ['https://packagist.org']; + config.registryUrls = ['https://repo.packagist.org']; expect( await getPkgReleases({ ...config, diff --git a/lib/modules/datasource/packagist/index.ts b/lib/modules/datasource/packagist/index.ts index 5eedcfb5c7c50b29287333c20b7b9eb7445b7e08..200e8587a9ed4ba89d8af78c64df9423603cddaf 100644 --- a/lib/modules/datasource/packagist/index.ts +++ b/lib/modules/datasource/packagist/index.ts @@ -26,7 +26,7 @@ export class PackagistDatasource extends Datasource { super(PackagistDatasource.id); } - override readonly defaultRegistryUrls = ['https://packagist.org']; + override readonly defaultRegistryUrls = ['https://repo.packagist.org']; override readonly defaultVersioning = composerVersioning.id;