cli向jira提交任务日志

tasklog的Python项目详细描述


tasklog:一个基于终端的应用程序,用于将工作/任务日志提交给jira问题和空闲通道

与python版本兼容

  • Python3.7.3+

基本设置

从pypi为所有用户安装

sudo bash make.sh --install-package-globally-from-source
tasklog -h

安装+运行应用程序(用于开发):

source make.sh --enable-development-env
bash make.sh --install-dependencies
bash make.sh --install-package-in-development-mode
bash make.sh --show-tasklog-options

从源代码处为所有用户安装

sudo bash make.sh --install-package-globally-from-source
tasklog -h

设置/运行应用程序:

bash make.sh --show-tasklog-options
OR
bash make.sh --show-tasklog-submit-worklog-cli-sample
bash make.sh --show-tasklog-submit-daily-cli-sample

运行测试套件:

需求:应用程序是为开发目的而安装的

bash make.sh --install-test-dependencies
bash make.sh --run-tests

配置文件示例:

# Slack Serverslack:# API TokenapiToken:"FOOBAR"# Channel to post to, without # prefixchannel:"daily"# JIRA Serverjira:# Server URLserverURL:"http://.example.com"# Account Usernameusername:"me"# Account Passwordpassword:"you"# HTTPS connection must be with a valid server certificate. boolean: true / falseverifyCertificate:false# JIRA Issue Preferencesissue:# Issue Creation Preferencescreation:# Prefered Issue Type when creating issues# (list of issue type name, sorted in descending order)typePreferedOrder:-Task-Improvement-Bug-New Feature-Sub-Task-Epic-Story-Technical Task-Question# New JIRA Issue prefered title as a numbered titledayX:# Starting title keywordprefixPreferedOrder:-Day-Jour# CLI Logginglogging:# Logging level. Enum: DEBUG, INFO, WARN, ERROR, CRITICALseverity:"INFO"# Log file namefile:"tasklog.cli.log"

任务日志文件示例:

MOCKTEST-1
23-05-2019
4.5h
This log will be created against an existing JIRA issue named "MOCKTEST-1"

WORKLOG#
MOCKTEST
22-05-2019
8h
This is log will be logged against a brand new JIRA issue in project with key MOCKTEST
- and an extra line
- and an extra line 2
-- and an extra line 3

WORKLOG#
MOCKTEST
23-05-2019
4.5h
This is a multiline description
it is cool is not it ?

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java类。getResource和ClassLoader。getSystemResource:有没有理由选择其中一个而不是另一个?   在Java中以编程方式粘贴后恢复剪贴板   Java字符串到日期没有时间   JavaSpring注释:@Component起作用,@Repository不起作用   java“addScript”在HSQL中是否有最大记录计数?   java如何将值从JDialog框返回到父JFrame?   java我的模块库的用户有没有办法访问尚未导出的类?   java javac:未找到命令   java如何解决jsoup错误:无法找到请求目标的有效证书路径   类中的java作用域变量   Java中集合实现中的arraylist add()方法不起作用   java如何使用while循环和从用户接收输入来近似Pi?   java Spring安全CSRF培训模式   在安卓系统中,如何通过在警报框外单击来限制用户?