Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P piuparts
  • 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
  • piuparts
  • Merge requests
  • !36

Make a valid pkgsummary entry for an "invalid" pkg

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed David Steele requested to merge steele/piuparts:invalid-package into develop Jul 24, 2021
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 2

This is blocking external processes from getting updates to piuparts package status.

pkgsummary was assuming that package entries would never be made with an "invalid" state. In that case, the entry would end up with the default url "invalid url", which never should be the result. When an actual package with an "invalid" state is entered, the eventual global summary creation will fail on the bad url. Fix by always replacing a default entry.

Test included.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: invalid-package