Merged from trunk 9428:9448
authorFabian Groffen <grobian@gentoo.org>
Fri, 7 Mar 2008 20:16:47 +0000 (20:16 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 7 Mar 2008 20:16:47 +0000 (20:16 -0000)
commita59855c9866d051daad1081eb49d6d2a4cd37323
treea1b5868dc238b9bc37426160ecaaaa4cc1a34b77
parent12b191b58921e1938b46264af223e4366170ea56
   Merged from trunk 9428:9448

   | 9429    | Bug #211949 - Fix the regex so that it won't match the =     |
   | zmedico | character (equals sign).                                     |

   | 9431    | Add support for idendification of function definitions since |
   | zmedico | it's needed in some cases in order to prevent some odd       |
   |         | function contents from being mistakenly identified as        |
   |         | invalid variable assignments. For example, this line from    |
   |         | _gcc-specs-directive_raw() is commonly found in              |
   |         | environment.bz2 files: $1=="*"directive":" { pspec=spec;     |
   |         | spec=""; outside=0; next }                                   |

   | 9432    | Bug #211949 - Temporarily revert back to a less strict regex |
   | zmedico | in order to avoid false positives with multi-line variable   |
   |         | definitions that can be produced by the 'export' builtin.    |

   | 9433    | Tighten the funct_start_re so that it doesn't match leading  |
   | zmedico | whitespace since that's not needed.                          |

   | 9434    | Fix func_start_re so that it requires at least one           |
   | zmedico | alphanumeric character.                                      |

   | 9435    | Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS  |
   | zmedico | variable so that /etc/portage/profile/profile.bashrc will    |
   |         | only be sourced once if it exists.                           |

   | 9436    | Implement variable assignment handling in python so that we  |
   | zmedico | can eventually make it more flexible and robust.             |

   | 9437    | Update description to reflect the new meaning of the PATTERN |
   | zmedico | argument.                                                    |

   | 9438    | TODO: Move variable name validation and declare -r filtering |
   | zmedico | into filter-bash-environment.py.                             |

   | 9439    | As requested by wolf31o2, use the ROOT setting from          |
   | zmedico | make.conf as long as it's not overridden by the calling      |
   |         | environment.                                                 |

   | 9440    | Handle multi-line quoted variable assignments.               |
   | zmedico |                                                              |

   | 9441    | Bug #211949 - Tighten the variable name filter to exclude    |
   | zmedico | any variables with names containing any non-alphanumeric     |
   |         | characters.                                                  |

   | 9442    | Fix have_end_quote() to compare the quote against the        |
   | zmedico | correct group.                                               |

   | 9443    | Pass a space-separated list of variables into                |
   | zmedico | filter-bash-environment.py and generate the final regex on   |
   |         | the python side instead of in bash. Also, properly anchor    |
   |         | the regex so that it actually works.                         |

   | 9444    | Update the description to reflect the new meaning of         |
   | zmedico | PATTERN.                                                     |

   | 9445    | Move the variable name validation regexes (for bug 211949)   |
   | zmedico | into filter-bash-environment.py instead of passing them in   |
   |         | from bash.                                                   |

   | 9446    | Implement the sed-based declare -r filter in python.         |
   | zmedico |                                                              |

   | 9447    | Remove egrep syntax emulation since it's not really needed.  |
   | zmedico |                                                              |

   | 9448    | Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt   |
   | zmedico | from sandbox for things like writing metadata cache. Thanks  |
   |         | to ferringb for the suggestion.                              |

svn path=/main/branches/prefix/; revision=9450
bin/ebuild.sh
bin/filter-bash-environment.py
bin/portageq
pym/portage/__init__.py