Skip to content
Snippets Groups Projects

cgit: Allow url to be optional

Merged Antoine R. Dumont requested to merge ardumont/swh-lister:loosen-mandatory-url into master
1 unresolved thread

Some cgit instances are at a domain's root path so we can build their url directly from their 'instance' parameter.

This unifies further the cli to register a lister and the cli to schedule the listed origins from a forge [2].

[1]

https://git.kernel.org
https://source.codeaurora.org
https://git.trueelena.org
https://dev.sanctum.geek.nz
https://git.trueelena.org
https://git.dpkg.org
https://anongit.mindrot.org
https://git.aurel32.net
https://gitweb.gentoo.org
https://git.joeyh.name
https://git.adrian.geek.nz

[2] 19bdeefb

Refs. #4693

Edited by Antoine R. Dumont

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jenkins job DLS/gitlab-builds #64 succeeded .
    See Console Output and Coverage Report for more details.

  • Author Maintainer

    Datapoints:

    2023-05-22 17:08:20 swh-scheduler@db1:5432 λ select status, arguments#>>'{kwargs,url}' as url from task where type='list-cgit' and status !='disabled';
    +-----------+--------------------------------------------+
    |  status   |                    url                     |
    +-----------+--------------------------------------------+
    | completed | https://source.codeaurora.org/             |
    | completed | https://git.replicant.us/replicant         |
    | completed | https://git.replicant.us/infrastructure    |
    | completed | https://git.replicant.us/infrastructure    |
    | completed | https://git.replicant.us/replicant-next    |
    | completed | https://git.replicant.us/mirrors/AOSP      |
    | completed | https://git.replicant.us/mirrors/LineageOS |
    | completed | https://git.trueelena.org/                 |
    | completed | https://git.trueelena.org/                 |
    | completed | https://dev.sanctum.geek.nz/               |
    | completed | https://git.dpkg.org/                      |
    | completed | https://anongit.mindrot.org/               |
    | completed | https://git.aurel32.net                    |
    | completed | https://git.aurel32.net                    |
    | completed | https://gitweb.gentoo.org/                 |
    | completed | https://git.joeyh.name/                    |
    | completed | https://git.adrian.geek.nz/                |
    +-----------+--------------------------------------------+
    (17 rows)
    
    Time: 48.021 ms
  • vlorentz
  • added 1 commit

    • fe533a47 - cgit: Allow url to be optional

    Compare with previous version

  • Antoine R. Dumont changed the description

    changed the description

  • Antoine R. Dumont resolved all threads

    resolved all threads

  • added 1 commit

    • 10d039aa - cgit: Allow url to be optional

    Compare with previous version

  • added 1 commit

    • e91e0bf0 - cgit: Allow url to be optional

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading