Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E embulk-input-filename
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Klaus Wölfel
  • embulk-input-filename
  • Merge requests
  • !2

You need to sign in or sign up before continuing.
The source project of this merge request has been removed.
Closed
Created Aug 01, 2017 by Ghost User@ghost
  • Report abuse
Report abuse

Finished the unit test of the filename plugin

  • Overview 0
  • Changes 22

@klaus

  1. Finish the unit test of the filename. To test the FilenameInputPlugin We need to using the other plugin like none-bin and a joinfile(This plugin join the file together, which is a mock object for the WendelinOutputPlugin ). The TestHelper could register all those plugins for tests.
  2. Adding the configuration for order_by_modified_time, by default it is zero, we order the file alphabetically. If it equals "1", we order the files by modified ascending order, else we order the files by descending order.
  3. Adding the configuration for the multi-directories. configure the multi_dir: ["path/to/first_dir","path/to/second_dir",..], and configure the multi_tag: ["tag1","tag2",...] .the filename plugin could load the files in each directory and sort them separately.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: dirTree
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7