This is done through (swh) scheduling the following instances (task-type: list-phabricator-full):
- [x] Create swhbot register accounts
- [x] Reference credentials per site:
- [x] kde: https://phabricator.kde.org/ (~> register through https://identity.kde.org)
- [x] wikimedia: https://phabricator.wikimedia.org/ (~> register through wikimedia.org)
- [x] blender: https://developer.blender.org/ (~> direct registration)
- [x] llvm: https://reviews.llvm.org (~> direct registration)
- [] ~~ phabricator: https://secure.phabricator.com (cannot register an account manually)~~
- [x] D1594: Fix swh-lister's phabricator model to include instance in db model
- [x] stop swh-worker@lister on workers
- [x] Migrate existing schema
- [x] Deploy latest version
- [x] Restart workers
- [ ] Deploy scheduler tasks for list-phabricator-full with instance [2]
- [x] llvm
- [ ] wikimedia
- [ ] blender
- [ ] kde
- [ ] Deploy scheduler tasks for list-phabricator-incremental with instance [3]
- [x] llvm
- [ ] wikimedia
- [ ] blender
- [ ] kde
Note:
- A probably not exhaustive list can be found at [1]
[1] https://en.wikipedia.org/wiki/Phabricator
[2] Add list-phabricator-full instance (sample)
```
SCHEDULER_API_URL=http://saatchi.internal.softwareheritage.org:5008/; swh scheduler --url $SCHEDULER_API_URL task add list-phabricator-full --policy recurring forge_url='https://reviews.llvm.org' instance='llvm'
Created 1 tasks
Task 167877509
Next run: just now (2019-06-18 08:59:16+00:00)
Interval: 90 days, 0:00:00
Type: list-phabricator-full
Policy: recurring
Args:
Keyword args:
forge_url: 'https://reviews.llvm.org'
instance: 'llvm'
```
[3] Add list-phabricator-incremental instance (sample)
```
SCHEDULER_API_URL=http://localhost:5008/; swh scheduler --url $SCHEDULER_API_URL task add list-phabricator-incremental --policy recurring forge_url='https://reviews.llvm.org' instance='llvm'
Created 1 tasks
Task 4
Next run: just now (2019-06-18 10:15:45+00:00)
Interval: 7 days, 0:00:00
Type: list-phabricator-incremental
Policy: recurring
Args:
Keyword args:
forge_url: 'https://reviews.llvm.org'
instance: 'llvm'
```
Related T1797