Note: Patch Spotlight is deprecated. All initiatives should be catalogued now under sub-pages of http://drupal.org/community-initiatives/drupal-core.
Design Initiative IRC Meetups
Please join us for our 1st bi-weekly meeting to discuss issues and progress related to the Drupal 8 Design initiative. The meeting will be held in #drupal-design in IRC.
PST: 11:00 AM
EST: 2:00 PM
UK: 7:00 PM
CET: 8:00 PM
Making learnability a priority in Drupal.
Drupal is growing up, and with its maturity comes a complexity that is making it harder and harder to learn. We have initiatives that focus on making the user interfaces easier to use, but we have not been paying attention to how improvements to core have affected new contributors, and their ability to learn how to code for Drupal. This wiki is be a place where we can track and discuss how to keep Drupal coding easy to learn.
(This idea comes out of the Engineering for the 80% talk given at Drupal Camp Colorado, and the Bay Area Drupal Camp in 2011.)
Read moreAPI docs sprint!
Some of you may have heard that I wanted to organize an API docs cleanup sprint... Well, here it is:
(issue) http://drupal.org/node/1310084
The idea is to have a sprint over the next couple of weeks, and get the Drupal Core API documentation to conform better to our documentation standards. All the instructions are on the issue... please feel free to post general questions here, but otherwise, discussions about specific documentation, standards, etc. are better off on the issue queue.
Let's get this done!
Read morePing pong release cycles (for Drupal core)
http://en.wikipedia.org/wiki/Intel_Tick-Tock
"Tick-Tock" is a model adopted by chip manufacturer Intel Corporation since 2007 to follow every microarchitectural change with shrinking of the process technology. Every "tick" is a shrinking of process technology of the previous microarchitecture and every "tock" is a new microarchitecture.[1] Every year, there is expected to be one tick or tock.[1]
And now, the same thing for Drupal release management.
"Ping" release (so far this was D5, D6, D7, etc):
- no backwards compatibility
- break existing APIs
Kicking it old Skool!
I know what it feels like to have your hard work critiqued, piles of issues to solve and to deal with some of the hardest discussions and posts we can have. I know the many hours spent, sacrificing time with our loved ones, time without sleep or the so many other things we give up to do our part.
Read moreTaking a more focused approach to Drupal 8 development
Last night, as I read through the conversation that is happening on the "Make core maintainable" issue (http://drupal.org/node/1255674), I couldn't help but feel that while this conversation is important, it may be the wrong conversation to be having at this time. I am glad this conversation has continued coming out of DrupalCon London, but I feel like we haven't answered the fundamental question of "what is Drupal?", which may help steer the conversation in a direction that will help us select the features that really need to be in core.
Read moreHow code contributions to Drupal get funded
I'm following this up a bit from effulgentsia's post in this group about Acquia's influence, as well as some of the burnout discussions.
I'm mainly interested in core and the largest contrib projects here. However if I missed something feel free to expand scope a bit - I might edit stuff in if I miss it.
Read moreDefine basic conventions for converting things to classes
As we move to converting low level system in core to classes, we need to define a convention for doing so.
Please chime in on the discussion at http://drupal.org/node/1239644.
Read moreEntity API update and summary
Here is a short summary of what we discussed at the Drupalcon London.
There has been a core conversation talk by Peter Wolanin and me, of which you can find the video here and the slides here.
Roadmap
The further roadmap is to:
- define the API + do a test entity type
- port a core entity
- do performance testing
- implement revisions + port node and other entity types
- refactor field storage
Performance testing basically should be repeated after every step.
Status
- There is a first patch that moves the entity API in its own module, which we need to get in first.
http://drupal.org/node/1018602 -> Needs review. - There is an issue for implementing basic CRUD and porting a first entity type: comment
http://drupal.org/node/1184944 - work in progress - We've worked on defining the basics of the API at the Drupalcon codesprint (see below).
Does Acquia exert inappropriate influence on Drupal core?
Sun's blog post yesterday and some of the comments on it raise the concern that Acquia, a single commercial company, exerts inappropriate influence on the direction of Drupal core.
Read moreRFC: Drupal 8 gates (Draft)
Back at DrupalCon Chicago, Dries outlined a strategy for Drupal 8 involving a series of "gates" that would help ensure core code quality in a number of different categories: Documentation, Performance, Accessibility, Usability, and Testing. Patches to Drupal 8 would be required to pass these in order to be accepted (as well as pass standard human reviews).
The idea behind the gates is to define essentially a set of "checkboxes" which outline the most important aspects to each category, and does so in a way that is both not overwhelming to core developers (list of hoops to jump through is kept as small/focused as possible) and also creates very little additional burden on the team in question (contains ample links to documentation/resources so developers/reviewers can help themselves).
The documentation, accessibility, performance, usability, and testing teams have been hard at work on defining their gates over the past month, with a focus on trying to identify the highest-impact items and help raise the collective IQ of the development community by educating them on how to ensure their patches pass. While these gates (apart from documentation) are NOT quite finalized yet, several teams have asked for additional community feedback. The goal is to get these finalized within the next 2 weeks in order to formally announce them at DrupalCon London, where lots of sprinting on D8 is sure to be happening.
Items that need review:
- Are the gates clear in what they're asking for?
- Is it also clear when a gate would apply to one of your patches, or to a patch you're reviewing?
- Are there ample resources to help you pass the gate?
- Any other comments?
So, without further ado, the gates!
Note: If you have bandwidth to help the teams push these through the finish line (helping to identify/write missing documentation, helping with wordsmithing on the actual gate text to make them more clear, etc.), this would be greatly appreciated. :)
Read moreRFC: Core issue queue office hours and 'triage team'
Update
First office hours are this week, see http://drupal.org/node/1242856
A few of us have been discussing in irc ways to improve the triage of the core issue queue.
The proposal
Several times per week, people join #drupal-contribute and ask for help getting started contributing to Drupal. Depending on who's in the channel at the time, they might be pulled into reviewing a specific core issue or contrib module, writing documentation, or if the channel is quiet just ignored.
To help structure this process better, we're proposing holding 'core issue queue office hours' a couple of times per week (or more regularly if enough people volunteer). This is not a new idea, Views already has a bug squad, jQuery has a bug triage team (and fancy graphs), and the Usability team and some Drupal 8 initiatives are holding regular office hours or irc meetings.
There is no 'core development team' as such, however there are people who regularly work on core issues, as well as people who are regularly in the #drupal-contribute irc channel. For new contributors, it is not at all obvious who those people are, or how to get involved. Regular office hours will make it easier for people to join the effort.
Read moreBest practice: Singleton vs factory + static cache
As we attempt to rewrite more and more pieces of Drupal (dbtng, t(), ..) in OOP code, we also see singletons being used or suggested.
Trying to not hijack other discussions and d.o. issues, I start a new discussion about this here.
Using `git notes` for doling out real contribution credit
Sam Boyer writes:
Our method for giving contributors credit sucks. We can't do realtime statistics of essentially any kind since we're reliant on parsing commit messages in a broken fashion. In the discussion we had about git workflows, I mentioned that we could use Git's notes feature to solve a ton of our problems related to giving credit where credit is due.
Basically, notes are a way that you can attach additional metadata to a commit. Lemme break that down:
<
ul>
Read moreA modern t()
Use cases:
- Translate and format this string. (
t()) - Format this string, but don't translate. (
strtr()+ prepared arguments) - Mark this string as translatable, but don't translate it. (
hook_menu(),hook_menu_alter(),watchdog(), ...) - Translate and format this string during installation. (
st()) - Format a plural form of this string. (
format_plural()) - Translate and format this string in a specific context. (
t('View', array('context' => 'noun')) - Translate and format this string in a specific language. (
t('View', array('language' => 'hu'))
Problem:
Read moreCore template conversion methodology - cart before the horse?
The way we have been approaching changes to core templates has, at least afaict, been a piecemeal affair - we change one or two templates at a time working through the various markup issues until such time as we have some broad consensus and ta da, here's our new template.
This bottom-up-esque methodology seems reasonable because we we are not overhauling the entire system at any one time and are just looking to adjust or tweak parts of it.
I think this has worked OK in the past, however I tend to think this methodology has a few drawbacks.
Read moreOk, now for the not so polite rant.
I'm giving your group this little rant because, well, I got some replies to my first post here. At least I know someone is actually reading them.
Read moreDesign Initiative - Workshop results
Results from the Berlin Design Camp Workshops.
Read moreLet's talk about string freeze, bay-bee!
Back in D5 or D6, we introduced a rule of "string freeze", meaning we would not change/add any strings in a stable release of Drupal that was not clearly a bug fix (and a critical bug fix, at that, iirc) lest poor, hapless end users do a minor update of core and be slapped in the face with English in their French/German/Swahili site.
I wanted to open this up for discussion up again now that we're in the age of localize.drupal.org. Is this formally hard-and-fast rule something we can look at loosening a bit? It would certainly put a lot more options on the table in terms of incrementally improving D7's UX, and also in terms of backporting non-backwards-compatibility breaking features (which is on the table for the first time in D7, thanks to the testing framework).
Here are a few specific examples that have come up recently:
Read moreA have a polite rant, and concerns
Hello,
I join this group to make this comment. I don't expect any replies, not that any one of you wouldn't make an effort to make one. I'm just not looking for any.
Read more





