jeudi 3 juin 2010

UbuntuDiff updates

Since the recent announce of http://ubuntudiff.debian.net, some people started using it and asked for a few features. Lately, I've been working on it and tried to implement the following:

  • Use a single page (instead of a small HTML page with a lot of JS)… well, that was easy :)

  • Show the debdiff between the Ubuntu package and the Debian one: that was simpler than I first thought. Right now, it's implemented and deployed [1]. When I first generated all patches, I realized how people can be crazy :) I had diffs larger than 60MB. So, I had to reduce that by keeping only diffs less than 200 lines per file. At the end, I had a little more than 2GB of patches (and html files) generated for ~2000 source packages (which is somehow reasonable). So now, below the changelog, there is a list of modified files and you can:

    • download a patch for each file, extracted from the debdiff,

    • or click on the file's name to see the diff (if not too large, i.e. less than 200 lines)


    Note that red colored filenames denote files with too large diffs.


I'll still have some details to fix like putting the "download patch" link on the left, fix the show/hide thing which is also activated when you click on "download patch". Then, I'll consider it feature-complete (almost) and won't touch it again. My next game will be to write some tools to analyse or detect new transitions… if you want to play, let me know :)

As always, please test this new beta version of UbuntuDiff (and enjoy it :p)… and maybe, you may also report errors/bugs, if any :)

[1] http://ubuntudiff.debian.net/beta/

Aucun commentaire:

Enregistrer un commentaire