Skip to content
Tianyu Chen edited this page Nov 3, 2025 · 2 revisions

dcbot Usage

This bot is designed to import Debian source package (dsc) to GitHub. Below is a guide on how to use the available commands:

Commands

Update a Single Package

  • By Name:

    !update <package-name>
    

    Example:

    !update bash
    
  • By URL:

    !update <package-url>
    

    Example:

    !update https://deb.debian.org/debian/pool/main/b/bash/bash_5.2.32-1.dsc
    !update https://ci.deepin.com/repo/deepin/deepin-community/obs-repos/pool/main/s/strace/strace_6.9-1.dsc
    !update https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/linux-firmware/20241108.git3bbb13a7-0ubuntu1/linux-firmware_20241108.git3bbb13a7-0ubuntu1.dsc
    

Batch Update Multiple Packages

  • Single Topic with Multiple Packages:

    !batchupdate <topic-name> <package1> <package2> ...
    

    Example:

    !batchupdate topic-qt-6.7.2 qt6-base qt6-languageserver qt6-shadertools qt6-svg qt6-declarative
    
  • Multiple URLs:

    !batchupdate <topic-name> <package-url1> <package-url2> ...
    

    Example:

    !batchupdate topic-blabla https://deb.debian.org/debian/pool/main/b/bash/bash_5.2.32-1.dsc https://deb.debian.org/debian/pool/main/d/dash/dash_0.5.12-9.dsc
    

Important Notes

  • Race Conditions: Due to potential race conditions, multiple GitHub projects may be created for the same topic. To avoid this, it is recommended to update packages one at a time within a topic.

  • Recommended Workflow for Multiple Packages:

    1. Run the batch update for the first package:
      !batchupdate topic-qt-6.7.2 qt6-base
      
    2. After successful completion, add more packages:
      !batchupdate topic-qt-6.7.2 qt6-languageserver qt6-shadertools qt6-svg qt6-declarative
      

Clone this wiki locally