[codeface] [PaStA] Support arbitrary repository locations

  • From: Ralf Ramsauer <ralf.ramsauer@xxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>, Christian Hechtl <hechtl@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 23 Apr 2017 18:42:48 +0200

Hi Christian,

good news! Only one simple patch was required to support arbitrary,
non-default repository locations. And that patch is as simple as [1]. In
fact, PaStA already supported arbitrary locations, it's rather a bugfix
in prepare_projects than a new feature that enables the use of them. :-)

You can define non-default repo locations by adjusting the REPO variable
inside your project config.

Example:
REPO = /tmp/my_external_repo

pasta_prepare will respect that variable.

Btw, the default repo location is set under
PaStA-resources/common/default.cfg

  Ralf

[1]
https://github.com/lfd/PaStA-resources/commit/f2142f82b0085de12f628962de5fce8885ff5210

Other related posts: