Stairway to Heavenrepairing broken steps to software license Nirvana
I’ve had a lot of the same client conversation over the past few years. It goes something like this:
— So let’s move on to the licensing strategy.
— Sure.
— I had a productive call with your engineer, who gave me a tour of the repositories, open and closed, plus a bit of the business background. I do see some natural boundaries in the code where we can draw clear lines, so your customers and competitors will understand what’s more and less open. No engineering changes needed.
— Great.
— So that leads us to the interesting part: what the license for the less-open parts should say.
— Do you have any guidance you can give there?
— Of course. And again, thanks to that call with your engineer. But before we get into where I think you’re headed, I’d like to take just one small step back, show some work, and cover a ground rule that you should be aware of, if you’re not already.
— Okay.
— In a nutshell, licensing software to the public is a ratchet. It’s pretty easy to go up, to give more permission for software that you’ve already released. That’s well understood, and usually well received. But it’s very hard, maybe even legally impossible, to take back permission for work you’ve already given away. It’s hard to go back and make public license terms for old software more restrictive.
— So it’s easy to give more away, but not to take it back?
— Generally, yes. There’s one major exception we might run into, which is that it’s often possible to “fork” your own work, and apply a new, more restrictive license to new work going forward. But that new license applies only to the new work.
— So you can restrict going forward, but can’t go back and restrict work you’ve already released?
— That’s the general rule. Which is why many companies prefer to let the rope out a little bit at a time. They’ll test the waters with a relatively tight license, and loosen it up over time, as they get a better sense of how folks receive their terms, how they understand the breakdown between fully open and partly open code, the marketing effect that has, and what kind of contribution back they can expect. Basically, as they gain confidence that they haven’t overstepped, and want more benefits of openness, they move forward one step at a time.
— It sounds like you’re telling me to pick the most restrictive license I can, at least to start.
— Not quite. We need to balance that conservatism with what you already know about your customers, competitors, and potential contributors. There are some serious advantages to opening up more, and we may be able to skip some steps. For example, you may already know enough about your business situation to know that an “open source” license, with all those marketing benefits, would actually bring contributors in without handing your competitors a windfall. If you have that confidence, there’s no reason to wait. Since it’s still early days for the company, we don’t want to close you off from contributors and outside interest unnecessarily. You probably don’t know who all is going to be interested in what you’re doing, why, or the best way to sell to them.
— We’ve had a few happy surprises already, or at least signs that way. But so far everything points to the business model we’ve discussed.
— Perfect. That can guide us.
— OK.
— First things first, we should cover a few basics. I take it you’re willing to let folks make copies of your work, and share it around freely. In other words, we’re concerned about what they’ll do with the code, and whether they’ll make any changes, not about having our code online, potentially in more places than just our “official” repo.
— That’s right.
— Good. From there, I should ask you directly: What don’t we want others to be able to do with this code? Can you give it to me as a “thou shalt not”?
The client gives me their rule, usually in terms of behavior that would compete with their paid offerings or otherwise reduce the need for their services. Sometimes we end up with a few “commandments”. Sometimes just one.
— Alright. That’s a good start. Now let’s think about the other things folks will want to do with this code, whether they’re potential customers or won’t ever pay us a cent, but might help out with bugs or development. Do those things require making changes to our code?
We work through permission to make changes.
Sometimes we decide that the first step is a highly restrictive license that permits only one particular kind of use. Other clients are more confident in the strategic effect they want, and willing to license for general use with specific no-nos.
Whether the client allows modifications, and sharing of modifications, is more of an implementation detail. It depends on whether the kind of software they’ve written and the kinds of uses they want to allow for free inevitably involve changes, or just use as provided. If changes are part of use, we work through what those changes look like, and whether we want do set different rules about changes, extensions, and work built on top, like programs using a library.
At that point, I have enough to write a license, and eventually to PR changes to LICENSE
, README
, documentation, and websites that communicate what terms apply to what code, and what kind of change that represents.
Once those PRs merge, it’s usually a little while before the client comes back to me for new advice on how to evolve their strategy. In the meantime, to make sure they have a framework for checking whether it’s time to reconsider, and where that might go, I typically send them an e-mail laying out what the next choice might look like.
Those e-mails are really tailored to the client. By then I have a pretty good sense of what the code does—I’ve usually set it up and run it for at least one toy example, on my own—as well as how my client contact sees the business side of things. But that tailoring obscures what is really a pretty well defined staircase:
-
If they’re on a strict proprietary license that’s essentially read-only, consider stepping up to one that allows sharing.
-
If they’re on a proprietary license that allows sharing, consider stepping up to one that whitelists, or permits, specific use cases.
-
If they’re on a restricted license that whitelists specific use cases, consider one that blacklists, or prohibits, specific use cases, instead, and allows all others.
-
If they’re on a blacklist restricted license, consider a consistent copyleft license that either explicitly or practically requires code back for blacklisted uses.
-
If they’re on a consistent copyleft license, consider a selective one, often based on a past blacklist or whitelist of use cases.
-
Consider going full-permissive, and relying on other exclusive rights and advantages to make money.
Progression from one step up to the next isn’t always straightforward. There are a few big “jumps”: allowing sharing, often called “distribution”, allowing changes, often called “derivative works”, “modifications”, or “extensions”, and moving from restriction, which says “thou shalt not”, to copyleft, which says “if you do, share your work alike”. Each of those jumps corresponds to substantial risks and rewards, in the form of unexpected contributions, a positive, and unexpected use by competitors, typically a negative. Each represents a calculated bet on the part of the company, with crown jewels on the line.
Marching up the license staircase toward more openness over time isn’t a new phenomenon. When we look back at old, lesser-known licenses, from restricted terms like Aladdin to strong-copyleft forms like RPL and QPL to clones of better known forms, like Sleepycat, open source history is littered with stair-step licenses that companies climbed toward more permissivity.
Ghostscript stepped up from Aladdin to GPL. Qt stepped up from QPL to GPL. Those ascensions reflected not just invariant conclusions about licensing in general, but achievements of business, marketing, and strategic milestones on the part of companies and their projects. Often, more permissive licensing corresponded to inflection points in the power of other strategic or exclusive advantages, like strengthening of a key trademark, acquisition of important operational or regulatory certifications, closing master agreements with key customers, or the folding or acquisition of a looming competitor.
Everything business is in a hurry to call itself “lean”. But Ries’ book came out in 2011, well after many of these licenses. What we’re exploring here isn’t any kind of newfangled business insight, but business as usual.
Take a gamble on what you think will succeed. Test the market, and as you develop relationships, information, and a better situational awareness in your business environment—and convince employees, advisors, and investors to see the world as you do—you can take steps that would have looked brash and foolhardy three steps back.
The fact that so many companies, and so many founded by folks who really want to be working 100% permissive open source all the time, end up asking me to write new restricted and copyleft forms, testifies to how rickety and incomplete the stairway to software licensing Heaven has become. We are missing more than a few steps from EULA to Blue Oak. As a result, companies unwilling to skip steps or take a giant leap get stuck more closed than they’d like to be, even if their faith in openness is very strong. Managers at these clients often know the kind of open source success they want to emulate. But they don’t have good, standardized license support for each step along the way, in current business conditions. Erratic spikes in standardization, name recognition, and free or open source bona fides cause many to stumble and fall.
Clients pay me to understand their needs and implement legal solutions. They don’t pay me to lobby them for my own philosophical point of view. When my work for a client goes public—public software licenses usually are—I often take heat for writing a less-than-ideal license, from whatever point of view.
Those critics are often surprised to learn that I’m very aware of their policy positions, and may even share their vision of license Utopia. I was involved in Blue Oak, the most permissive rigorous license I know of, and also Parity, the strongest copyleft. But a shared vision is nothing without a practical program to realize it, starting where we are now.
We’ve seen companies take a licensing leap of faith, and plummet. There’s no wisdom in emulating their failures, for all the rights reasons. Given the public-licensing ratchet, and where may engineering-driven startup managers want to go, of their own accord, good restricted and strong-copyleft licenses facilitate much more progress than regression. We need more, not less of them, and should expect them to produce more wide-open permissive and copyleft software, in the long run, overall.
Your thoughts and feedback are always welcome by e-mail.