Commit graph

24 commits

Author SHA1 Message Date
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
8c2e478ae9 Merge pull request 'docs' (#4) from docs into main
Reviewed-on: mfocko/frag-review#4
2021-09-11 23:57:54 +02:00
3950514af7
docs: Add README
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 23:36:01 +02: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
f800164085 Merge pull request 'pr-resolution' (#3) from pr-resolution into main
Reviewed-on: mfocko/frag-review#3
2021-09-11 22:36:41 +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
f264d6109a
refactor: Separate Gitea code
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 20:33:20 +02:00
6afe39397f
refactor: Create utils
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 20:32:49 +02:00
bc793b7162
refactor: Configuration to separate file
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 20:25:20 +02:00
a25dabe20b
refactor: Processing comments
- Move processing of comments before patching
- Move processing to separate file

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 20:00:48 +02:00
523bfcaf7d
refactor: Split processing of comments
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 19:44:30 +02:00
698d39f7ad
docs: Add example configs
Add example configs for:
- C++
- Haskell
- Python

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 19:15:23 +02:00
36efeb2aab
feat: Major rework
- Refactor bits of code
- Remove unused functions `PrintComments`
- Introduce configuration file
- Implement support for multiple languages

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-09-11 19:14:06 +02:00
49a0221611
refactor: Rename functions and use new functions
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-05-12 15:47:55 +02:00
25059c6abf
fix: Remove empty whitespace before prefix and CR
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-05-12 15:47:37 +02:00
f513a8d130
feat: Add function for backing up sources
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-05-12 15:46:23 +02:00
4c3fcd20e4
feat: Add function to get reviews per PR
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-05-12 15:45:22 +02:00
8ffd5ca8eb
feat: Add initial version
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-04-30 18:44:02 +02:00
e6d0486d96
chore: Initial commit
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-04-28 17:44:38 +02:00