| 05:37 | FarmerEd[m] | <paul121[m]> "Can you copy/paste this? Or does..." <- error: patch failed: src/Plugin/Field/FieldType/EntityReferenceRevisionsItem.php:5 |
| 05:37 | FarmerEd[m] | error: src/Plugin/Field/FieldType/EntityReferenceRevisionsItem.php: patch does not apply |
| 05:40 | FarmerEd[m] | I wonder did he start off with the latest? |
| 05:42 | paul121[m] | Huh. I was worried/curious about this |
| 05:43 | paul121[m] | Ah yes. The merge request page says: |
| 05:43 | paul121[m] | > Merge blocked: the source branch must be rebased onto the target branch. |
| 05:44 | FarmerEd[m] | Makes sense, the patch that does apply has this: |
| 05:44 | paul121[m] | So there is a conflict between the PR and the latest commits in that module |
| 05:44 | FarmerEd[m] | - "drupal/core": "^9 || ^10" |
| 05:44 | FarmerEd[m] | + "drupal/core": "^9" |
| 05:44 | FarmerEd[m] | which looks like going backwards |
| 05:44 | FarmerEd[m] | oh there was a -/+ in that |
| 05:45 | paul121[m] | Where do you see that? |
| 05:45 | FarmerEd[m] | in the patch that I generated in the beginning, with all the changes |
| 05:46 | paul121[m] | (this will be kinda annoying if every project needs to add a `|| ^10`, ugh) |
| 05:46 | FarmerEd[m] | It would explain why there were so many if it was also undoing other additions |
| 05:46 | paul121[m] | Yes. |
| 05:47 | paul121[m] | That's why it needs to rebased! |
| 05:47 | FarmerEd[m] | yep |
| 05:47 | paul121[m] | You could do that locally.. there will be conflicts to fix.. |
| 05:48 | FarmerEd[m] | It was too easy |
| 05:48 | paul121[m] | I believe you could open a new issue branch after you have rebased (or you can just add the new patch) |
| 05:48 | paul121[m] | Cool! |
| 05:50 | FarmerEd[m] | don't you sleep? must be late there now. |
| 05:51 | FarmerEd[m] | Anyway, thanks Paul I'll give it another look over later. |
| 05:53 | paul121[m] | Haha almost 11pm. Getting late |
| 05:54 | FarmerEd[m] | Ok, not as late as I thought |
| 08:49 | * | posted a file: 3267304-9.patch (3KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 08:49 | FarmerEd[m] | Thanks again paul121, think I have it working now with latest branch |
| 08:52 | FarmerEd[m] | mstenta: looks like the git diff command was right all along |
| 11:51 | mstenta[m] | Oh nice Farmer Ed ! Well done |
| 11:51 | mstenta[m] | So it was just because that branch needed to be rebased... that makes sense |
| 11:51 | mstenta[m] | Nice job |
| 11:55 | FarmerEd[m] | Guess a rookie error. |
| 11:55 | FarmerEd[m] | Just uploaded it to Drupal.org and updating composer.json now |
| 13:52 | FarmerEd[m] | OK mstenta , I updated the composer.json, and built a local docker image and so far it seems to be working as expected. |
| 13:52 | FarmerEd[m] | Is there any particular testing that I should run? |
| 13:53 | mstenta[m] | Awesome! |
| 13:53 | mstenta[m] | Probably the easiest thing to do is open a pull request with that change, so that all the GitHub Actions test workflows have a chance to run |
| 13:54 | mstenta[m] | But if the patch applies cleanly then you can be pretty confident those will all work |
| 14:01 | mstenta[m] | Farmer Ed: i will reply to GuyPaddock in that thread... |
| 14:11 | FarmerEd[m] | Ok, thanks I had not seen his response. |
| 16:00 | * | TheSlurpee[m] has quit (Quit: You have been kicked for being idle) |
| 18:14 | FarmerEd[m] | Ok, I've opened a PR............................. (I think 🫠) |
| 18:26 | mstenta[m] | woo hoo! thanks Farmer Ed ! |
| 18:28 | mstenta[m] | looks good! I made a slight improvement to the commit message, if that's OK, and also added a `CHANGELOG.md` entry since I think this is worth mentioning (amended your commit so you get credit) :-) |
| 18:28 | mstenta[m] | tests are running on the PR now - then it's ready to merge! |
| 18:30 | mstenta[m] | oops hmm... something's not working. the build failed |
| 18:30 | mstenta[m] | but i don't think it's an issue with the patch |
| 18:32 | mstenta[m] | huh i wonder if it's because the branch isn't `2.x-*` |
| 18:32 | mstenta[m] | i just tried pushing a new branch to my fork called `2.x-err-patch`... i'll see if that works |
| 18:33 | FarmerEd[m] | No issue with any amendments |
| 18:33 | FarmerEd[m] | 🤞 |
| 18:33 | FarmerEd[m] | I'll work on my naming |
| 18:34 | mstenta[m] | looks like the patch applied properly in the build on my fork... it'll run tests there next, then i'll go ahead and merge the PR |
| 18:37 | mstenta[m] | (tests take 15+ minutes to run FYI... so it'll be a while) |
| 18:46 | FarmerEd[m] | well 15 min is not so bad considering it took me 3 days to add 3 lines to composer.json 😂 |
| 18:46 | mstenta[m] | first one's the hardest... all downhill from here! 😄 |
| 18:47 | mstenta[m] | patch workflow is "deep end" stuff for sure |
| 19:40 | * | uploaded an image: (6068KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 19:46 | FarmerEd[m] | Cool 😎 |
| 20:07 | * | uploaded an image: (2617KiB) < libera.ems.host/_matrix/media/r0/downloa > |