Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dput-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • DebianDebian
  • dput-ng
  • Merge requests
  • !6

Ignore DistroDataOutdated when removing devel() distros

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jochen Sprickerhof requested to merge jspricke/dput-ng:devel_distro into master Apr 22, 2019
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

If Ubuntu released a new version and distro-info-data was not updated with a new development version, distro_info.UbuntuDistroInfo().devel() will throw DistroDataOutdated. When testing with test_upload.py, this results in a broken unit test, cause distro_info.py uses the current date, as shown in #927467. As we want to remove the development version from the supported list anyhow, we can just ignore the error.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: devel_distro