Skip to main content

Lancet

Project description

https://badge.fury.io/py/lancet.png https://pypip.in/d/lancet/badge.png https://travis-ci.org/GaretJax/lancet.png?branch=master https://readthedocs.org/projects/lancet/badge/?version=latest

From http://en.wikipedia.org/wiki/Scalpel:

A scalpel, or lancet, is a small and extremely sharp bladed instrument used for surgery, anatomical dissection, and various arts and crafts (called a hobby knife).

Lancet is a command line utility to streamline the various activities related to the development and maintenance of a software package.

Installation

You can install lancet from PyPI. The suggested way to get it on your system is by using pipsi:

brew install libgit2
pipsi install --python=$(which python3) lancet

Please note that the development version of pipsi is currently needed to support installing Python 3 packages (and yes, lancet only runs under python3).

Getting started

Once installed, set up the initial configuration by running:

lancet setup

TODO: For each not-yet-configured project, you can then run:

cd path/to/project
lancet init

This creates a new project-level configuration file that can be shared across different users (and thus commited to source control).

Features

  • Start tasks (create branch, set correct issue status/assignee, start linked harvest timer)

  • Suspend tasks (pause harvest timer, set issue status)

  • Resume tasks (resume timer, set issue status)

  • Rapidly open issue tracker task page

See http://cl.ly/0u28140B1Y15 for a short visual demo and lancet --help for additional details:

Usage: lancet [OPTIONS] COMMAND [ARGS]...

Options:
 -h, --help  Show this message and exit.

Commands:
 browse  Open the issue tracker page for the given...
 logout  Forget saved passwords for the web services.
 pause   Pause work on the current issue.
 resume  Resume work on the currently active issue.
 setup   Run a wizard to create the user-level...
 time    Start an Harvest timer for the given issue.
 workon  Start work on a given issue.

TODO

A lot of commands are still missing, as for example:

  • init: to setup the project-level configuration for any given project.

  • pr: to open a new pull-request and update the tracker accordingly.

  • review: to streamline the whole reviewing process (pulling, linting,diffs,…).

  • merge: to help in getting a more strict merge process in place (and cleanup afterwards). Can include rebasing helpers.

  • Other issue tracker/Harvest interaction utilities (list, search, comment, …)

0.3 - 2014-12-30

  • Handle unassigned issues (#5)

  • Avoid logging out the web user when accessign the JIRA API (#4)

  • Initial documentation stub (#3)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lancet-0.3.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lancet-0.3-py27-none-any.whl (15.4 kB view details)

Uploaded Python 2.7

File details

Details for the file lancet-0.3.tar.gz.

File metadata

  • Download URL: lancet-0.3.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lancet-0.3.tar.gz
Algorithm Hash digest
SHA256 aed039859b77c266a7b7b14f16ce645c8107e53a93ab62b8ebfe93b9462ddfbd
MD5 7c1ee31ee9ae843e14aadc5e20d67456
BLAKE2b-256 c08ea3cf07b69351954d2130b074ddc83cb3dcca29cfa4488c440c611d3fc36e

See more details on using hashes here.

File details

Details for the file lancet-0.3-py27-none-any.whl.

File metadata

File hashes

Hashes for lancet-0.3-py27-none-any.whl
Algorithm Hash digest
SHA256 060497a63a27ffbd291ac22346ba41cfc398d71d0f8767df44200281fe40638e
MD5 5dbd59c00c39b59d0d46476a0ef0b03f
BLAKE2b-256 a337b91c8b684dc1a656d742645005a80d7dc718446d5364a16de98318dc314c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page