Debian has quite a lot of code production. APT and dpkg are pretty standard open source projects, and Debian also maintains substantial patches for a lot of its packages. Not to mention any of the infrastructure.