debian-mirror-gitlab/lib/bulk_imports/common/pipelines/labels_pipeline.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
295 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
module BulkImports
2021-11-18 22:05:49 +05:30
module Common
2021-03-11 19:13:27 +05:30
module Pipelines
class LabelsPipeline
2021-09-04 01:27:46 +05:30
include NdjsonPipeline
2021-03-11 19:13:27 +05:30
2021-09-04 01:27:46 +05:30
relation_name 'labels'
2021-03-11 19:13:27 +05:30
2021-09-04 01:27:46 +05:30
extractor ::BulkImports::Common::Extractors::NdjsonExtractor, relation: relation
2021-03-11 19:13:27 +05:30
end
end
end
end