Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.extension bob.extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.extensionbob.extension
  • Issues
  • #60
Closed
Open
Issue created Jun 29, 2018 by André Anjos@andre.anjos💬Owner

bob.extension.download should check and be more explicit

This is a set of useful extensions, but:

  1. It would be good that the documentation of these functions explicitly state what they are doing: (a) checking the if the directory leading to the destination file exists, otherwise creates it; (b) checks if the file is there - and if so, does not redownload the file.
  2. There should be an option to pass an sha256 or md5 checksum to check if the downloaded file is not corrupted. Only if that matches, the file is not re-downloaded
  3. There should be an option to "force" re-download no matter what
  4. The documentation should also say that the function outputs logs in the info channel.
Assignee
Assign to
Time tracking