Creating an Open Source Program Office at Box

by TODO Group

We're excited about what we've been able to accomplish and we look forward to seeing the projects emerging from other businesses in situations similar to ours. Being a part of the open source community is a rewarding experience and is totally achievable by companies working in enterprise capacities.

Why we have an open source program

We see running our open source program as being a logical extension to the type of work Boxers do every day. Like many tech companies, our technology stack includes open source projects. Because of that, it's important for companies like Box to have a good understanding of the open source ecosystem. There's no better way to get involved than to participate actively by releasing our own projects, contributing to existing projects, and working with engineers from other companies on common goals. Doing so also has benefits that aren't immediately apparent.

First and foremost, it gives those outside of Box a chance to see what we're working on and what sort of quality they can expect from us. Nothing speaks more about the expectations and standards of an engineering team than they code they produce. This has positive effects in numerous ways: from potential customers who may feel more comfortable seeing some of the code we're built on, to candidates who want to learn more about what it's like to be a Boxer. We're proud of the code we write at Box and we think it reflects our engineering culture well.

Running an open source program also gives us the opportunity to collaborate with non-Boxers in a constructive setting. Our open source projects are an introduction to talk with us. A lot of tech companies are facing similar problems, and these projects provide a way for engineers from multiple companies to come together to jointly design solutions. Take one of our recent projects, ClusterRunner. After open sourcing it, we got substantial contributions from other valley companies that have added to the tool's ease of adoption and which we plan to use in our own infrastructure! It's almost like having an a second team to work with.

Sharing code that you've written with the engineering community or meaningfully contributing to an important open source project is a rewarding personal experience that extends beyond the company walls. Providing our engineers with an avenue for doing this is a reminder that while you're first and foremost a Boxer, we are all part of a larger ecosystem of engineering working toward building a better internet.

Starting an Open Source Program Office

Getting Off the Ground

For open source to be successful in any company, it needs to have advocates. At Box, our first step was establishing an open source committee made up of engineers passionate about the open source community and giving back. This accomplished two things. First, it gave the engineering org a single place to look for answers, guidance, or brainstorming support. Second and more importantly it gave legitimacy to the program.

The committee's first order of business was to define our presence on the web. At that point, our web presence consisted of a scattering of projects hosted on GitHub, each with varying degrees of activity, documentation, and ease of adoption. We began an effort to clean out stale repositories and simultaneously kicked off a project to build the opensource.box.com microsite (hosted by gitub.io).

The microsite established a landing page for our open source efforts. We could highlight our flagship projects. Unrestricted by the GitHub UI, we could tap the creativity of our designers and programmers to create an experience unique to us.

Building Momentum

With all that effort invested in cleaning up our presence, we didn't want things to slide back into disrepair. So, we locked down access to create new repositories to just the OSS committee. We then defined a set of requirements for all new open source projects, which is still in use today. No new project can be open sourced without satisfying the following:

  • Have the proper license files and copyright
  • Have a defined owner who will maintain the project and respond to Issues and Pull Requests
  • Have documentation
  • Have passing unit tests
  • Have easy to follow installation instructions accompanied by how to run the unit tests
  • Follow language best practices and conventions
  • Not expose any security threats
  • Get approval from our legal team and business owners

Since we're obsessed with process & automation, we created a workflow within JIRA to facilitate the approval process. Any engineer who wants to open source a project will create a JIRA ticket, which is then ushered through the workflow by the OSS committee. The ticket must specify the group of engineers responsible for owning the project. At each stage of the JIRA workflow, the ticket is reviewed by the relevant teams for each of the requirements above.

So far this process has served us well. We had some bumps in the beginning and had to assign an SLA to the open source committee so that tickets wouldn't get dropped. It has given us visibility, auditing, and confidence.

After a project goes live, we trust our engineers to maintain it and respond to issues and pull requests accordingly.

Every project starts out healthy and growing. As time goes by a project matures and may plateau or no longer be relevant. We implemented a straightforward badging convention for each of our projects to help communicate this to project consumers.

Accepting Changes from External Contributors

The two major things that we consider critical with Pull Requests are legal protections and passing the build. We wanted to make both of these things easy for both external contributors and our engineers.

We maintain legal protections for users of our projects by requiring that each contributor to a Box open source project sign our Contributor License Agreement. It quickly became clear to us that manually enforcing this was going to be a headache. We wrote a bot that uses GitHub webhooks and verifies that each pull request author has signed the CLA. We haven't open sourced this yet, but we do plan to. Next, we configured Travis CI to confirm that each pull request will pass the build.

These two automation steps give pull requests owners immediate feedback on any obvious red flags, saving both them and the project maintainers precious time.

Building an Open Source Culture

We've come a long way, but there's further to go. When we launched the program, there was a surge of interest, but the unseen challenge was in shifting how we prioritized and measured the value of our work. All sorts of people wanted to get involved or open source a small tool, but few of them were able to shift their workload in order to do so. Getting the support of engineering leadership has been a critical element.


The Box logo is a registered trademark of Box, Inc. OSPOCO is not affiliated with Box, Inc.