Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • E ebulk
  • 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
  • nexedinexedi
  • ebulk
  • Merge requests
  • !2

Allow ebulk to run in "always yes" mode

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Roque requested to merge rporchetto/ebulk:roque_ebulk into master Oct 16, 2020
  • Overview 0
  • Commits 3
  • Changes 10

The new command argument -y (--yes) allows to run ebulk without dialog inputs, it assumes user inputs always yes.

Considerations and assumptions about this feature:

  • syntax: ebulk pull/push [args] -y
  • the "-y" (or --yes) argument must go at the end of the full command
  • for standard operations like fresh uploads/downloads, the user dialogs are automatically skipped with 'yes' input
  • for complex scenarios like interrupted operations, conflicts, existing files, etc. it will override by default and start operations from scratch
  • -y doesn't apply for scenarios that are not intended to be automated, like staging, discarding changes, etc.

This MR also has some minor bug fixes and code cleanup.

Edited Oct 21, 2020 by Roque
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: roque_ebulk
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7