lazylead 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/release_image.sh +5 -5
- data/CNAME +1 -0
- data/lazylead.gemspec +2 -3
- data/lib/lazylead/version.rb +1 -1
- data/readme.md +35 -28
- data/todo.yml +0 -10
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25590c8c000888ded362a02fc3277e4ed4cf98c3002be639263f62f94a45623f
|
4
|
+
data.tar.gz: 2f9a63ac2e1f04016b53b003853449cde33fe3a14051b59256600e06eadde0db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d4ccd1d3c85456e5537cb49ffa87d0806f2572235609328084364189d43b292d930fb5de4e9b6b1f230f8188d20e89b5af138bf68fbb3a1cd5555130fec4785
|
7
|
+
data.tar.gz: b3b73f3d4e0c5784c958fe732cf8c1d85c48582375bf764487c46f22f6db91f5bd4e065e73739a35d93a68ffb1ca90dceb3eed49ec4fd130f78e0c4df34374df
|
data/.circleci/release_image.sh
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
#!/bin/bash
|
2
|
-
export docker_release_tags="latest
|
3
|
-
docker login --username $DOCKER_USER --password $DOCKER_TOKEN
|
2
|
+
export docker_release_tags="latest 0.1.1"
|
3
|
+
docker login --username "${DOCKER_USER}" --password "${DOCKER_TOKEN}"
|
4
4
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
5
5
|
for tag in ${docker_release_tags// / } ; do
|
6
|
-
docker tag dgroup/lazylead:$CIRCLE_BRANCH dgroup/lazylead:${tag}
|
7
|
-
docker push dgroup/lazylead:${tag}
|
6
|
+
docker tag "dgroup/lazylead:${CIRCLE_BRANCH}" "dgroup/lazylead:${tag}"
|
7
|
+
docker push "dgroup/lazylead:${tag}"
|
8
8
|
echo "dgroup/lazylead:${tag} released"
|
9
9
|
done
|
10
10
|
else
|
11
|
-
docker push dgroup/lazylead:$CIRCLE_BRANCH
|
11
|
+
docker push "dgroup/lazylead:${CIRCLE_BRANCH}"
|
12
12
|
echo "dgroup/lazylead:${CIRCLE_BRANCH} released"
|
13
13
|
fi
|
data/CNAME
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
lazylead.org
|
data/lazylead.gemspec
CHANGED
@@ -26,14 +26,13 @@ require "English"
|
|
26
26
|
|
27
27
|
lib = File.expand_path("lib", __dir__)
|
28
28
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
29
|
-
require "lazylead/version"
|
30
29
|
|
31
30
|
Gem::Specification.new do |s|
|
32
31
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
33
32
|
s.rubygems_version = "2.2"
|
34
33
|
s.required_ruby_version = ">=2.6.5"
|
35
34
|
s.name = "lazylead"
|
36
|
-
s.version =
|
35
|
+
s.version = "0.1.1"
|
37
36
|
s.license = "MIT"
|
38
37
|
s.summary = "Eliminate the annoying work within bug-trackers."
|
39
38
|
s.description = "Ticketing systems (Github, Jira, etc.) are strongly
|
@@ -95,7 +94,7 @@ tasks instead of solving technical problems."
|
|
95
94
|
s.add_development_dependency "minitest-fail-fast", "0.1.0"
|
96
95
|
s.add_development_dependency "minitest-hooks", "1.5.0"
|
97
96
|
s.add_development_dependency "minitest-reporters", "1.3.6"
|
98
|
-
s.add_development_dependency "rake", "12.3.
|
97
|
+
s.add_development_dependency "rake", "12.3.3"
|
99
98
|
s.add_development_dependency "random-port", "0.3.1"
|
100
99
|
s.add_development_dependency "rdoc", "6.1.1"
|
101
100
|
s.add_development_dependency "rubocop", "0.82"
|
data/lib/lazylead/version.rb
CHANGED
data/readme.md
CHANGED
@@ -11,7 +11,12 @@
|
|
11
11
|
[![Build status circleci](https://circleci.com/gh/dgroup/lazylead.svg?style=shield)](https://circleci.com/gh/dgroup/lazylead)
|
12
12
|
[![0pdd](http://www.0pdd.com/svg?name=dgroup/lazylead)](http://www.0pdd.com/p?name=dgroup/lazylead)
|
13
13
|
[![Dependency Status](https://requires.io/github/dgroup/lazylead/requirements.svg?branch=master)](https://requires.io/github/dgroup/lazylead/requirements/?branch=master)
|
14
|
+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dgroup_lazylead&metric=alert_status)](https://sonarcloud.io/dashboard?id=dgroup_lazylead)
|
15
|
+
[![codebeat badge](https://codebeat.co/badges/f3bc8c19-5986-413f-89c4-c869b1e9b705)](https://codebeat.co/projects/github-com-dgroup-lazylead-master)
|
16
|
+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e1ec2d63ff9040d99c934e3c05c24abe)](https://www.codacy.com/manual/dgroup/lazylead?utm_source=github.com&utm_medium=referral&utm_content=dgroup/lazylead&utm_campaign=Badge_Grade)
|
14
17
|
[![Maintainability](https://api.codeclimate.com/v1/badges/e873a41b1c76d7b2d6ae/maintainability)](https://codeclimate.com/github/dgroup/lazylead/maintainability)
|
18
|
+
[![codecov](https://codecov.io/gh/dgroup/lazylead/branch/master/graph/badge.svg)](https://codecov.io/gh/dgroup/lazylead)
|
19
|
+
[![DepShield Badge](https://depshield.sonatype.org/badges/dgroup/lazylead/depshield.svg)](https://depshield.github.io)
|
15
20
|
|
16
21
|
[![DevOps By Rultor.com](http://www.rultor.com/b/dgroup/lazylead)](http://www.rultor.com/p/dgroup/lazylead)
|
17
22
|
[![EO badge](http://www.elegantobjects.org/badge.svg)](http://www.elegantobjects.org/#principles)
|
@@ -21,38 +26,36 @@ Ticketing systems (Github, Jira, etc.) are strongly integrated into our processe
|
|
21
26
|
|
22
27
|
The idea of automatic management is not new, for example [Zerocracy](https://www.zerocracy.com/) is available on the market.
|
23
28
|
I like this idea, but large companies/projects are not ready yet for such a decisive breakthrough and need step-by-step solutions such as [lazylead](https://github.com/dgroup/lazylead).
|
24
|
-
I think you remember how [static code analysis](https://en.wikipedia.org/wiki/Static_program_analysis) treated at in the past; today we have a huge toolkit (pmd, checkstyle, qulice, rubocop, etc) for each language that allows you to avoid routine
|
29
|
+
I think you remember how [static code analysis](https://en.wikipedia.org/wiki/Static_program_analysis) treated at in the past; today we have a huge toolkit (pmd, checkstyle, qulice, rubocop, etc) for each language that allows you to avoid routine issues and remove from the code reviewer the unnecessary load.
|
25
30
|
|
26
31
|
Join our [telegram group](https://t.me/lazyleads) for discussions.
|
27
32
|
|
28
|
-
| Daily annoying task | Jira
|
29
|
-
| :--------------------------------------------------------------------- |
|
30
|
-
| [Notify ticket's assignee](lib/lazylead/task/alert.rb) |
|
31
|
-
| [Notify ticket's reporter](lib/lazylead/task/alert.rb) |
|
32
|
-
| [Notify ticket's manager](lib/lazylead/task/alert.rb) |
|
33
|
-
| [Notify about illegal "Fix Version" modification](lib/lazylead/task/fix_version.rb)
|
34
|
-
| [Expected comment in ticket is missing](lib/lazylead/task/missing_comment.rb)
|
35
|
-
| Propagate some fields from parent ticket into sub-tasks |
|
36
|
-
| Print the current capacity of team into newly created tasks |
|
37
|
-
| Create/retrofit the defect automatically into latest release |
|
38
|
-
| Notify about expired(ing) due dates |
|
39
|
-
| Notify about absent original estimations |
|
40
|
-
| Notify about 'Hot potato' tickets |
|
41
|
-
| Notify about long live tickets (aging) |
|
42
|
-
| Notify about tickets with invalid format (missing url/stacktrace, etc) |
|
43
|
-
| Create a meeting(s) automatically in case some tickets appeared (group by assignee/reporters/component/ticket type/etc) |
|
33
|
+
| Daily annoying task | Jira | Github | Trello |
|
34
|
+
| :--------------------------------------------------------------------- | :---: | :----: | :----: |
|
35
|
+
| [Notify ticket's assignee](lib/lazylead/task/alert.rb) | ✅ | ⌛ | ⌛ |
|
36
|
+
| [Notify ticket's reporter](lib/lazylead/task/alert.rb) | ✅ | ⌛ | ⌛ |
|
37
|
+
| [Notify ticket's manager](lib/lazylead/task/alert.rb) | ✅ | ⌛ | ⌛ |
|
38
|
+
| [Notify about illegal "Fix Version" modification](lib/lazylead/task/fix_version.rb) | ✅ | ❌ | ❌ |
|
39
|
+
| [Expected comment in ticket is missing](lib/lazylead/task/missing_comment.rb) | ✅ | ⌛ | ⌛ |
|
40
|
+
| Propagate some fields from parent ticket into sub-tasks | ⌛ | ❌ | ❌ |
|
41
|
+
| Print the current capacity of team into newly created tasks | ⌛ | ⌛ | ⌛ |
|
42
|
+
| Create/retrofit the defect automatically into latest release | ⌛ | ⌛ | ❌ |
|
43
|
+
| Notify about expired(ing) due dates | ⌛ | ⌛ | ⌛ |
|
44
|
+
| Notify about absent original estimations | ⌛ | ⌛ | ⌛ |
|
45
|
+
| Notify about 'Hot potato' tickets | ⌛ | ⌛ | ⌛ |
|
46
|
+
| Notify about long live tickets (aging) | ⌛ | ⌛ | ⌛ |
|
47
|
+
| Notify about tickets with invalid format (missing url/stacktrace, etc) | ⌛ | ⌛ | ⌛ |
|
48
|
+
| Create a meeting(s) automatically in case some tickets appeared (group by assignee/reporters/component/ticket type/etc) | ⌛ | ⌛ | ⌛ |
|
44
49
|
|
45
|
-
|
50
|
+
| Integration | Type | Status |
|
51
|
+
| :---------------------------------------------------- | :-----------: | :----: |
|
52
|
+
| [Microsoft Exchange Server](lib/lazylead/exchange.rb) | Emails | ✅ |
|
53
|
+
| [Microsoft Exchange Server](lib/lazylead/exchange.rb) | Calendar | ⌛ |
|
54
|
+
| [mail.yandex.ru](lib/lazylead/postman.rb) | Emails | ✅ |
|
55
|
+
| [mail.google.ru](lib/lazylead/postman.rb) | Emails | 🌵 |
|
56
|
+
| slack | Notifications | ⌛ |
|
46
57
|
|
47
|
-
|
48
|
-
| :---------------------------------------------------- | :-----------: | :----------------: |
|
49
|
-
| [Microsoft Exchange Server](lib/lazylead/exchange.rb) | Emails | :white_check_mark: |
|
50
|
-
| [Microsoft Exchange Server](lib/lazylead/exchange.rb) | Calendar | :hourglass: |
|
51
|
-
| [mail.yandex.ru](lib/lazylead/postman.rb) | Emails | :white_check_mark: |
|
52
|
-
| [mail.google.ru](lib/lazylead/postman.rb) | Emails | :cactus: |
|
53
|
-
| slack | Notifications | :hourglass: |
|
54
|
-
|
55
|
-
:white_check_mark: - implemented, :hourglass: - planned, :cactus: - implemented, but not tested.
|
58
|
+
✅ - implemented, ⌛ - planned, 🌵 - implemented, but not tested, ❌ - not supported by ticketing system.
|
56
59
|
|
57
60
|
New ideas, bugs, suggestions or questions are welcome [via GitHub issues](https://github.com/dgroup/lazylead/issues/new)!
|
58
61
|
|
@@ -61,7 +64,11 @@ New ideas, bugs, suggestions or questions are welcome [via GitHub issues](https:
|
|
61
64
|
|
62
65
|
Let's assume that:
|
63
66
|
- your team is using jira as a ticketing system
|
64
|
-
- you defined a jira filter with tickets where actions need. The filter id is `555` and it has JQL like
|
67
|
+
- you defined a jira filter with tickets where actions need. The filter id is `555` and it has JQL like
|
68
|
+
```
|
69
|
+
project=XXXX and type=Bug and status not in (Closed, Cancelled, "Ready For Testing", "On Hold)
|
70
|
+
and parent = YYYY and duedate < startOfDay()
|
71
|
+
```
|
65
72
|
- you have `MS Exchange` server for email notifications
|
66
73
|
- you want to notify your developers during working days at `8am (UTC)` time about tickets where due dates are expired
|
67
74
|
|
data/todo.yml
CHANGED
@@ -1,16 +1,6 @@
|
|
1
1
|
# @todo #/DEV Enable Travis CI as second CI server once the project
|
2
2
|
# became a public. This might be alternative for Circle CI (just in case)
|
3
3
|
|
4
|
-
# @todo #/DEV There a lot of badges in readme which aren't enabled for now.
|
5
|
-
# Let's enable them. Examples you may find here:
|
6
|
-
# - https://github.com/dgroup/lazylead/blob/0.0.0-alpha-java/readme.md
|
7
|
-
# - https://github.com/dgroup/docker-unittests/blob/master/readme.md
|
8
|
-
|
9
|
-
# @todo #/DEV Enable DepShield badge for inspection. Example you may find
|
10
|
-
# [![DepShield Badge](https://depshield.sonatype.org/badges/dgroup/lazylead/depshield.svg)](https://depshield.github.io)
|
11
|
-
|
12
4
|
# @todo #/DEV Add Github integration for lazylead with the same methods as in Jira.
|
13
5
|
|
14
6
|
# @todo #/DEV Add Trello integration for lazylead with the same methods as in Jira.
|
15
|
-
|
16
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazylead
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yurii Dubinka
|
@@ -562,14 +562,14 @@ dependencies:
|
|
562
562
|
requirements:
|
563
563
|
- - '='
|
564
564
|
- !ruby/object:Gem::Version
|
565
|
-
version: 12.3.
|
565
|
+
version: 12.3.3
|
566
566
|
type: :development
|
567
567
|
prerelease: false
|
568
568
|
version_requirements: !ruby/object:Gem::Requirement
|
569
569
|
requirements:
|
570
570
|
- - '='
|
571
571
|
- !ruby/object:Gem::Version
|
572
|
-
version: 12.3.
|
572
|
+
version: 12.3.3
|
573
573
|
- !ruby/object:Gem::Dependency
|
574
574
|
name: random-port
|
575
575
|
requirement: !ruby/object:Gem::Requirement
|
@@ -710,6 +710,7 @@ files:
|
|
710
710
|
- ".rultor.yml"
|
711
711
|
- ".simplecov"
|
712
712
|
- ".travis.yml"
|
713
|
+
- CNAME
|
713
714
|
- Gemfile
|
714
715
|
- Guardfile
|
715
716
|
- Rakefile
|