Skip to content

Commit

Permalink
#207: update documentation for release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroup committed Oct 5, 2020
1 parent 1d1be1c commit 4dbe9c5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .docs/accuracy.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
insert into tasks (name, cron, enabled, id, system, team_id, action, properties)
values ('Post ticket score and accuracy to the tickets',
'0 8 * * 1-5',
'cron:0 8 * * 1-5',
'true',
1, 1, 1,
'Lazylead::Task::Accuracy',
Expand All @@ -82,7 +82,7 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
}
');
```
Yes, for task scheduling we are using [cron](https://crontab.guru).
Yes, for task scheduling we are using [cron](https://crontab.guru) here, but you may use other scheduling types from [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler).

4. Once you changed `./ll.db`, please restart the container using `docker-compose -f .github/tasks.yml restart`
```bash
Expand Down
6 changes: 3 additions & 3 deletions .docs/duedate_expired.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
values (1, 'Dream team with lazylead', '{}');
insert into systems(id, properties)
values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
insert into tasks (name, cron, enabled, id, system, team_id, action, properties)
insert into tasks (name, schedule, enabled, id, system, team_id, action, properties)
values ('Expired due dates',
'0 8 * * 1-5',
'cron:0 8 * * 1-5',
'true',
1, 1, 1,
'Lazylead::Task::AssigneeAlert',
'{"sql":"filter=222", "cc":"<youremail.com>", "subject":"[LL] Expired due dates", "template":"lib/messages/due_date_expired.erb", "postman":"Lazylead::Exchange"}');
```
Yes, for task scheduling we are using [cron](https://crontab.guru).
Yes, for task scheduling we are using [cron](https://crontab.guru) here, but you may use other scheduling types from [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler).

4. Once you changed `./ll.db`, please restart the container using `docker-compose -f .github/tasks.yml restart`
```bash
Expand Down
6 changes: 3 additions & 3 deletions .docs/propagate_down.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
values (1, 'Dream team with lazylead', '{}');
insert into systems(id, properties)
values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
insert into tasks (name, cron, enabled, id, system, team_id, action, properties)
insert into tasks (name, schedule, enabled, id, system, team_id, action, properties)
values ('Propagate customfield_1 (External ID) to sub-tasks',
'0 8 * * 1-5',
'cron:0 8 * * 1-5',
'true',
1, 1, 1,
'Lazylead::Task::PropagateDown',
'{"jql":"filter=222", "propagate":"customfield_1"}');
```
Yes, for task scheduling we are using [cron](https://crontab.guru).
Yes, for task scheduling we are using [cron](https://crontab.guru) here, but you may use other scheduling types from [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler).

4. Once you changed `./ll.db`, please restart the container using `docker-compose -f .github/tasks.yml restart`
```bash
Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
ll > docker-compose -f .github/tasks.yml up
Creating lazylead ... done
Attaching to lazylead
lazylead | [2020-08-09T06:17:32] DEBUG [main] Version: 0.4.0
lazylead | [2020-08-09T06:17:32] DEBUG [main] Version: 0.5.0
lazylead | [2020-08-09T06:17:32] DEBUG [main] Memory footprint at start is 52MB
lazylead | [2020-08-09T06:17:32] DEBUG [main] Database: '/lazylead/db/ll.db', sql migration dir: '/lazylead/upgrades/sqlite'
lazylead | [2020-08-09T06:17:32] DEBUG [main] Migration applied to /lazylead/db/ll.db from /lazylead/upgrades/sqlite
Expand All @@ -135,16 +135,16 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
values (1, 'Dream team with lazylead', '{}');
insert into systems(id, properties)
values (1,'{"type":"Lazylead::Jira", "username":"${jira_user}", "password":"${jira_password}", "site":"${jira_url}", "context_path":""}');
insert into tasks (name, cron, enabled, id, system, team_id, action, properties)
insert into tasks (name, schedule, enabled, id, system, team_id, action, properties)
values ('Expired due dates',
'0 8 * * 1-5',
'cron:0 8 * * 1-5',
'true',
1, 1, 1,
'Lazylead::Task::AssigneeAlert',
'{"sql":"filter=555", "cc":"<youremail.com>", "subject":"[LL] Expired due dates", "template":"lib/messages/due_date_expired.erb", "postman":"Lazylead::Exchange"}');
```
Yes, for task scheduling we are using [cron](https://crontab.guru).
Yes, for task scheduling we are using [cron](https://crontab.guru) here, but you may use other scheduling types from [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler).

4. Once you changed `./ll.db`, please restart the container using `docker-compose -f .github/tasks.yml restart`
```bash
Expand All @@ -154,7 +154,7 @@ For simplicity, we are using [docker-compose](https://docs.docker.com/compose/):
check the logs and stop container if needed
```bash
ll > docker logs lazylead
lazylead | [2020-08-09T06:17:32] DEBUG [main] Version: 0.4.0
lazylead | [2020-08-09T06:17:32] DEBUG [main] Version: 0.5.0
lazylead | [2020-08-09T06:17:32] DEBUG [main] Memory footprint at start is 52MB
lazylead | [2020-08-09T06:17:32] DEBUG [main] Database: '/lazylead/db/ll.db', sql migration dir: '/lazylead/upgrades/sqlite'
lazylead | [2020-08-09T06:17:32] DEBUG [main] Migration applied to /lazylead/db/ll.db from /lazylead/upgrades/sqlite
Expand Down

0 comments on commit 4dbe9c5

Please sign in to comment.