Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlab-mirror-orchestrator
  • 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
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • ow2ow2
  • gitlab-mirror-orchestrator
  • Merge requests
  • !6

Improve source type validation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Antoine Mottier requested to merge src-type-validation into master Oct 26, 2022
  • Overview 5
  • Commits 2
  • Pipelines 1
  • Changes 2

This implementation will raise an error if more than one source type is provided for a given item. Previous implementation was raising an error if all source type were provided (this is valid with two source types but will break if we add a third source type). This implementation also detect lack of source type.

Add some unit test.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: src-type-validation