- šøš°Slovakia poker10
This was done in #3192842: Make our README more welcoming by converting it into an "entrypoint" into the Drupal ecosystem ā , but only for the main README.txt. I am reopening this as a follow-up to discuss/convert all other READMEs. See: #3389611-17: Update robots.txt with all README files core ships with ā
The last patch needs to be updated - I think it will be the best to focus only on README files here (as the IS suggested initially). Thanks!
- last update
about 1 year ago Patch Failed to Apply - š®š³India ravi kant Jaipur
I am agree with @poker10
The ticker is only for README.txt to README.md conversion but i saw that may files are updating which are not readme files. So only README files should update otherwise we will face broken deployment merge. Hey,
Here is the patch! Let me know any adjustment needed! Thanks
- Status changed to Needs review
10 months ago 1:34pm 5 March 2024 - Status changed to Needs work
10 months ago 1:46pm 5 March 2024 The Needs Review Queue Bot ā tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request ā . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- šŗšøUnited States skessler Denver
I am at DrupalCon working on getting this patch in 22 to be applyable.
- šŗšøUnited States koppie
I'm jumping on this issue as part of the mentored contribution at Drupalcon 24!
- šŗšøUnited States Chibullz023
I am working on this issue as part of Mentored Contribution at Drupalcon 24!
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
I'm mentoring our table on this issue. So far there's @skessler, @koppie and @Chibullz023 working on this. We will create a MR but for now are focused on reviewing and updating the patch.
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
Note that we've been trying to update the patch from #22 to work with the latest 11.x code. One person in the group will start from scratch and not use the old patch. Once we have something to upload, we will. Then we will create the MR.
- šŗšøUnited States skessler Denver
Rolled a new patch. Removed changes to composer.lock and other composer files.
- last update
7 months ago Patch Failed to Apply - šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
That patch applied cleanly to 11.x when I did:
git apply --index -v Fixes-for-Drupal-3044974_2.patch
but not with
patch -p1
.Afterwards, I do get some remaining README.txt files:
./core/lib/Drupal/Component/Discovery/README.txt ./core/lib/Drupal/Component/Plugin/README.txt ./core/lib/Drupal/Component/Assertion/README.txt ./core/lib/Drupal/Component/DependencyInjection/README.txt ./core/profiles/demo_umami/themes/umami/images/classy/README.txt ./core/profiles/demo_umami/themes/umami/js/classy/README.txt ./core/modules/system/tests/src/Functional/UpdateSystem/README.txt ./composer/Metapackage/README.txt ./composer/Plugin/VendorHardening/README.txt ./composer/Template/README.txt ./sites/README.txt ./profiles/README.txt ./modules/README.txt ./themes/README.txt
and see it in some files:
./composer.lock: "[web-root]/sites/README.txt": "assets/scaffold/files/sites.README.txt", ./composer.lock: "[web-root]/modules/README.txt": "assets/scaffold/files/modules.README.txt", ./composer.lock: "[web-root]/profiles/README.txt": "assets/scaffold/files/profiles.README.txt", ./composer.lock: "[web-root]/themes/README.txt": "assets/scaffold/files/themes.README.txt" ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Metapackage/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Template/README.txt ./composer/Generator/BuilderInterface.php: * See the README.txt file in composer/Metapackage for a description of what ./robots.txt:Disallow: /composer/Metapackage/README.txt ./robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./robots.txt:Disallow: /composer/Template/README.txt
- šŗšøUnited States skessler Denver
This patch covers the changes above and adds the composer folder. The composer folder is only found when cloning the git directory rather than downloading with composer.
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
Applies cleanly with
git apply --index -v 3044974_patch_from_git.patch
.Did still notice the following but there are no README.txt files left.
./composer.lock: "[web-root]/sites/README.txt": "assets/scaffold/files/sites.README.txt", ./composer.lock: "[web-root]/modules/README.txt": "assets/scaffold/files/modules.README.txt", ./composer.lock: "[web-root]/profiles/README.txt": "assets/scaffold/files/profiles.README.txt", ./composer.lock: "[web-root]/themes/README.txt": "assets/scaffold/files/themes.README.txt" ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Metapackage/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Template/README.txt
- šŗšøUnited States koppie
The patch applies cleanly! However, I noticed one remaining issue: modules/README.txt gets deleted. Was that intentional?
I'm keeping this marked as "needs work" until this last issue gets resolved.
- Status changed to Needs review
7 months ago 10:29pm 8 May 2024 - šŗšøUnited States koppie
I'm uploading my own version of the patch with only one change: rename modules/README.txt to modules/README.md, instead of deleting it. Please test.
- Status changed to Needs work
7 months ago 10:36pm 8 May 2024 - šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
@smustgrave We will be once we have the patch working as noted above.
- šŗšøUnited States skessler Denver
This new patch should cover all the issues.
Thank you for the reviews and feedback. - šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
Thanks @koppie and @skessler :) I'll review and if it's good or close, I'll get it moved to an MR. I know you both are heading out now.
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
@skessler I'm still seeing below but other issues do seem to be fixed.
@smustgrave Please note that @skessler is hoping to move this to an MR as a learning opportunity over the next couple days.
Kristens-MacBook-Pro:drupal11 kristenpol$ grep -r README.txt .|more ./composer.lock: "[web-root]/sites/README.txt": "assets/scaffold/files/sites.README.txt", ./composer.lock: "[web-root]/modules/README.txt": "assets/scaffold/files/modules.README.txt", ./composer.lock: "[web-root]/profiles/README.txt": "assets/scaffold/files/profiles.README.txt", ./composer.lock: "[web-root]/themes/README.txt": "assets/scaffold/files/themes.README.txt" ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Metapackage/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Template/README.txt
- Status changed to Needs review
7 months ago 10:48pm 8 May 2024 - šŗšøUnited States koppie
Whoops, @skessler's latest version still deletes modules/README.txt. Here's a new version that renames instead of deletes. @kristen-pol I'll let you create the MR since I've never done that in the context of d.org. :-)
- Status changed to Needs work
7 months ago 10:52pm 8 May 2024 - šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
It's getting there :)
@koppie If you are able, I'm seeing these still in #44.
Kristens-MacBook-Pro:drupal11 kristenpol$ grep -r README.txt .|more ./composer.lock: "[web-root]/sites/README.txt": "assets/scaffold/files/sites.README.txt", ./composer.lock: "[web-root]/modules/README.txt": "assets/scaffold/files/modules.README.txt", ./composer.lock: "[web-root]/profiles/README.txt": "assets/scaffold/files/profiles.README.txt", ./composer.lock: "[web-root]/themes/README.txt": "assets/scaffold/files/themes.README.txt" ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Metapackage/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./core/assets/scaffold/files/robots.txt:Disallow: /composer/Template/README.txt ./composer/Generator/BuilderInterface.php: * See the README.txt file in composer/Metapackage for a description of what ./robots.txt:Disallow: /composer/Metapackage/README.txt ./robots.txt:Disallow: /composer/Plugin/VendorHardening/README.txt ./robots.txt:Disallow: /composer/Template/README.txt
- Status changed to Needs review
7 months ago 11:17pm 8 May 2024 - šŗšøUnited States koppie
Thanks @kristen-pol, I've gone through one more time to find any remaining references to README.txt in the code base, and I think I've got them all. Please test.
- šŗšøUnited States skessler Denver
Thanks @koppie and @kristen-pol, for your help. I think I uploaded the wrong file last time because I know I made those changes.
Thanks,
Steve - š¬š§United Kingdom rachel_norfolk UK
Just re-tagging with the official tag :-)
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
@rachel_norfolk Thanks! Looks like you (or someone) fixed all the others too :)
@skessler if you have time soon, please review the patch from @koppie and, if it looks good, create an MR. Then we can get this issue moved forward.
- Status changed to Needs work
7 months ago 2:16pm 15 May 2024 - šŗšøUnited States smustgrave
Since it's been a few days going to move to NW for the MR.
Leaving all tags as this should still be reserved for those who worked on it in Portland
This may help too https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... ā
- šŗšøUnited States Kristen Pol Santa Cruz, CA, USA
@skessler asked for help to change this into an MR via slack a few days ago but Iām traveling and unable to help.
@smustgrave you have any availability to help on mentoring?
- Status changed to Needs review
7 months ago 9:06pm 17 May 2024 - šŗšøUnited States skessler Denver
Ready for review: https://git.drupalcode.org/project/drupal/-/merge_requests/8115
It seems that simply changing the extension doesn't preserve the good formatting for md files. I think they need to be updated to the correct formatting for code, tables, links, etc. This will further improve the visual perception and usability
- šŗšøUnited States skessler Denver
Maks,
The plan had been to make these changes and then open a new ticket to make all of the changes in the files to include Markdown. I am fine either way. It is going to take me a bit to get all the Markdown changes made.
Thoughts?
Thanks,
Steve - Status changed to Needs work
7 months ago 4:23pm 19 May 2024 - šŗšøUnited States smustgrave
Leaving novice tag for those who worked on in Portland. Can the MR be rebased? appears to have test failures
- Status changed to Needs review
7 months ago 2:33am 31 May 2024 - šŗšøUnited States skessler Denver
@smustgrave, sorry for the basic question but I am trying to do the rebase I cannot find the correct name for the remote branch. I would think it should be origin/issue-3044974 but my local git client is reporting that the branch does not exist.
Thank you for the help.
Thanks,
Steve - š³šæNew Zealand quietone
@skessler, Just after the Issue Summary there is a 'show commands' link which while display information about the fork and branch. And, there is a how to for rebasing a merge request ā as well. Linking that in case you need it. I hope that helps.
- Status changed to Needs work
7 months ago 1:38pm 31 May 2024 - šŗšøUnited States smustgrave
Thanks @quietone
I'm also available on slack in #contribute or #first-contribution to further help.
- šŗšøUnited States skessler Denver
I am not sure what happened here but I was sure I had posted an update.
The issue with the merge request is that we are trying to change the composer.lock. At some point the composer.lock file needs to change but I think this should happen the next time Composer is run for Drupal Core. I am not sure what this process is. But the hashes in composer.lock are changing so this means that Composer is updating composer.lock at some point.Thoughts about leaving out composer.lock from the MR?
Thanks,
Steve - š³šæNew Zealand quietone
@skessler, thank for continue to wok on this. This issue should just be making changed related to the .txt file and should not be touching the composer.lock file. I suggested reverting that change and rebasing on 11.x. Good luck!
- šŗšøUnited States xjm
Just hiding the old patch files from the issue summary to make the current target clearer. :)
The issue in the composer.lock file has been fixed (leftover from earlier merge conflicts), the branch has been rebased to the latest version of 11.x and the composer.lock file (hashes) has been updated.
This has been done with the help from Jess (@xjm), @stefdewa and Randy Fay.
More information on updating the composer.lock inside core can be found on https://www.drupal.org/about/core/policies/core-dependency-policies-and-practices/managing-composer-updates-for-drupal-core ā .- šŗšøUnited States smustgrave
Seems one has been missed for recipes.README.txt
Leaving the novice tag
- First commit to issue fork.
- š§šŖBelgium stefdewa
Discussed with grietdk IRL.
Renamed recipes.README.txt to recipes.README.md (and updated composer.lock hash). - š¦šŗAustralia larowlan š¦šŗš.au GMT+10
There's an unintended side-effect of this
Some of these files are actually part of the composer scaffold API.E.g. https://www.drupal.org/docs/develop/using-composer/using-drupals-compose... ā
If we move them, people who are making use of this plugin and referencing the old files will lose that functionality - e.g. this change here
Eg if someone has this in their composer.json
"drupal-scaffold": { "file-mapping": { "[web-root]/modules/README.txt": false, }, "locations": { "web-root": "docroot/" } },
After this change, they will get a README.md in that place.
We'll need to think about how to handle this in a BC way.