- Issue created by @NonProfit
- 🇩🇰Denmark mortendk
yes pleaseremove stark, its only D7 ppl that understands what stark is and as i recall there was pushback on this originally cause ppl were still unsure that there was only classy or stable, and didnt really got the concept that stark is no more.
- 🇺🇸United States NonProfit
Morton, Thanks for your reply. Do you think we should at the same time also display Classy so uninformed folks don't mistakenly believe there is no longer a core basetheme?
- 🇺🇸United States NonProfit
This patch exposes Stable and hides Stark from the /appearance page. It also changes the descriptions for both.
The last submitted patch, 5: stark_help-2854576-5.patch, failed testing.
The last submitted patch, 7: stark_help-2854576-6.patch, failed testing.
Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule → and the Allowed changes during the Drupal 8 release cycle → .
- 🇮🇳India MeenakshiG New Delhi
This patch removes stark from the appearance page and also modifies the description telling stable or classy as better option
The last submitted patch, 9: stark_help-2854576-9.patch, failed testing. View results →
- 🇺🇸United States xjm
Thanks @Meenakshi Gupta.
This text could use some improvements for a few reasons:
- It's quite long. We should try to make the text as short as possible while still clearly conveying necessary information.
- The phrase "Intended as" is unnecessary. It might be better to start off with something like:
A testing theme for Drupal's default HTML and CSS.
- It's removing useful link references that it has HEAD. The links provide valuable information. It would be better to correct the syntax and retain the helpful link.
- The word "never" is quite strong.
- It might be better to go the route of actually hiding the theme than to add so many words telling the user not to use it. In order to hide the theme from the UI, we would need to change the assumptions in tests that depend on it, so I can see having that as a separate scope from improving the help text.
- However, compare
stark.info.yml
withbartik.info.yml
. In that theme, the fact that it is internal is documented in the code comments, rather than in user-facing text. I did not find an existing issue to do that, so we could do it here.
Also a note on core process: In the future, you should not set your own patch to "Reviewed and Tested By the Community". Drupal core uses a peer review process, so the patch should only be set to RTBC by someone else who has read and thoroughly reviewed your patch. Reference: https://www.drupal.org/patch/review →
Tagging for subsystem maintainer review, as the decision as to what exactly to do with Stark should have input from the subsystem maintainer.
- 🇺🇸United States xjm
Oh, you might also find this reference for escaping quotes in YAML helpful: http://yaml.org/spec/current.html#id2534365
- 🇮🇳India MeenakshiG New Delhi
@xjm Thanks for correcting me . I have tried to improve the text as much as possible as suggested by you and also hided the theme from the appearance page .
is it right now ? The last submitted patch, 19: starktext_8254576_19.patch, failed testing. View results →
- 🇮🇳India MeenakshiG New Delhi
other changes done but unable to hide stark from appearance page
Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule → and the Allowed changes during the Drupal 8 release cycle → .
Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule → and the Allowed changes during the Drupal 8 release cycle → .
The last submitted patch, 27: stark_help-2854576-27.patch, failed testing. View results →
Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule → and the Allowed changes during the Drupal 8 release cycle → .
- 🇧🇴Bolivia vacho Cochabamba
Patch #30 locks good, hide Stable theme and comment the use of Stark theme. However is needed solve test problems.
- 🇺🇸United States NonProfit
vacho, you raise a very valid point that the theme should be displayed on /admin/appearance
How about if the description reads
'An intentionally plain theme for demonstrating and testing Drupal’s default HTML and CSS. Stark.x should not be used as a base theme, instead learn how to build a custom theme in the <a href="https://www.drupal.org/docs/8/theming">Theming Guide</a>.'
? - 🇺🇸United States NonProfit
Noticed a typo above and reworded to
'An intentionally plain theme for demonstrating and testing Drupal’s default HTML and CSS. Stark is not typically used as a base theme, instead learn how to build a custom theme in the <a href="https://www.drupal.org/docs/8/theming">Theming Guide</a>.'
- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
@NonProfit please don't queue all the tests. Running tests on drupal,.org is expensive and a change like this doesn't need to be tested on all supported php/db versions. This is a simple string change and that should not be different over different infra versions.
The hidden:true is removed from the latest patches (in #30 I think), that change should still be in the final patch.
- 🇺🇸United States NonProfit
@borisson_,
Thanks for the clarification. Am I correct in understanding that in a simple change like this, any one of the tests would have been sufficient?
Hidden was not included in the patch as my intent was to continue to expose the Stark to /admin/appearance and allow it to be selected through the UI. With clearer help text, isn't it preferable to allow it to be quickly enabled for testing?
- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
Thanks for the clarification. Am I correct in understanding that in a simple change like this, any one of the tests would have been sufficient?
Yes, you don't need to queue any test yourself. Just setting this issue to needs review will automatically trigger the testbot in the default configuration for the latest uploaded .patch/.diff file.
Hidden was not included in the patch as my intent was to continue to expose the Stark to /admin/appearance and allow it to be selected through the UI. With clearer help text, isn't it preferable to allow it to be quickly enabled for testing?
I'm not sure, in theory the stark maintainer should pick this up but @xjm already marked it as such in august 2017. I think it should be hidden but my opinion is just as strong as yours.
- 🇺🇸United States NonProfit
borisson_,
I'm certainly willing to defer on this, per your recommendation, I've added hidden to the patch.
Thank you
- 🇫🇷France fabienly Paris
Hi ,
I tried patch 40. I haven't been able to apply the patch.>git apply stark_help-2854576-40.patch error: patch failed: core/themes/stark/stark.info.yml:1 error: core/themes/stark/stark.info.yml: patch does not apply
I tried different folder just in case and two drupal installation but it didn't apply.
I tried the code manually, it is working well.
So I am not sure if they are a problem with the patch or if I miss something but the code is fine. - 🇺🇸United States NonProfit
Hi fabienly,
Thanks for checking this out! Sorry it's not working out.
Here's what I do and the patch applies cleanly for me:
1) Create a new folder and
git clone --branch 8.8.x https://git.drupalcode.org/project/drupal.git
2) Change directory to the rootcd drupal
2) Add the patch to the root folder
3) Apply the patchgit apply -v stark_help-2854576-40.patch
- 🇫🇷France fabienly Paris
Hi NonProfit,
thanks for your answer.
First I a have a question : Are they difference between banch 8.8.x from drupal core clone from git and the zip named Drupal core 8.8.x-dev found on this page → ?I tried your process and your patch applied successfully as you said.
1- But the hidden parameter don't appear in stark.info.yml file after application.
I found that they are a space in front of the + so I change that in the new patch.2- This is the process that I use to test patch :
- 1) Create a new folder and
git clone --branch 8.8.x https://git.drupalcode.org/project/drupal.git
- 2) Change directory to the root
cd drupal
- 3) Install vendor and add drush via composer :
composer require drush/drush
- 4) Install drupal via drush :
vendor/bin/drush si --db-url="mysql://root:@localhost:3306/drupalcontrib" -y
- 3) Add the patch to the root folder
- 3) Apply the patch
git apply -v stark_help-2854576-40.patch
With this process I am ready to test the patch before and after and check the code and the UI.
when I did that your patch didn't applied and I don't really understand why.So I make a new patch based on your code who was great and I test to apply it with your process and mine. In both case it works.
- 1) Create a new folder and
The last submitted patch, 43: stark_help-2854576-43.patch, failed testing. View results →
- 🇫🇷France fabienly Paris
After investigation, I discovered my patch failed due to automated tests who try to install stark theme. But when the patch applied the hidden property all tests linked to stark theme installation failed. So I remove all stark installation in tests.
Locally all the tests pass, lets see if it is the same with the drupal.org bot.
Drupal 8.9.0-beta1 → was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule → and the Allowed changes during the Drupal 8 and 9 release cycles → .
Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule → and the Allowed changes during the Drupal 8 and 9 release cycles → .
The last submitted patch, 45: stark_help-2854576-45.patch, failed testing. View results →
Drupal 9.1.0-alpha1 → will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule → and the Allowed changes during the Drupal 9 release cycle → .
The last submitted patch, 49: 2854576_49.patch, failed testing. View results →
The last submitted patch, 54: 2854576-54.patch, failed testing. View results →
- 🇮🇳India namitasaxena
Patch re-roll for 9.2.
Kindly ignore #53.
I just realised that I had the wrong patch uploaded in #53, apologies for the noise. Drupal 9.5.0-beta2 → and Drupal 10.0.0-beta2 → were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule → and the Allowed changes during the Drupal core release cycle → .
Drupal 9.4.0-alpha1 → was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule → and the Allowed changes during the Drupal core release cycle → .
Drupal 9.3.0-rc1 → was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule → and the Allowed changes during the Drupal core release cycle → .
Drupal 9.2.0-alpha1 → will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule → and the Allowed changes during the Drupal core release cycle → .
The last submitted patch, 56: 2854576_56.patch, failed testing. View results →
- 🇮🇪Ireland markconroy
This is going to need a re-roll to remove mention of seven and bartik, etc. Looks pretty simple for a novice task. And then would be great to have it merged.
- 🇮🇳India sahil.goyal
Reroll the patch for the D10, as seven and bartik are no longer be there at D10 so i would not be there and make the Claro as default, Updating the patch.
- 🇦🇺Australia jnlar Sydney, Australia
Unsure what that second failing test is caused by, hopefully fixing the first one resolves it.
Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened → , as Drupal.org infrastructure cannot currently fully support a branch named
main
. New developments and disruptive changes should now be targeted for the11.x
branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule → and the Allowed changes during the Drupal core release cycle → .