Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • E embulk-input-filename
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Klaus Wölfel
  • embulk-input-filename
  • Merge requests
  • !2
The source project of this merge request has been removed.

Finished the unit test of the filename plugin

Closed Ghost User requested to merge (removed):dirTree into master Aug 01, 2017
  • 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
Reviewers
Request review from
Time tracking
Source branch: dirTree
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7