[gentoo-dev] python.eclass EAPI 4 support

2011-03-22 Thread Paweł Hajdan, Jr.
I remember there was an effort to make python.eclass support EAPI 4 even
before it has been officially approved.

Now that we have EAPI 4 support even in stable portage, it would be
awesome to make python.eclass support that EAPI.

What do you think?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Re: FEATURES=test, sys-devel/gcc ignored test failures

2011-03-22 Thread Paweł Hajdan, Jr.
On 3/21/11 11:02 PM, Ryan Hill wrote:
 It does to me, I use them all the time. ;)  The important part is that we
 install the test results, which can then be used for regression testing when
 rolling patchsets.

I see, it makes sense. I guess you're comparing the test results before
and after rolling patchsets and look for regressions.

 I think that glibc and gcc tests and other testsuites that nearly always
 fail shouldn't be run for the average user but should still be easily
 accessible in a standard way.  I think we need a more finely grained test
 setup, where we can say tests are expensive or interesting only to
 developers or known to fail, and let people opt-in to these on a
 per-package basis. Right now you always have to opt-out using
 package.use.mask which works but is unintuitive.

My main point is that the developer profile has FEATURES=test, and also
arch testers and developers run with FEATURES=test. Being able to
quickly rebuild gcc, glibc and others is a win.

I'm trying to understand the problem better - do you know what causes
those test failures? I don't expect a complete answer because that'd
probably be a half of actually fixing the failures.



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] How to list ARCH in gentoo?

2011-03-22 Thread Kfir Lavi
Hi,
I would like to know how to list the arches gentoo supports.
I tried this:
grep 'KEYWORDS=' * -R | cut -d '' -f 2 | sed 's/ /\n/g' | sort | uniq

Not the best but close.
Is there any way to know the exact arches supported by portage?

Regards,
Kfir


Re: [gentoo-dev] Re: Re: RFC: Making largefile a global use

2011-03-22 Thread Peter Volkov
В Чтв, 10/03/2011 в 11:49 +0100, Diego Elio Pettenò пишет:
 Any configure with AC_SYS_LARGEFILE will get a
 --enable-largefile option, but if you grep through the tree, this is
 usually simply added unconditionally.

Is there any value adding --enable-largefile? autoconf macros have it
enabled by default.

-- 
Peter.




Re: [gentoo-dev] Re: Re: RFC: Making largefile a global use

2011-03-22 Thread Mike Frysinger
On Tue, Mar 22, 2011 at 8:35 AM, Peter Volkov wrote:
 В Чтв, 10/03/2011 в 11:49 +0100, Diego Elio Pettenò пишет:
 Any configure with AC_SYS_LARGEFILE will get a
 --enable-largefile option, but if you grep through the tree, this is
 usually simply added unconditionally.

 Is there any value adding --enable-largefile? autoconf macros have it
 enabled by default.

developers need not go through the source and manually verify that the
package is using AC_SYS_LARGEFILE and is enabled by default ?
-mike



Re: [gentoo-dev] How to list ARCH in gentoo?

2011-03-22 Thread Tom Knight
On Tue, Mar 22, 2011 at 03:20:32PM +0200, Kfir Lavi wrote:
 Is there any way to know the exact arches supported by portage?

/usr/portage/profiles/arch.list shows which are valid KEYWORDS.

Cheers,

Tom


pgp6JwpZXE0nw.pgp
Description: PGP signature


Re: [gentoo-dev] How to list ARCH in gentoo?

2011-03-22 Thread Kfir Lavi
On Tue, Mar 22, 2011 at 4:05 PM, Tom Knight t...@gentoo.org wrote:

 On Tue, Mar 22, 2011 at 03:20:32PM +0200, Kfir Lavi wrote:
  Is there any way to know the exact arches supported by portage?

 /usr/portage/profiles/arch.list shows which are valid KEYWORDS.

 Cheers,

 Tom


hehe, thanks a lot.

Kfir


Re: [gentoo-dev] Re: FEATURES=test, sys-devel/gcc ignored test failures

2011-03-22 Thread Matt Turner
On Tue, Mar 22, 2011 at 12:09 PM, Paweł Hajdan, Jr.
phajdan...@gentoo.org wrote:
 I'm trying to understand the problem better - do you know what causes
 those test failures? I don't expect a complete answer because that'd
 probably be a half of actually fixing the failures.

They both have huge test suites covering massive amounts of code. It's
only natural that some of the tests fail from version to version.



[gentoo-dev] git-2.eclass final review

2011-03-22 Thread Tomáš Chvátal
Hi guys,
as there are no more complaints in kde overlay i would like you to test
your git using live ebuild with this new git-2 eclass and tell me how
you like it.

Also usual review of what already is in is welcomed because i would
really really like to move this thing into main tree.

Cheers

Tom
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# @ECLASS: git-2.eclass
# @MAINTAINER:
# Tomas Chvatal scarab...@gentoo.org
# @BLURB: This eclass provides functions for fetch and unpack git repositories
# @DESCRIPTION:
# Eclass for easing maitenance of live ebuilds using git as remote repository.
# Eclass support working with git submodules and branching.

# This eclass support all EAPIs
EXPORT_FUNCTIONS src_unpack

DEPEND=dev-vcs/git

# This static variable is for storing the data in WORKDIR.
# Sometimes we might want to redefine S.
EGIT_SOURCEDIR=${WORKDIR}/${P}

# @FUNCTION: git-2_init_variables
# @DESCRIPTION:
# Internal function initializing all git variables.
# We define it in function scope so user can define
# all the variables before and after inherit.
git-2_init_variables() {
debug-print-function ${FUNCNAME} $@

# @ECLASS-VARIABLE: EGIT_STORE_DIR
# @DESCRIPTION:
# Storage directory for git sources.
: ${EGIT_STORE_DIR:=${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/egit-src}

# @ECLASS-VARIABLE: EGIT_HAS_SUBMODULES
# @DESCRIPTION:
# Set this to non-empty value to enable submodule support.
: ${EGIT_HAS_SUBMODULES:=}

# @ECLASS-VARIABLE: EGIT_FETCH_CMD
# @DESCRIPTION:
# Command for cloning the repository.
: ${EGIT_FETCH_CMD:=git clone}

# @ECLASS-VARIABLE: EGIT_UPDATE_CMD
# @DESCRIPTION:
# Git fetch command.
: ${EGIT_UPDATE_CMD:=git pull -f -u}

# @ECLASS-VARIABLE: EGIT_OPTIONS
# @DESCRIPTION:
# This variable value is passed to clone and fetch.
: ${EGIT_OPTIONS:=}

# @ECLASS-VARIABLE: EGIT_MASTER
# @DESCRIPTION:
# Variable for specifying master branch.
# Usefull when upstream don't have master branch.
: ${EGIT_MASTER:=master}

# @ECLASS-VARIABLE: EGIT_REPO_URI
# @DESCRIPTION:
# URI for the repository
# e.g. http://foo, git://bar
#
# Support multiple values:
# EGIT_REPO_URI=git://a/b.git http://c/d.git;
eval X=\$${PN//[-+]/_}_LIVE_REPO
if [[ ${X} =  ]]; then
: ${EGIT_REPO_URI:=}
else
EGIT_REPO_URI=${X}
fi
[[ -z ${EGIT_REPO_URI} ]]  die EGIT_REPO_URI must have some value.

# @ECLASS-VARIABLE: EVCS_OFFLINE
# @DESCRIPTION:
# Set this variable to a non-empty value to disable the automatic 
updating
# of an GIT source tree. This is intended to be set outside the git 
source
# tree by users.
: ${EVCS_OFFLINE:=}

# @ECLASS-VARIABLE: EGIT_BRANCH
# @DESCRIPTION:
# Specify the branch we want to check out from the repository
eval X=\$${PN//[-+]/_}_LIVE_BRANCH
if [[ ${X} =  ]]; then
: ${EGIT_BRANCH:=${EGIT_MASTER}}
else
EGIT_BRANCH=${X}
fi

# @ECLASS-VARIABLE: EGIT_COMMIT
# @DESCRIPTION:
# Specify commit we want to check out from the repository.
eval X=\$${PN//[-+]/_}_LIVE_COMMIT
if [[ ${X} =  ]]; then
: ${EGIT_COMMIT:=${EGIT_BRANCH}}
else
EGIT_COMMIT=${X}
fi

# @ECLASS-VARIABLE: EGIT_REPACK
# @DESCRIPTION:
# Set to non-empty value to repack objects to save disk space. However 
this
# can take a REALLY LONG time with VERY big repositories.
: ${EGIT_REPACK:=}

# @ECLASS-VARIABLE: EGIT_PRUNE
# @DESCRIPTION:
# Set to non-empty value to prune loose objects on each fetch. This is
# useful if upstream rewinds and rebases branches often.
: ${EGIT_PRUNE:=}

}

# @FUNCTION: git-2_submodules
# @DESCRIPTION:
# Internal function wrapping the submodule initialisation and update
git-2_submodules() {
debug-print-function ${FUNCNAME} $@

[[ $# -ne 1 ]]  die ${FUNCNAME}: requires 1 argument (path)

debug-print ${FUNCNAME}: working in \${1}\
pushd ${1}  /dev/null

# for submodules operations we need to be online
if [[ -z ${EVCS_OFFLINE}  -n ${EGIT_HAS_SUBMODULES} ]]; then
export GIT_DIR=${EGIT_DIR}
debug-print ${FUNCNAME}: git submodule init
git submodule init \
|| die ${FUNCNAME}: git submodule initialisation 
failed
debug-print ${FUNCNAME}: git submodule sync
git submodule sync  die ${FUNCNAME}: git submodule sync 
failed
debug-print ${FUNCNAME}: git submodule update

Re: [gentoo-dev] git-2.eclass final review

2011-03-22 Thread Mike Frysinger
 # @BLURB: This eclass provides functions for fetch and unpack git repositories

fetching/unpacking

   eval X=\$${PN//[-+]/_}_LIVE_REPO
   if [[ ${X} =  ]]; then
   : ${EGIT_REPO_URI:=}
   else
   EGIT_REPO_URI=${X}
   fi

X needs to be marked local, and could be condensed:
EGIT_REPO_URI=${X:-${EGIT_REPO_URI}}

the PN_LIVE_REPO override documentation is missing

same feedback for all the vars after this too

   git-2_fetch $@

missing quotes
-mike



Re: [gentoo-dev] python.eclass EAPI 4 support

2011-03-22 Thread Arfrever Frehtes Taifersar Arahesis
2011-03-22 12:51:48 Paweł Hajdan, Jr. napisał(a):
 I remember there was an effort to make python.eclass support EAPI 4 even
 before it has been officially approved.
 
 Now that we have EAPI 4 support even in stable portage, it would be
 awesome to make python.eclass support that EAPI.
 
 What do you think?

python.eclass maintainers are (slowly) working on support for EAPI=4. Please 
wait patiently.

-- 
Arfrever Frehtes Taifersar Arahesis


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] git-2.eclass final review

2011-03-22 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dne 22.3.2011 22:26, Mike Frysinger napsal(a):
 # @BLURB: This eclass provides functions for fetch and unpack git 
 repositories
 
 fetching/unpacking

Yarp fixed.
 
  eval X=\$${PN//[-+]/_}_LIVE_REPO
  if [[ ${X} =  ]]; then
  : ${EGIT_REPO_URI:=}
  else
  EGIT_REPO_URI=${X}
  fi
 
 X needs to be marked local, and could be condensed:
 EGIT_REPO_URI=${X:-${EGIT_REPO_URI}}
 
Hopefully implemented.

 the PN_LIVE_REPO override documentation is missing
It is on purpose.
It is semisecret hack that allows you to localy bend live ebuilds
without any need for rewriting it or adding some variables (eg. reason
why we have just one live mesa ebuild and no branches based ones).

If you think this thing should be official we can document it, but i
really really think that people by default should not be aware of this.
 
 same feedback for all the vars after this too
 
  git-2_fetch $@
 
 missing quotes
Fixed

Handy link to gitdiff over gitweb: http://tinyurl.com/6focxa9

Thanks

Tom



-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2JJM0ACgkQHB6c3gNBRYd7fQCffqyoRouirScE2B8npuhEjLEF
Hx4AnRuyyIs5OG3WnRfKgM9itydIpJdE
=Nlbz
-END PGP SIGNATURE-



Re: [gentoo-dev] git-2.eclass final review

2011-03-22 Thread Mike Frysinger
2011/3/22 Tomáš Chvátal:
 Dne 22.3.2011 22:26, Mike Frysinger napsal(a):
 # @BLURB: This eclass provides functions for fetch and unpack git 
 repositories

 fetching/unpacking

 Yarp fixed.

well, the fix broke the blurb.  it has to be on one line.
# @BLURB: foo

 EGIT_BRANCH=${x:-${EGIT_BRANCH:=${EGIT_MASTER}}}
 EGIT_COMMIT=${x:-${EGIT_COMMIT:=${EGIT_BRANCH}}}

doesnt make much sense to use := ... it should be :-

 [[ $# -ne 1 ]]  die ${FUNCNAME}: requires 1 argument (path)

quoting doesnt make much sense ... -ne compares an int, not a string

also, the error msg is a bit vague.  it should say ... requires exactly 1 ...

 pushd ${1}  /dev/null
 popd  /dev/null

do you really want to silence errors ?  normally people only send
stdout to /dev/null because of the echoed dirlist.

seems to come up in every func

 git submodule init || die ${FUNCNAME}: git submodule initialisation failed
 git submodule sync  die ${FUNCNAME}: git submodule sync failed
 git submodule update || die ${FUNCNAME}: git submodule update failed

the die strings are abit redundant ... when it fails, the output will
show git submodule init || die, so people can easily figure out the
git submodule init cmd failed

 die \${EGIT_BOOTSTRAP}\ is not executable.

i find periods in die messages which are a single sentence to be
noise.  but maybe that's just me.

 if [[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]]; then

quoting doesnt matter here since you're using [[...]]

seems to come up in a bunch of places

 local save_sandbox_write=${SANDBOX_WRITE}
 if [[ ! -d ${EGIT_STORE_DIR} ]] ; then
 ...
 SANDBOX_WRITE=${save_sandbox_write}
 fi

might as well have the save done inside the if statement since that's
the only place it's used

 rsync -rlpgo . ${EGIT_SOURCEDIR} \

this means you need to have DEPEND=net-misc/rsync.  why not just use
`cp -pPR` instead ?  i vaguely recall rsync being slower than a
straight cp too ... not much point of doing a rsync when the vast
majority of the time (all the time?) the destination is empty.

 git-2_initial_clone()
 git-2_update_repo()

shouldnt EGIT_REPO_URI_SELECTED be set to  at the start ?

 for x in $(git branch |grep -v * ${EGIT_MASTER} |tr '\n' ' '); do

missing space after each pipe

 if [[ -n ${EGIT_BOOTSTRAP} ]] ; then
 if [[ -f ${EGIT_BOOTSTRAP} ]]; then

seems inconsistent in the whole file ... personally, i prefer the
space before the semicolon in if statements
-mike



[gentoo-dev] Re: FEATURES=test, sys-devel/gcc ignored test failures

2011-03-22 Thread Ryan Hill
On Tue, 22 Mar 2011 13:09:46 +0100
Paweł Hajdan, Jr. phajdan...@gentoo.org wrote:

 On 3/21/11 11:02 PM, Ryan Hill wrote:
  It does to me, I use them all the time. ;)  The important part is that we
  install the test results, which can then be used for regression testing when
  rolling patchsets.
 
 I see, it makes sense. I guess you're comparing the test results before
 and after rolling patchsets and look for regressions.
 
  I think that glibc and gcc tests and other testsuites that nearly always
  fail shouldn't be run for the average user but should still be easily
  accessible in a standard way.  I think we need a more finely grained test
  setup, where we can say tests are expensive or interesting only to
  developers or known to fail, and let people opt-in to these on a
  per-package basis. Right now you always have to opt-out using
  package.use.mask which works but is unintuitive.
 
 My main point is that the developer profile has FEATURES=test, and also
 arch testers and developers run with FEATURES=test. Being able to
 quickly rebuild gcc, glibc and others is a win.

Yes, I'm agreeing with you.  I'd like these off by default too.  We need a
standard way of enabling them however.  USE=test-dev or something.  I
complain about this about once a year or so. ;)  Maybe I should just do it.

In the meantime:

echo -e 'sys-libs/glibc test\nsys-devel/gcc test' \
   /etc/portage/profile/package.use.mask
 
 I'm trying to understand the problem better - do you know what causes
 those test failures? I don't expect a complete answer because that'd
 probably be a half of actually fixing the failures.

The GCC testsuite isn't designed to pass.  It's designed to be a
regression test.  Check before and after you apply a patch, make sure you
don't cock things up.  From http://gcc.gnu.org/install/test.html: It is
normal for some tests to report unexpected failures. At the current time the
testing harness does not allow fine grained control over whether or not a test
is expected to fail.  Look at http://gcc.gnu.org/buildstat.html and you'll
see this in practice.

One thing I know of that causes a bunch of failures is the fact that we
enable -Wformat, -Wformat-security, and -Wtrampolines by default.  Any
additional output during a test = fail.  I patched these recently for 4.5
though so they shouldn't be a problem going forward.


-- 
fonts, gcc-porting,  it makes no sense how it makes no sense
toolchain, wxwidgets   but i'll take it free anytime
@ gentoo.orgEFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662


signature.asc
Description: PGP signature


[gentoo-dev] Re: git-2.eclass final review

2011-03-22 Thread Ryan Hill
On Tue, 22 Mar 2011 19:08:53 -0400
Mike Frysinger vap...@gentoo.org wrote:


  rsync -rlpgo . ${EGIT_SOURCEDIR} \
 
 this means you need to have DEPEND=net-misc/rsync.  why not just use
 `cp -pPR` instead ?  i vaguely recall rsync being slower than a
 straight cp too ... not much point of doing a rsync when the vast
 majority of the time (all the time?) the destination is empty.

i think i remember doing some time tests using a tar pipe at one point with
subversion.eclass that blew cp out of the water.

tar -cf - . | tar -xf - -C ${EGIT_SOURCEDIR}

might be worth looking at.


-- 
fonts, gcc-porting,  it makes no sense how it makes no sense
toolchain, wxwidgets   but i'll take it free anytime
@ gentoo.orgEFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662


signature.asc
Description: PGP signature


[gentoo-dev] Re: git-2.eclass final review

2011-03-22 Thread Ryan Hill
On Tue, 22 Mar 2011 17:41:27 -0600
Ryan Hill dirtye...@gentoo.org wrote:

 On Tue, 22 Mar 2011 19:08:53 -0400
 Mike Frysinger vap...@gentoo.org wrote:
 
 
   rsync -rlpgo . ${EGIT_SOURCEDIR} \
  
  this means you need to have DEPEND=net-misc/rsync.  why not just use
  `cp -pPR` instead ?  i vaguely recall rsync being slower than a
  straight cp too ... not much point of doing a rsync when the vast
  majority of the time (all the time?) the destination is empty.
 
 i think i remember doing some time tests using a tar pipe at one point with
 subversion.eclass that blew cp out of the water.

That's because subversion.eclass was copying over .svn directories and
then deleting them afterward, and i was using tar's --exclude instead,
nevermind.


-- 
fonts, gcc-porting,  it makes no sense how it makes no sense
toolchain, wxwidgets   but i'll take it free anytime
@ gentoo.orgEFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: git-2.eclass final review

2011-03-22 Thread Mike Frysinger
On Tue, Mar 22, 2011 at 7:41 PM, Ryan Hill wrote:
 On Tue, 22 Mar 2011 19:08:53 -0400 Mike Frysinger wrote:
  rsync -rlpgo . ${EGIT_SOURCEDIR} \

 this means you need to have DEPEND=net-misc/rsync.  why not just use
 `cp -pPR` instead ?  i vaguely recall rsync being slower than a
 straight cp too ... not much point of doing a rsync when the vast
 majority of the time (all the time?) the destination is empty.

 i think i remember doing some time tests using a tar pipe at one point with
 subversion.eclass that blew cp out of the water.

 tar -cf - . | tar -xf - -C ${EGIT_SOURCEDIR}

 might be worth looking at.

ideally, the git eclass should be creating bare checkouts only in its
store dir, in which case it could use `git archive | tar` to move
things over ...
-mike



Re: [gentoo-dev] git-2.eclass final review

2011-03-22 Thread Tomáš Chvátal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dne 23.3.2011 00:08, Mike Frysinger napsal(a):
 2011/3/22 Tomáš Chvátal:
 Dne 22.3.2011 22:26, Mike Frysinger napsal(a):
 # @BLURB: This eclass provides functions for fetch and unpack git 
 repositories

 fetching/unpacking

 Yarp fixed.
 
 well, the fix broke the blurb.  it has to be on one line.
 # @BLURB: foo
Oh damn :P
 
 EGIT_BRANCH=${x:-${EGIT_BRANCH:=${EGIT_MASTER}}}
 EGIT_COMMIT=${x:-${EGIT_COMMIT:=${EGIT_BRANCH}}}
 
 doesnt make much sense to use := ... it should be :-
Yeah it should be but still it was just copy/paste and did no harm :)
Altered :)
 
 [[ $# -ne 1 ]]  die ${FUNCNAME}: requires 1 argument (path)
 
 quoting doesnt make much sense ... -ne compares an int, not a string
 
 also, the error msg is a bit vague.  it should say ... requires exactly 1 
 ...
Altered
 
 pushd ${1}  /dev/null
 popd  /dev/null
 
 do you really want to silence errors ?  normally people only send
 stdout to /dev/null because of the echoed dirlist.
 
 seems to come up in every func
Yeah that does not matter that much, altered to make stderr visible again.
 
 git submodule init || die ${FUNCNAME}: git submodule initialisation failed
 git submodule sync  die ${FUNCNAME}: git submodule sync failed
 git submodule update || die ${FUNCNAME}: git submodule update failed
 
 the die strings are abit redundant ... when it fails, the output will
 show git submodule init || die, so people can easily figure out the
 git submodule init cmd failed
Well mostly nobody reads die messages but right here it is pointless.
 
 die \${EGIT_BOOTSTRAP}\ is not executable.
 
 i find periods in die messages which are a single sentence to be
 noise.  but maybe that's just me.
Does not matter for me either. Since using both i will just stick
withoutdot for dies everywhere :)
 
 if [[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]]; then
 
 quoting doesnt matter here since you're using [[...]]
 
 seems to come up in a bunch of places
Yeah overquoting is my favorite thing to do during the long and boring
evenings :) removed
 
 local save_sandbox_write=${SANDBOX_WRITE}
 if [[ ! -d ${EGIT_STORE_DIR} ]] ; then
 ...
 SANDBOX_WRITE=${save_sandbox_write}
 fi
 
 might as well have the save done inside the if statement since that's
 the only place it's used
 
I actualy can't find any good reason why that var is defined at all.
Removed the code.

 rsync -rlpgo . ${EGIT_SOURCEDIR} \
 
 this means you need to have DEPEND=net-misc/rsync.  why not just use
 `cp -pPR` instead ?  i vaguely recall rsync being slower than a
 straight cp too ... not much point of doing a rsync when the vast
 majority of the time (all the time?) the destination is empty.

Good question, i actualy dunno why i picked rsync back then instead of cp.
I would love to use git bare clones (damn submodules) and just use git
to move this crap around. cp -pPR should be equal so lets try with that
and see how much people whine around :)
 
 git-2_initial_clone()
 git-2_update_repo()
 
 shouldnt EGIT_REPO_URI_SELECTED be set to  at the start ?
Why not :)
And found issue in die string because it said wrong variable there :)
 
 for x in $(git branch |grep -v * ${EGIT_MASTER} |tr '\n' ' '); do
 
 missing space after each pipe
Added
 
 if [[ -n ${EGIT_BOOTSTRAP} ]] ; then
 if [[ -f ${EGIT_BOOTSTRAP} ]]; then
 
 seems inconsistent in the whole file ... personally, i prefer the
 space before the semicolon in if statements
Yerp i go with the later mostly but sometimes when i copy part statement
i get space into it. Unified.

Thanks for all the points :)

Again the diff is: http://tinyurl.com/62eb88b

Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2JQgsACgkQHB6c3gNBRYf79QCfV454YtzZD+2m7fOvFHvriDnf
0+4AnjnCA9oCwxPyzWsl8YzAI8ihXdm1
=qdu+
-END PGP SIGNATURE-