Updated: Comment #32

Problem/Motivation

Since there are many circumstances under which users may need to do this, we should make it super easy to do.

My experience today was:

1) I got Fatal error: Call to a member function get() on a non-object in /Users/webchick/Sites/8.x/core/lib/Drupal.php on line 241 when git pulling.
2) I thought to myself "Hm. I wonder if that newfangeldy rebuild.php script can fix that?"
3) I found the script in core/rebuild.php (this took awhile... I expected it in the root directory along with index.php and update.php)
4) I went to http://8x.localhost/core/rebuild.php.
5) I was redirected back to index.php (I only caught this because I was being extra observant) and still got the same error.
6) I did it again to make sure I wasn't nuts.
7) I checked README.txt for "rebuild" and found nothing.
8) I pinged chx on IRC who said it's a settings.php thing I need to set to TRUE. No idea how I would've discovered that otherwise, and "ping chx on IRC" is not a scalable solution to this issue. :D

Compare this with hitting update.php as an anonymous user:

Everything I need in one spot

It tells me what went wrong and exactly what I need to do to fix it.

Proposed resolution

Can we please make rebuild.php work in a similar way?

Remaining tasks

  • (novice) change maintenance_access_denied_page() to be a theme function or a twig template. See #28
  • open issue to refactor Kernel things. See #26
  • open issue to refactor the minimal environment in install_begin_request() into a stand-alone function. See #31
  • open issue for cleaning up default.settings.php

User interface changes

API changes

?

Comments

chx’s picture

> "ping chx on IRC" is not a scalable solution to this issue. :D

We can, however, add a factoid to the bot there. Would that be better? :P

chx’s picture

Surely we can get to the maintenance page -- likely we will need to replace a couple services but update.php (and install.php) already does this.

webchick’s picture

Actually, apparently I wasn't observing carefully enough, because there is a redirect from /rebuild.php to /core/rebuild.php, which is consistent with install and update. So ignore that. :)

Tagging w/ DX.

chx’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

NR so the bot tests this; it's a stepping stone not a complete script. I know I could possibly pass in and check config_verified in $install_state but just let's not do that. Let's make it explicit that config_verified gets set in here.

chx’s picture

StatusFileSize
new6.92 KB

Never write code when you can reuse. install_begin_request sets up Drupal without a database, so I reuse that. To generate an update.php access denied screen, guess what? I reuse the update_access_denied_page.

jibran’s picture

  1. +++ b/core/rebuild.php
    @@ -28,6 +30,21 @@
    +  $install_state = array('interactive' => FALSE) + install_state_defaults();;
    

    double ;

  2. +++ b/core/includes/update.inc
    @@ -1691,3 +1691,39 @@ function update_language_list($flags = Language::STATE_CONFIGURABLE) {
    + ';
    ...
    + <li>
    ...
    + <li>As soon as the ' . $script_name . ' script is done, you must change the settings.php file back to its original form with <code>$settings[\'' . $settings_name .'\'] = FALSE;∠code>.</li>
    ...
    + <li>There is a line inside your settings.php file that says <code>$settings[\'' . $settings_name . '\'] = FALSE;∠/code>. Change it to <code>$settings[\'' . $settings_name . '\'] = TRUE;∠/code>.</li>
    ...
    + <li>With a text editor find the settings.php file on your system. From the main Drupal directory that you installed all the files into, go to <code>sites/your_site_name∠/code> if such directory exists, or else to <code>sites/default∠/code> which applies otherwise.</li>
    ...
    +<ol>
    ...
    +  $output .= 'edit <code>settings.php∠/code> to bypass this access check. To do this:</p>
    

    Please use heredoc.

I want to add screen shot but I don't know how to access this page

jibran’s picture

reviewed code has code tags that is why last post is messy.

chx’s picture

StatusFileSize
new6.91 KB
new41.64 KB

I edited your comment and replaced the opening less-than signs with an angle ∠ character looks funny but it doesn't break so badly.

To reach this page just go to rebuild.php instead of index.php much like install.php or update.php.

The original wasn't using heredoc so why would I...?

The reason I didn't attach a screenshot because the screen looks the exact same as the update.php screen.

jibran’s picture

Thank you for the fix and screenshot. I am unable to find anything in this so RTBC. Let's see what @webchick thinks about it.

xjm’s picture

8: 2160057_5.patch queued for re-testing.

The last submitted patch, 8: 2160057_5.patch, failed testing.

webchick’s picture

Status: Reviewed & tested by the community » Needs work

Doing testbot's job for it...

herom’s picture

8: 2160057_5.patch queued for re-testing.

"Warning: mkdir(): No space left on device". hmm... let's test this again.

herom’s picture

Status: Needs work » Reviewed & tested by the community

and rtbc per #9.

tstoeckler’s picture

Status: Reviewed & tested by the community » Needs work
  1. +++ b/core/rebuild.php
    @@ -16,7 +16,9 @@
    +require_once DRUPAL_ROOT . '/core/includes/utility.inc';
    ...
    -require_once dirname(__DIR__) . '/core/includes/utility.inc';
    

    I'm not sure this is intended. If it is we should change it for both requires not only for one of two. That is just weird.

  2. +++ b/core/rebuild.php
    @@ -28,6 +30,21 @@
    +  $output = update_access_denied_page('rebuild.php', 'rebuild_access', FALSE, 'Read more information, see the <a href="https://drupal.org/documentation/rebuild">handbook</a>.');
    

    In theory it would be cooler if this weren't called update_... but $something_generic_that_encompasses_update_and_rebuild_... but I really couldn't find anything better, so just noting here for reference.

  3. +++ b/core/rebuild.php
    @@ -28,6 +30,21 @@
    +  drupal_add_http_header('Content-Type', 'text/html; charset=utf-8');
    +  $maintenance_page = array(
    +    '#theme' => 'maintenance_page',
    +    '#content' => $output,
    +    '#show_messages' => FALSE,
    +  );
    +  print drupal_render($maintenance_page);
    

    It *feels* like it might make sense to move more of that into update_access_denied_page() but I'm not sure, do you have thoughts on that?

Marking needs work for 1.

tstoeckler’s picture

Status: Needs work » Reviewed & tested by the community

I just realized that DRUPAL_ROOT is defined in bootstrap.inc these days. I still think it looks a bit weird (because inconsistent) as it is, but it makes sense technically.

Back to RTBC. Sorry for holding this up.

webchick’s picture

Status: Reviewed & tested by the community » Needs work

This patch works great, thanks!

One nit:

+++ b/core/rebuild.php
@@ -28,6 +30,21 @@
+  $output = update_access_denied_page('rebuild.php', 'rebuild_access', FALSE, 'Read more information, see the <a href="https://drupal.org/documentation/rebuild">handbook</a>.');

Calling "update_access_denied_page" on "rebuild.php" is goofy. :) Let's rename that function to something more general like maintenance_access_denied_page().

But then, it really no longer makes sense in update.inc. I notice there's a includes/theme.maintenance.inc and this is outputting markup. So maybe in there?

chx’s picture

Status: Needs work » Needs review
StatusFileSize
new7.32 KB
benjy’s picture

  1. +++ b/core/includes/theme.maintenance.inc
    @@ -192,3 +192,39 @@ function theme_authorize_message($variables) {
    + * Renders a 403 access denied page for update.php.
    

    This isn't really accurate?

  2. +++ b/core/includes/theme.maintenance.inc
    @@ -192,3 +192,39 @@ function theme_authorize_message($variables) {
    +  watchdog('access denied', 'update.php', NULL, WATCHDOG_WARNING);
    

    This should use $script_name

chx’s picture

StatusFileSize
new949 bytes
new7.33 KB
chx’s picture

Re #15, 1. was retracted in #16, 2. was requested by webchick too and addressed 3. if you are not sure and it is update.php then my rule is "do not touch unless there's a pressing need" because it's update.php and it breaks.

xjm’s picture

StatusFileSize
new7.33 KB
new482 bytes

3. if you are not sure and it is update.php then my rule is "do not touch unless there's a pressing need" because it's update.php and it breaks.

Truer words. :)

Attached just fixes an ungrammatical comment.

The last submitted patch, 20: 2160057_20.patch, failed testing.

benjy’s picture

Status: Needs review » Reviewed & tested by the community

I'm presuming t() isn't available in maintenance_access_denied_page() ?

Patch looks goods.

tstoeckler’s picture

Re #24: Hmm... interesting question. Here the function is just being moved, though, the code is pre-existing.

sun’s picture

Hm. I really do not like the idea of piggy-backing on the install_begin_request() function.

Yes, re-using existing code is a good idea, but install_begin_request() in its current form is a total abomination, a dumping ground of pre-kernel era code that completely went out of control.

In addition, install_begin_request() has to account for much more — a completely empty Drupal environment.

→ But both the rebuild.php and update.php scripts can and should safely assume that e.g. settings.php & Co exists already...

→ Hence, there's no need to perform a dozen of full filesystem scans to discover available installation profiles and translation files, nor any other of the (very) expensive operations.

Instead, this issue and change proposal tells us that we really should have properly defined variants of DrupalKernel/CoreServiceProvider for very discrete use-cases; i.e.:

Drupal\Core\HttpKernel\DrupalKernel
∟ Drupal\Core\HttpKernel\MaintenanceKernel
  → override to replace all DB access if not available.
  ∟ Drupal\Core\HttpKernel\InstallerKernel
    → override to force-replace all storages with installer and in-memory implementations.

Whereas (1) MaintenanceKernel would be used by rebuild.php, update.php, and authorize.php, and (2) InstallerKernel would be used by install_begin_request() in the first 2-3 installer screens until base_system_verified is TRUE (as in HEAD, but not inlined into that horrible function).

jibran’s picture

I agree with #26 but this issue is about usability of rebuild.php not about the architecture so I think we can discuss all the above valid points in follow up issue because tbh the fix provided in this issue has nothing to do with the things already in core.
Or we can postpone this on follow up issue so that we can fix the architecture problems first.

webchick’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +DrupalWorkParty

Yeah, I agree that Kernelizing All The Things™ is ultimately the right solution to this, and we should definitely open up a follow-up for that... but I don't want to hold this one up over that since it sounds like a major undertaking and the UX of this script is going to be fairly critical, given how often people are going to need to do this.

+++ b/core/includes/theme.maintenance.inc
@@ -192,3 +192,39 @@ function theme_authorize_message($variables) {
+function maintenance_access_denied_page($script_name = 'update.php', $settings_name = 'update_free_access', $login = TRUE, $postfix = '') {

Crap, sorry, my bad. I wasn't clear in my previous review. I meant that this function should be made into a theme function since it outputs markup. That would also make it unified with the other things in this file.

Since this is fairly straight-forward to do, I'm tentatively tagging DrupalWorkParty so that some enterprising contributor who wishes to work on D8 issues for Drupal's birthday might come across it. :D

star-szr’s picture

Please don't shoot me but it would probably be nicer if the themeable output could be made into a Twig template.

webchick’s picture

I agree that would be nicer, but in this case all of the other functions in that file are theme functions. Therefore, that feels out of scope here, at least to me. I'm happy to hear arguments that I'm on crack and we should not be introducing any more theme functions to convert, though. :)

sun’s picture

I can understand the reservations regarding the larger suggestion I made in #26.

However, this aspect still stands:

In addition, install_begin_request() has to account for much more — a completely empty Drupal environment.

→ But both the rebuild.php and update.php scripts can and should safely assume that e.g. settings.php & Co exists already...

→ Hence, there's no need to perform a dozen of full filesystem scans to discover available installation profiles and translation files, nor any other of the (very) expensive operations.

Performing these expensive operations for the rebuild/update scripts would be nuts.

We know that we have a settings.php, we know that we have $databases, $config_directories, and so on, and we know the installation profile to use. No need to assume less where more is a given.

The resolution path is simple: Just do the reverse:

  1. Copy/move the minimal container building from install_begin_request() into a stand-alone function.
  2. Make install_begin_request() call that, and make this new code call that.
  3. ???
  4. Profit!

Of course, @Crell will arguably and reasonably kill us for just moving this pre-kernel era code around.

Lastly, I do not see a reason for why this change needs to be rushed into core? — It's a nice-to-have DX improvement, but developers are easily able to figure it out and the new UI does not really help DX. → A much better way to address the root cause would be to clean up default.settings.php to not have a 1:99 code to comment ratio...

I actually find it very icky that every Drupal site on this planet outputs these scary pages:
https://drupal.org/update.php
https://drupal.org/install.php
https://drupal.org/authorize.php

(Only the last one shows appropriate output [nothing], but alas, wrong theme.)

chx’s picture

> Performing these expensive operations for the rebuild/update scripts would be nuts.

This patch deliberately tries to make the minimal changes. Performance considerations on the rebuild script are absolutely irrelevant.

yesct’s picture

Issue summary: View changes

updated issue summary with remaining tasks

seems like what we have left to do is in part to decide what we need to do here and what should be done somewhere else, what can we do without making things worse.

sun’s picture

@webchick: Could you explain why you think that rebuild.php needs to be a UX-fancy page?

Let me try to formulate some expectations (please state whether/where you disagree):

  1. End-users will never ever see or have to access this script.
  2. Content publishers will never ever see or have to access this script.
  3. Site builders will not access this script (because they do not change code).
  4. Themers will not access this script (because they do not change kernel/DI code).
  5. Developers may need to run this script (but that should be an edge-case).

Can we agree on these or do you see it differently? The intended audience matters a lot for my argumentation.

I guess the main points I disagree with are these:

  1. Why does rebuild.php need this big wall of (un)helpful text?

  2. Why does the output have to be a fully themed page?

  3. Why is a one-line print-ed message not sufficient?

→ For the intended developer audience, this should be more than sufficient:

Access denied

Rebuild access is not enabled in settings.php.

English only, because Drupal developers need to understand basic English anyway.

That's two lines of print statements to resolve this issue and the root cause: the lack of a simple hint.

chx’s picture

Issue summary: View changes
chx’s picture

Issue summary: View changes
chx’s picture

> Content publishers will never ever see or have to access this script.

False. They might hit a bug and there's not always a developer around.

> Site builders will not access this script (because they do not change code).

False. For example, do you have any idea what happens when the module enable page times out? I absolutely have no idea but I am relatively certain it will be nasty.

> Themers will not access this script (because they do not change kernel/DI code).

False. Themers mess with PHP and again who knows what their broken PHP might corrupt.

> Developers may need to run this script (but that should be an edge-case).

False. It's not edge case-y at all. Developers will need to run this all the bloody time. Don't forget that we have stepped outside of the database transaction realm by using files in the active config -- actually that's a great argument in favor of the "let's put the active storage in the db".

chx’s picture

Issue summary: View changes
chx’s picture

Issue summary: View changes
chx’s picture

> what can we do without making things worse.

There's nothing this issue makes worse. It is an improvement, plain and simple irregardless of the false distractions brought up.

sun’s picture

@chx: It appears clear that you have different expectations for the final Drupal 8.0 release. Wherever you said "False", I would not accept a "False" in terms of my expectations:

If rebuild.php will (1) have to be used by anyone else than developers hacking on code and (2) be needed too frequently, then we haven't delivered a product.

Disagreement is fine.


Regardless of that difference in expectations, I still do not see why we (1) need a fully themed page and (2) any more output other than the simple hint that has been suggested in #34?

chx’s picture

> If rebuild.php will (1) have to be used by anyone else than developers hacking on code and (2) be needed too frequently, then we haven't delivered a product.

Then, apparently we haven't delivered D7 either because https://drupal.org/project/registry_rebuild became necessary. This time we rather anticipate the worst and be prepared. We had a WSOD handbook page for seven years now. Then, we haven't delivered a product in seven years? Come now.

> I still do not see why we (1) need a fully themed page and (2) any more output other than the simple hint that has been suggested in #34?

Because it costs practically nothing in developer time to create a nice page unless someone wastes a ton of time debating a trivial change.

star-szr’s picture

Assigned: Unassigned » star-szr

FWIW I think this is an important improvement.

@webchick/#30:

Yes theme.maintenance.inc only contains theme functions but all the maintenance related theme functions are defined in drupal_common_theme(), here is a subset which does include two Twig templates:

    // From theme.maintenance.inc.
    'maintenance_page' => array(
      'variables' => array('content' => NULL, 'show_messages' => TRUE, 'page' => array()),
      'template' => 'maintenance-page',
    ),
    'install_page' => array(
      'variables' => array('content' => NULL, 'show_messages' => TRUE),
      'template' => 'install-page',
    ),
    'task_list' => array(
      'variables' => array('items' => NULL, 'active' => NULL,  'variant' => NULL),
    ),
    'authorize_message' => array(
      'variables' => array('message' => NULL, 'success' => TRUE),
    ),
    'authorize_report' => array(
      'variables' => array('messages' => array()),
    ),

My main motivation to suggest Twig for this output isn't necessarily that I want one less thing to convert later but that I think it would be easier to create and maintain as a Twig template. Working on it.

star-szr’s picture

Assigned: star-szr » Unassigned
Status: Needs work » Needs review
StatusFileSize
new8.16 KB
new5.18 KB
new8.16 KB
new5.18 KB
new9.14 KB
new7.4 KB
new14.87 KB
new14.74 KB

Here we go. Theme function version included as well for fun, but I kept the string concatenation bug that disappears immediately when we change the output to Twig :)

Theme function:
2160057-45-rebuild-theme-output

Twig template:
2160057-45-rebuild-twig-output

Edit: Ignore 2160057-42-theme.patch, I uploaded that then hid it after updating the comment #, not sure why it's even showing up.

sun’s picture

Thanks for the twig changes. However, the main problem I see with the proposed patch is still that it introduces new code paths that should not exist.

  1. +  $install_state = array('interactive' => FALSE) + install_state_defaults();
    

    interactive must be true. Otherwise, the installer prepares everything for a command line installation.

  2. +  install_begin_request($install_state, FALSE);
    

    conf_path() will return an unsafe value.

  3. ...

This kind of new technical debt is the last thing we need right now. We're working very hard and very actively to clean up all of this code in many other issues, and we're making very good progress. Committing a weird change like this will only cause serious problems for other critical/major issues that are trying to make real progress.

But yeah, please do whatever you want. I'm not going to comment further here, because @chx creates an environment that is not productive, not collaborative, and not fun to be in. Apparently, that stream of constant negativity even starts to affect my own comments, which is the very last thing I need after taking a very long break from Drupal for exactly that reason, so (1) architectural concerns have been clearly expressed (including a potential resolution path), and thus, (2) I can go back to issues with a positive, friendly, and collaborative climate.

webchick’s picture

Yeah, I unpublished #43 since that was particularly unproductive. https://drupal.org/dcoc, chx. :\

sun: I do think though that chx adequately covered the reasons why I think while we intend this to only be needed by developers actively working on code, reality may not support that. Anything we can do to take aggravation out of recovering from a hosed site is a good thing to do, especially from those users least able to take care of themselves.

I also raised this as a major UX problem because even though I am a developer-type working on code, this functionality was totally undiscoverable to me, as I itemized in the issue summary. A slimmed down settings.php wouldn't really help, IMO; I don't turn to settings.php more than once a blue moon when I'm hard-coding a configuration value, moving a site from one hosting company to another, etc.

Do you have a recommendation on which specific patch(es) we should postpone this on? I'm not necessarily opposed to doing that, but I also want to balance other refactoring with site builder/developer angst.

webchick’s picture

Btw, #34 or something like it might work. It seemed odd though to introduce a brand new UX pattern for this though when we already have an existing one for exactly this purpose. While the wall of text might not be helpful, if it's not, we should fix it in both places. (As a separate issue, of course.)

jibran’s picture

45: 2160057-45.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, 45: 2160057-45.patch, failed testing.

star-szr’s picture

Status: Needs work » Needs review
StatusFileSize
new9.07 KB
sun’s picture

Issue tags: -DrupalWorkParty
StatusFileSize
new481 bytes

Attached patch implements #34.

Status: Needs review » Needs work

The last submitted patch, 52: drupal8.rebuild-access-ux.52.patch, failed testing.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

valthebald’s picture

Version: 8.1.x-dev » 8.2.x-dev
Issue tags: +neworleans2016, +Triaged for D8 major current state

Triaging this as part of NOLA major issue triage sprint.
The issue is still reproducible (in the meaning, rebuild.php still doesn't have any helpful messages)
Steps to reproduce: @todo find 2 a development revision prior to the current HEAD that needs but not fixed by rebuild.php

xjm’s picture

Thanks @valthebald for triaging the issue. Updating the issue credit for triaging.

webchick’s picture

Priority: Major » Normal
Issue tags: -Triaged for D8 major current state

The core committers discussed this issue a couple of triage meetings ago, and given the changes to the container, the need to do this comes up a lot less often than before, so downgrading to normal.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

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.

Version: 8.5.x-dev » 8.6.x-dev

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.

Version: 8.6.x-dev » 8.7.x-dev

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.

Version: 8.7.x-dev » 8.8.x-dev

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.

Version: 8.8.x-dev » 8.9.x-dev

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.

Version: 8.9.x-dev » 9.1.x-dev

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.

Version: 9.1.x-dev » 9.2.x-dev

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.

Version: 9.2.x-dev » 9.3.x-dev

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.

Version: 9.3.x-dev » 9.4.x-dev

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.

Version: 9.4.x-dev » 9.5.x-dev

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.

Version: 9.5.x-dev » 10.1.x-dev

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.

Version: 10.1.x-dev » 11.x-dev

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 the 11.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.

smustgrave’s picture

This one still relevant ?

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

andypost’s picture

I bet it is as chicken-egg