Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
embulk-input-filename
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Klaus Wölfel
  • embulk-input-filename
  • Merge Requests
  • !2

The source project of this merge request has been removed.
Closed
Opened Aug 01, 2017 by Ghost User@ghost1
  • Report abuse
Report abuse

Finished the unit test of the filename plugin

@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.
  • Discussion 0
  • Changes 22
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: klaus/embulk-input-filename!2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备14008524号