1. 26 May, 2015 3 commits
  2. 22 May, 2015 6 commits
  3. 21 May, 2015 3 commits
  4. 17 May, 2015 6 commits
    • Steffen Müthing's avatar
    • Steffen Müthing's avatar
      [Bugfix] Fix array index calculation · d0f7fb58
      Steffen Müthing authored
      d0f7fb58
    • Steffen Müthing's avatar
      [Completion] Fix bug in bash array handling · ab07e2b4
      Steffen Müthing authored
      Some versions of bash apparently cannot handle unset array_var[-1],
      so calculate the index of that position manually.
      ab07e2b4
    • Steffen Müthing's avatar
      [lmod] Implement 'reload' strategy · edf87cbe
      Steffen Müthing authored
      edf87cbe
    • Steffen Müthing's avatar
      [Architecture] Major rewrite of buildsetup architecture · 9c3fbcd2
      Steffen Müthing authored
      A lot of buildsetup is about updating environment variables, and it's
      really unfortunate that the current architecture doesn't let you update
      the environment of the current shell to make sure subsequent user
      commands not done through buildsetup use the correct environment (and
      there's also stuff like lmod, which wants to update the environment as
      well).
      
      So with this patch, the buildsetup command becomes a shell function that
      calls into a new executable run-buildsetup. This executable can either
      just exec the real command or return commands to the shell that will
      then be executed by the shell (e.g. environment variable changes). Those
      commands are returned via a side channel realized by a temporary file.
      
      If necessary, the last command returned by run-buildsetup may be the
      special command rerun-buildsetup, which will cause the shell function to
      call run-buildsetup again with a special key telling run-buildsetup that
      it is being run in rerun mode. This can be useful to e.g. call lmod
      commands and then check whether they worked as expected.
      
      Finally, the patch also reworks the parsing of the returned commands to
      be much more stable. This updated procedure is now also used in the bash
      completion function.
      9c3fbcd2
    • Steffen Müthing's avatar
      [Configurator] Rename builddir-prefix to just prefix · ccd638a0
      Steffen Müthing authored
      It's shorter, and avoids a clash with the often-used build setting,
      improving completion usability.
      ccd638a0
  5. 15 May, 2015 22 commits