On 02/11/2015 17:51, Eric Shepherd wrote:
> * If we're on a fixed deployment schedule, what happens when we have
> to fix a bug that's critical, or if we have a project of content
> that depends on a macro deployment, which stalls out because of the
> deployment schedule. Having to time posting of articles to macro
> deployments is not something that's currently feasible; given that
> we do develop or update macros based on content changes, this will
> be a thing to deal with.
We are not speaking of a fixed deployment schedule. We are speaking of
using the same continuous deployment feature that the rest of the MDN
code base.
What happens when we have to fix a bug that's critical?
The same thing as a critical bug in the code base: this was a bit
problematic right after the Kuma migration but the devs have tightened
their processes and this working well now. No reason why this would be
different for code in macros
What happens when we have a project of content that needs a macro
deployment?
This is incredibly rare nowadays (wasn't in 2012), and yes most of these
projects are not blocked by a 2-3 days "delays" in macro reviewing,
unless we are very bad in planning it.
One exception: large week-end sprints.
But: usually devs are invited there too, and we will have a system to
test macros anyway… Having the actual macro/work live a few days later
will in fact be a good way to *reengage* contributors of the last sprint :-)
Nowadays we very rarely use new macros for content projects. I don't
remember one single example in 2015 where having a 2-3 day review
process would have been blocking a project. Surely not the quicklinks
macros or the new CSS macros, or the "add-a-standard-sentence" type of
macros that we have created here or there.
> * Before doing something like this, I'd like to better quantify what
> benefits we get on the platform side of things if we go this route,
> and what the specific challenges of making this change are.
Sure, the Kuma team has to make an analysis.
> * Macros in development very frequently are being developed or updated
> because of needs introduced by or oriented around recent content
> changes. This means that macros will have to be able to be tested
> against current site content. We'll need a way to test
> in-development or updated macros against live content, and used on
> pages that can let the macros fetch data from live content, without
> actually deploying the macros to the production site. I expect this
> to be one of the more interesting bits of the design process.
Test environment is an important element. We will not be able to launch
such feature without being able to test (seriously) PRs.
> * As far as review cycles go, I'd sort of hoped to one day have a
> proper review management interface on MDN that would be used for
> both articles and macros; pulling the macros out means multiple
> avenues to deal with for reviews. It's not a disaster or anything,
> just a minor disappointment after years of wishful thinking. Don't
> mind me. :)
I disagree: I think Github is enough here. Let's not over-engineer here
or play the "Not-invented here" syndrome: we surely don't want to
develop non-writing specific features when there are so many options out
there (or even inside Mozilla) that have resources allocated to
maintain. We surely don't want to implement a new code editing/reviewing
interface in MDN.
--
Jean-Yves Perrier
Senior St. Project Manager / Documentation Project / MDN