Staging instance, all changes can be removed at any time

Skip to content

jenkins-job: Declare explicitely the python_module for each swh project

This allows to deal with naming discrepancies in debian/python/archive naming as the swh-icinga-plugins demonstrates.

Its current build fails because of naming discrepancy, the:

  • repository is named swh-icinga-plugins
  • debian package is named python3-swh.icingaplugin
  • python module is named swh.icinga-plugins
  • archive pushed for the python module is name swh.icinga_plugins

So this defines an explicit extra entry name python_module used to start the debian package build (out of the pypi module artifact holding that name).

This fixes the build [1]

Related to #2726 (closed)

  • [1]
commit df174ce493d155929c70c657809d548ffc27557b (origin/pristine-tar, pristine-tar)
Author: Antoine R. Dumont (@ardumont) <antoine.romain.dumont@gmail.com>
Date:   Mon Jan 20 18:41:24 2020 +0100

    pristine-tar data for swh.icingaplugins_0.0.2.orig.tar.gz

Test Plan

tox is happy

$ tox | grep "def python_module ="
def python_module = 'swh.indexer'
def python_module = 'swh.core'
def python_module = 'swh.deposit'
def python_module = 'swh.fuse'
def python_module = 'swh.graph'
def python_module = 'swh.icinga_plugins'
def python_module = 'swh.journal'
def python_module = 'swh.loader.core'
def python_module = 'swh.loader.git'
def python_module = 'swh.loader.mercurial'
def python_module = 'swh.loader.svn'
def python_module = 'swh.lister'
def python_module = 'swh.model'
def python_module = 'swh.objstorage'
def python_module = 'swh.objstorage.replayer'
def python_module = 'swh.scheduler'
def python_module = 'swh.search'
def python_module = 'swh.storage'
def python_module = 'swh.scanner'
def python_module = 'swh.vault'
def python_module = 'swh.web'
def python_module = 'swh.web.client'

Migrated from D4315 (view on Phabricator)

Merge request reports

Loading