Page MenuHomeSoftware Heritage

List all origins from major phabricator instances
Closed, MigratedEdits Locked

Description

This is done through (swh) scheduling the following instances (task-type: list-phabricator-full):

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

Event Timeline

ardumont triaged this task as Normal priority.Jun 12 2019, 11:04 PM
ardumont created this task.
ardumont updated the task description. (Show Details)
zack renamed this task from List major phabricator instances to list all origins from major phabricator instances.Jun 13 2019, 10:08 AM
zack updated the task description. (Show Details)

You can also use this phabricator instances.
Blender
https://developer.blender.org/

ardumont updated the task description. (Show Details)

Thanks, updated the description with it.

@anlambert how did you add an account in kde's phabricator forge?
(You mention tests on it in D1365)

I don't find a registering link from their forge ;)

@anlambert how did you add an account in kde's phabricator forge?
(You mention tests on it in D1365)

I don't find a registering link from their forge ;)

@anlambert hinted me towards https://identity.kde.org (i have updated the task description mentioning this).

ardumont updated the task description. (Show Details)

From swh-lister db, all "main" instances listed:

13:24:59 swh-lister@belvedere:5432=> select instance, count(*) from phabricator_repo group by instance;
┌───────────┬───────┐
│ instance  │ count │
├───────────┼───────┤
│ wikimedia │  2224 │
│ kde       │  1030 │
│ blender   │    44 │
│ swh       │   148 │
│ llvm      │    14 │
└───────────┴───────┘
(5 rows)

Scheduled tasks are as follows:

13:49:40 softwareheritage-scheduler@belvedere:5432=> select * from task where type in ('list-phabricator-full', 'list-phabricator-incremental') order by id asc;
┌───────────┬──────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────────────────────────┬──────────────────┬────────────────────────┬───────────┬──────────────┬──────────┐
│    id     │             type             │                                              arguments                                              │           next_run            │ current_interval │         status         │  policy   │ retries_left │ priority │
├───────────┼──────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────────────────┼──────────────────┼────────────────────────┼───────────┼──────────────┼──────────┤
│ 167877143 │ list-phabricator-full        │ {"args": [], "kwargs": {"instance": "swh", "forge_url": "https://forge.softwareheritage.org"}}      │ 2019-06-17 12:52:32.171833+00 │ 90 days          │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167877295 │ list-phabricator-incremental │ {"args": [], "kwargs": {"instance": "swh", "forge_url": "https://forge.softwareheritage.org"}}      │ 2019-06-17 16:42:58.010865+00 │ 7 days           │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167877509 │ list-phabricator-full        │ {"args": [], "kwargs": {"instance": "llvm", "forge_url": "https://reviews.llvm.org"}}               │ 2019-06-18 08:59:16.620607+00 │ 90 days          │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167877620 │ list-phabricator-full        │ {"args": [], "kwargs": {"instance": "blender", "forge_url": "https://developer.blender.org"}}       │ 2019-06-18 11:17:02.302068+00 │ 90 days          │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167877665 │ list-phabricator-full        │ {"args": [], "kwargs": {"instance": "wikimedia", "forge_url": "https://phabricator.wikimedia.org"}} │ 2019-06-18 11:36:55.789025+00 │ 90 days          │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167879906 │ list-phabricator-full        │ {"args": [], "kwargs": {"instance": "kde", "forge_url": "https://phabricator.kde.org"}}             │ 2019-06-18 11:46:16.115504+00 │ 90 days          │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167880937 │ list-phabricator-incremental │ {"args": [], "kwargs": {"instance": "llvm", "forge_url": "https://reviews.llvm.org"}}               │ 2019-06-18 11:50:21.379719+00 │ 7 days           │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167880938 │ list-phabricator-incremental │ {"args": [], "kwargs": {"instance": "blender", "forge_url": "https://developer.blender.org"}}       │ 2019-06-18 11:50:38.511019+00 │ 7 days           │ next_run_scheduled     │ recurring │            2 │ ¤        │
│ 167880939 │ list-phabricator-incremental │ {"args": [], "kwargs": {"instance": "wikimedia", "forge_url": "https://phabricator.wikimedia.org"}} │ 2019-06-18 11:50:53.635634+00 │ 7 days           │ next_run_not_scheduled │ recurring │            2 │ ¤        │
│ 167880940 │ list-phabricator-incremental │ {"args": [], "kwargs": {"instance": "kde", "forge_url": "https://phabricator.kde.org"}}             │ 2019-06-18 11:51:05.778933+00 │ 7 days           │ next_run_not_scheduled │ recurring │            2 │ ¤        │
└───────────┴──────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────────────────────┴──────────────────┴────────────────────────┴───────────┴──────────────┴──────────┘
(10 rows)
ardumont renamed this task from list all origins from major phabricator instances to List all origins from major phabricator instances.Jun 18 2019, 1:52 PM
ardumont closed this task as Resolved.
ardumont claimed this task.
ardumont updated the task description. (Show Details)