Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • silkaj silkaj
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 155
    • Issues 155
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clients
  • python
  • silkajsilkaj
  • Issues
  • #283

Closed
Open
Created Feb 01, 2020 by Moul@moulOwner0 of 8 tasks completed0/8 tasks

Common code between verify and blocks

Following #262 (closed)

Tasks

  • common file blocks.py for verify and blocks commands
    • Move blocks explorer command to blocks.py
  • common function to gather a range of blocks specifying from_, and to.
  • common test on this function gathering blocks on a range by chunks
  • two modes for blocks explorer:
    • current: specify number of blocks from head, 0 default to current window
    • Same as verify: a range of blocks: blocks number from an to.
    • How to specify/filter the two modes: --range, --from-head/--head (this one would be the default).

This could be a method into a class that would inherit the @click.command decorator. Would that work?


Later

  • command blocks with sub-commands explorer, verify, …: is this possible with Click?
Edited Feb 03, 2020 by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking