Cape Cod, Massachusetts
Account created on 7 March 2013, over 11 years ago
#

Merge Requests

More

Recent comments

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Sadly marking as RTBC. Looks like it was removed from all the places.

🇺🇸United States thejimbirch Cape Cod, Massachusetts
🇺🇸United States thejimbirch Cape Cod, Massachusetts

Fantastic idea. Changing this back to needs work.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Tried the updated MR on that branch, but getting different errors now. Will have to circle back on this.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch made their first commit to this issue’s fork.

🇺🇸United States thejimbirch Cape Cod, Massachusetts
🇺🇸United States thejimbirch Cape Cod, Massachusetts

Would this be resolved by creating our own separate recipe for our desired text format, so that other recipes could apply it as needed?

Yes. Since the Drupal CMS starter recipe hasn't defined a text format, the tracks have had to require their own dependent formats. If it were to be defined that all recipes must use recipe x text format, we could have consistency.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Closed (duplicate) usually has a reference to the issue it is a duplicate of.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Marking as RTBC. There is a considerable difference with the patch applied.

Starting a site with the Minimal profile and then applying Drupal CMS Starter recipe.

ddev drush si minimal -y
then
ddev recipe-apply recipes/drupal_cms_starter

With patch -> 51s, 52s, 53,
Without -> 1m 28s, 1m 27s, 1m 29s

==============

I ran a second test, and drush site:install with the standard recipe and it was a second faster also.

ddev drush si core/recipes/dtandard -y

With patch -> 9s, 8s,8s
Without -> 10s,10s,9s

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch changed the visibility of the branch 3481929-add-input to hidden.

🇺🇸United States thejimbirch Cape Cod, Massachusetts
🇺🇸United States thejimbirch Cape Cod, Massachusetts

Thanks for the suggestions. They have been applied and the branch rebased.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Merged. Thanks for your contribution!

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Needs change order and documentation issue follow up.

Thanks for the merge!

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts
🇺🇸United States thejimbirch Cape Cod, Massachusetts

Not postponed, both are related to the Drupal CMS Dashboard track.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Same here, this recipe exists in contrib. Why not require it from there so you don't have to maintain multiple versions?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Why not just require the recipe you maintain in contrib? https://www.drupal.org/project/events_calendar

Are you going to end up maintaining it in 2 places?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Tests were added and Mr tests pass. Marking as rtbc.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

The MR applies and adds a new module and schema form for ProfilePage. Works as designed. Marking as RTBC. Thanks for the contribution!

Should there be a follow up issue to update documentation and the Schema WebPage module to recommend using ProfilePage instead?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

This is so cool! I believe this is the first contib config action.

1. As a general best practice in recipes, we strive to make recipes/config actions non-destructive. Will removeDatasource, removeProcessor, and removeField present the possibility of a recipe breaking a site? What would those actions be used for?

2. Could we get a change order for this issue? As the first config actions in the contrib space. It would help with documentation in the Recipes Initiative and set precedent for other contrib modules to follow.

Something like this (Note: I am not sure that is how the actions work)

## Search Index

### `setOption/SetOptions` - Set index option(s)

Singular:
```
config:
  action:
    search_api.index.example:
      SetOption:
        cron_limit: 50
```

Plural:
```
config:
  action:
    search_api.index.example:
      SetOptions:
        cron_limit: 50
        index_directly: true
        track_changes_in_references: true
```

### `removeDatasource` - Remove datasource from index

...

### `removeProcessor` - Remove processor from index

...

### `renameField` - Rename index field

...

### `removeField` - Remove field from index

...

## Search Server

### `setBackendConfig` - Set backend config
🇺🇸United States thejimbirch Cape Cod, Massachusetts

I am unable to rerun the pipeline.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

This looks good, but tests are failing. I believe unrelated as this has no tests.

Speaking of which, does this need tests?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Removed #3452652: Recipes in Drupal core should have a logo for findability in Project Browser/Starshot as Drupal CMS will not show core recipes in Project Browser.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Un-postponing then as this is a Drupal core issue, not a Drupal CMS issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

PHPstan level 9 and Test are still failing.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

I created Create a setVisibility config action to change a block's visibility Active as the proper approach to solve the issue presented here.

Closing this issue as the clear approach undoes what other actions might do, and goes against recipes goal of being non-destructive.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Updated the documentation.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

With the introduction of config:strict in 10.4.0+, there is a way to allow leniency in config import that is much safer to use than createIfNotExists

config:
  # The default.
  strict: true 
  # If any config exists, skip them.
  strict: false
  # Ensure some configs are the same. 
  # All others are false.
  strict:
    - field.storage.foo
    - taxonomy.vocabulary.bar	

Updating the documentation based on this.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

There are merge conflicts. Moving back to Needs Work.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Thanks for this. The patch works. Updating to the 4.x branch as the 2.x is now deprecated. +1 for RTBC

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Drupal 11.1 comes out soon. Any chance the maintainers could add a new release that supports Drupal 11?

Thanks for your contribution!

🇺🇸United States thejimbirch Cape Cod, Massachusetts

I made a couple of small nits on the MR. For the Wiki, I think more information should be provided around:

Requires an X11 server running on the host machine such as XQuartz on macOS.

It may be common knowledge, but I didn't know what an X11 server was, nor did I know what XQuartz was before trying to install the ddev addon. There are some more steps that are also needed I believe. There is an ongoing discussion on the setup here: https://github.com/tyler36/ddev-cypress/pull/38

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Subfolders are not currently allowed. The recipe runner only looks for recipes in a sibling folder. Allowing subfolders could lead to naming collisions as you could have a content_type_page in multiple sub-folders and which one would a recipe that depends on it apply?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

So we change type to have 3 different options.

Foundational - Simple recipes that provide reusable configuration primarily for other recipes to reuse.
Kit - Recipes that provide a complete functional solution for a site feature (SEO tools, event calendars, workflows, etc.).
Site - Recipes that provide complete website starter solutions like what Drupal core's Standard recipe provides.

1. Do we need a second classification type to cover the Foundational descriptive types that we currently have defined? (Text format editor, Content type, Taxonomy, etc)

- or -

2. Do we assume that if it is one of the existing type (Text format editor, Content type, Taxonomy, etc) that it is Foundational?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

No. The types are still defined in that document as part of the best practices.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Merge request added that updates the types/naming doc.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

The patch in #19 has _bootstrap_paragraphs_check_for_bundles. I don't see that anywhere in the applied file.

You also linked to the 5. branch. This is for the 8.2 branch.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Great to catch a few potential bugs! Marking as RTBC

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Could I switch to using core’s recipe?

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Amazing! Marking as RTBC.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

We will need to update the docs and I assume this should have a change record also.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Looks good. Marking as RTBC assuming tests will pass.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

I don't see the benefit of moving it. You would then have to require menu here which all content types do not need. I feel like you could just change the weight in the base seo recipe.

I was mid review when things vanished on me. The only thing I could see would be the optional node views. You are calling them in the Drupal CMS base recipe and that is the only thing you need node there.

This will also be the place to keep field storage configs to be used by all recipes.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Some changes requested around the redirect module.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

Doh is me! Sorry about that folks, We did fix it in the beta10 tag, but never cut the release.

I just did. Changing this to fixed.

Thanks for the follow through.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

In principle this seems okay but I'm a little conflicted that it should be its own recipe. It's a very small piece of the overall Drupal CMS puzzle, and frankly these redirects are things that should be fixed in core anyway. Adding more recipes increases complexity and maintenance burden, albeit not by much...but it adds up.

It is a very small piece of the Drupal CMS, but one that provides a foundation and example for using ECA instead of custom code or more contributed modules that needs to be maintained.

It indeed adds some maintenance burden for Drupal CMS , but I worry that that line of thinking will make the base Drupal CMS recipe too opinionated. The fact that ECA's are saved as config entities make them shareable and repeatable. Allowing this small piece of functionality to be its own package would benefit and lower the maintenance cost for the community with being able to require and use instead of copying and pasting.

In the Recipe Author Guide's Guidelines for interoperable recipes it is recommended to

Put reusable config in its own recipe.

As a rule, where a config entity is applicable to many different use
cases, it should go in its own recipe....

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue. See original summary .

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch changed the visibility of the branch 3481929-document-recipes-can to hidden.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch changed the visibility of the branch 3481929-document-recipes-can to hidden.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

thejimbirch created an issue.

🇺🇸United States thejimbirch Cape Cod, Massachusetts

So maybe this should be postponed?

Makes sense.

... we could change the recipe to ask which content types to add the fields to, all, or specific bundle machine names.

I was wrong. Reading the change order , it is not currently possible.

And you can't do things like:

config:
actions:
node.type.${content_type}:
# ...some nefarious business...

This is not allowed because it would make the recipe's effects less predictable, and therefore less composable, which would violate a fundamental design principle of the recipe system.

Production build 0.71.5 2024