Re: [gentoo-portage-dev] [PATCH] Add support for travis ci

2014-07-07 Thread X dej
First, this seems fishy: "$(python -V 2>&1 | sed -e 's/Python //' -e 's/\.[^\.]*$//')" '[^\.]' and '[^.\]' means the same: anything except dots and backslashes. '[^.]' seems more reasonable. Second, as this is an argument to sudo, I would prefer the more secure: "$(python -V 2>&1 | grep -o '[1-9][

Re: [gentoo-portage-dev] [PATCH] Add support for travis ci

2014-07-06 Thread Manuel Rüger
Updated patch, I forgot to remove debug statement. Manuel On 07/06/2014 10:17 PM, Manuel Rüger wrote: > This patch adds support for travis continuous integration. > > Example output: https://travis-ci.org/mrueg/portage/builds/29268364 > > Cheers > > Manuel > From fed6a33341c8f8b0cdcf5aca4ee57

[gentoo-portage-dev] [PATCH] Add support for travis ci

2014-07-06 Thread Manuel Rüger
This patch adds support for travis continuous integration. Example output: https://travis-ci.org/mrueg/portage/builds/29268364 Cheers Manuel From 3bee849868cf53fb5814f81fa368e91b59f7220b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Mon, 30 Jun 2014 18:13:51 +0200 Subject