Commit graph

17 commits

Author SHA1 Message Date
f62ed2e4a3
feat: add ‹tbd› to the first comment
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-03-28 22:11:32 +02:00
6e68afcac4
fix: rename prID to prIndex
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-03-28 22:11:12 +02:00
10a32ccbbd
feat(open): prefix solutions with common header
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-10-15 15:41:17 +02:00
a869a3ebf8
feat(config): add prefix and default suffix
Extend the configuration with ‹prefix› and ‹language.default_suffix›.

• ‹prefix› -- specifies the content of the first comment in the review
• ‹language.default_suffix› -- specifies the extension of the sources
  where the prefix is being added

Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-10-15 15:39:21 +02:00
f7a7f65ecd
chore: update references to the repository
Signed-off-by: Matej Focko <mfocko@redhat.com>
2022-10-15 13:03:56 +02:00
af943fabba
feat: Merge and patch reviews
Fixes #6

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 23:26:35 +01:00
90800cfb67
refactor: Factor out patching to separate function
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 23:26:09 +01:00
98de5e4c17
refactor: Stats
• Remove unused parameters from functions
• Decompose functions where possible

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 17:25:19 +01:00
0dbfd6e849
refactor: Move ‹task› to the root command
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 17:24:28 +01:00
a24d7bdc0c
feat: Implement statistics
Fixes #8

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:22 +01:00
df2660698d
fix: Remove unused ‹fmt›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:22 +01:00
c9ec7c865c
feat: Implement opening of PRs per milestone
Fixes #5

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-11 16:44:06 +01:00
25626f1f75
refactor: Improve error logging
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-12-07 00:25:29 +01:00
ae40226d94
refactor: Update config and clean up code
- Change naming in the config
- Add a template for config
- Try to fix an issue with «multi-line» vs «single-line» comments

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 23:34:25 +02:00
53deef6627
refactor(comments): Clean up formatting
Clean up formatting of the comments and simplify it.

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 23:20:35 +02:00
050a15cb75
feat: Improve CLI experience
- Improve CLI experience by using Cobra
- Introduce option to look up PR based on branch
- Introduce failsafe that uses current branch in case neither PR ID or
  branch have been specified

Fixes #1, #2

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 22:36:13 +02:00
ff3ecb2341
chore: Reorganize files
- Also add gitignore

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 22:36:07 +02:00