Problem/Motivation

In preparation to expose Drupal Components outside of Drupal we added a composer.json file to every component and a "replace" section to core/composer.json.

Right now drupal/core-render is missing from the drupal/core replace section.

Proposed resolution

- Fix the drupal/core replace section to have the drupal/core-render component declared.
- Add any external drupal/core-render requirements to drupal/core/composer.json and have composer update the other drupal/core/composer.* files.
- Add to Drupal\Tests\ComposerIntegrationTest::getPaths().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Eric_A created an issue. See original summary.

Eric_A’s picture

Eric_A’s picture

Issue summary: View changes
jalpesh’s picture

Status: Active » Needs review
FileSize
486 bytes

I think the issue is about to add drupal/core-render in composer.json file. I have attach a patch for same.

Eric_A’s picture

Status: Needs review » Needs work

Yes, it needs to be added to the replace section in the composer.json file. These items are now in alphabetical order. Best to keep it that way. Could you adjust your fix? Thanks!

jalpesh’s picture

Assigned: Unassigned » jalpesh

Sure will do and update the patch. Thanks for quick response.

jalpesh’s picture

Status: Needs work » Needs review
FileSize
509 bytes

New patch with alphabetical order. Thanks.

Eric_A’s picture

Status: Needs review » Reviewed & tested by the community

Great!

Eric_A’s picture

Eric_A’s picture

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 7: 2752119_2.patch, failed testing.

mayurjadhav’s picture

Status: Needs work » Needs review
FileSize
509 bytes

May be this will work in 8.1.x.

jalpesh’s picture

@mayurjadhav,
It was already RTBC, I don't understand why do you need to submit a new patch. It was already assign to me and i was already working on it. we have already same discussion on other issue. Let me know if you don't understand what i am trying to tell you.

mayurjadhav’s picture

Issue tags: +Quickfix

@jalpesh,
Issue was in Needs work state because your patch was failed, I submitted clean patch without fail. I don't think some one needs 6 days to work on such small fix.

jalpesh’s picture

@mayurjadhav,
Did you see the old comment of this issue. It already tested by someone and mark it as RTBC in comment #8, I think you didn't even go through all comment before submitting a patch. All you need is Credit don't care about anything.

Eric_A’s picture

So i clicked the test report link in #7 ( https://www.drupal.org/pift-ci-job/343887) to see what the two fails were about. The report showed two unrelated test fails.
I'm going to request a retest and I expect to see confirmation that the patch from #7 still applies and still passes tests. The patch uploaded by @mayurjadhav differs by a line number offset of one, which should not make a difference.
So I plan to RTBC #7 once more when the re-test has come back green, but I would be very happy if mayurjadhav did so before I'm back.

The core committers will see to it that credit is given where credit is due. Also: when we succeed in showing collaboration, and perhaps some friendliness, calmness and patience, it is usually very much appreciated in this community.

Mile23’s picture

Status: Needs review » Reviewed & tested by the community

+1 @Eric_A

For a non-code patches like this one, it's often likely that a testbot failure is unrelated, unless the patch no longer applies.

In that situation, it's best to re-run the test by clicking on 'add test' and re-running. You can also re-set the issue status to 'needs review' or RTBC because if the test fails again, it will be set back to 'needs work.'

Reviewing #7. Tests pass. The patch applies. The replaced package name matches the package name for drupal/core-render. It's in alphabetical order.

Setting to RTBC.

mayurjadhav’s picture

@Eric_A agreed. +1 for RTBC.

jalpesh’s picture

Agree with @Eric_A and @Mile23.

Eric_A’s picture

Excellent. Time to get @jalpesh's work in, then.

The last submitted patch, 7: 2752119_2.patch, failed testing.

Mile23’s picture

Unrelated fail.

Restarting test in #7.

jalpesh’s picture

It's look like #7 pass the test. Thanks.

The last submitted patch, 7: 2752119_2.patch, failed testing.

Eric_A’s picture

It's look like #7 pass the test. Thanks.

Yes, it did and it does. (I re-queued the test after #7 failed again due to unrelated random failures.)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed f51a120c3f575e678d1a95cd2d7fcac7f7e79a40 to 8.2.x and e2e3145 to 8.1.x. Thanks!

alexpott’s picture

  • alexpott committed f51a120 on 8.2.x
    Issue #2752119 by jalpesh, mayurjadhav: drupal/core-render is missing...

  • alexpott committed e2e3145 on 8.1.x
    Issue #2752119 by jalpesh, mayurjadhav: drupal/core-render is missing...

  • alexpott committed f51a120 on 8.3.x
    Issue #2752119 by jalpesh, mayurjadhav: drupal/core-render is missing...

  • alexpott committed f51a120 on 8.3.x
    Issue #2752119 by jalpesh, mayurjadhav: drupal/core-render is missing...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.