CRM_Extension_Browser - Allow different cache files for different feeds
authorTim Otten <totten@civicrm.org>
Tue, 17 Jan 2017 22:30:27 +0000 (14:30 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 17 Jan 2017 23:37:08 +0000 (15:37 -0800)
commit5bcef2c31c0687a36244226190a18c3a63888efd
treeed8fc438187a438c0a3ab5a2757cffb64c9489fd
parent45e0b0b856694880f2c8589e912efc41d4aa1373
CRM_Extension_Browser - Allow different cache files for different feeds

The motivation here is to support these two different CLI commands:

```
cv dl myextension
cv dl myextension --dev
```

The two commands differ in that they pull from different feeds -- e.g.  the
stable feed `https://civicrm.org/extdir/ver={ver}|cms={uf}` vs the
developmental feed `https://civicrm.org/extdir/ver={ver}|cms={uf}|status=`.
However, this creates the real possibility that the user might go back/forth
among different feeds (omitting/enabling the `--dev` option per whim).
CRM/Extension/Browser.php