Inspired by github's online code editing, during Debconf 14 I worked on integrating an online editor on debsources (the software behind sources.debian.net). Long story short: it is available today, for users of chromium (or anything supporting chrome extensions).
After installing the editor for sources.debian.net extension, go straight to sources.debian.net and enjoy!
Go from simple debsources:
To debsources on steroids:
All in all, it brings:
- Online editing of all of Debian
- In-browser patch generation, available for download
- Downloading the modified file
- Sending the patch to the BTS
- Syntax highlighting for over 120 file formats!
- More hidden gems from Ace editor that can be integrated thanks to patches from you
Clone it or fork it:
git clone https://github.com/rgeissert/ace-sourced.n.git
For example, head to apt's source code, find a typo and correct it online: open apt.cc, click on edit, make the changes, click on email patch. Yes! it can generate a mail template for sending the patch to the BTS: just add a nice message and your patch is ready to be sent.
Didn't find any typo to fix? how sad, head to codesearch and search Debian for a spelling mistake, click on any result, edit, correct, email! you will have contributed to Debian in less than 5 minutes without leaving your browser.
The editor was meant to be integrated into debsources itself, without the need of a browser extension. This is expected to be done when the requirements imposed by debsources maintainers are sorted out.
Kudos to Harlan Lieberman who helped debug some performance issues in the early implementations of the integration and for working on the packaging of the Ace editor.