Commit Graph

1433 Commits

Author SHA1 Message Date
vince
98a1d831f0 Delete EquivalentBug function 2020-08-27 20:11:24 +08:00
Vincent Tiu
8a4e4a1290
Update cache/lru_id_cache.go
Co-authored-by: Michael Muré <batolettre@gmail.com>
2020-08-27 20:10:10 +08:00
vince
2440a208f6 Fix bugs and cleanup code 2020-08-26 09:27:31 +08:00
Michael Muré
60466f86c8
bug: fix tests 2020-08-26 00:41:52 +02:00
Michael Muré
47ea66f602
bug: use sha256 to compute labels color, to use a single hash function in the codebase 2020-08-26 00:29:26 +02:00
Michael Muré
e374c9da1e readme: fix FreeBSD package name 2020-08-25 21:18:12 +02:00
Michael Muré
f223ffac58
Merge pull request #372 from MichaelMure/termui-help-format
termui: make the help visually easier to parse
2020-08-25 15:28:54 +02:00
Michael Muré
4d678f3e05
cache: simplify cache eviction 2020-08-25 15:26:23 +02:00
vince
4b065029af Implement cache eviction and testing 2020-08-25 11:08:53 +08:00
Michael Muré
8eb7faf67c
termui: help bar background goes all the width 2020-08-22 15:27:57 +02:00
Michael Muré
9ce84fc1a3
termui: make the help visually easier to parse 2020-08-22 15:12:09 +02:00
vince
6efada43e7 Implement the LRU Cache 2020-08-20 14:06:18 +08:00
Michael Muré
88c28db998
Merge pull request #442 from MichaelMure/cache-lock
Cache lock
2020-08-18 14:39:36 +02:00
vince
0fd09aa6b5 Fix concurrency error 2020-08-18 20:22:04 +08:00
vince
c215861e6f Remove pointer and unnecessary code 2020-08-13 20:26:41 +08:00
vince
e9a7725ca4 Add mutex to bugCache
This adds a mutex to the bugCache to deal with locking.
2020-08-13 20:17:38 +08:00
Michael Muré
08e7bbfcde
Merge pull request #437 from MichaelMure/fix-426
cache: fix BugExcerpt's timestamp not properly stored
2020-07-28 20:49:27 +02:00
Michael Muré
a15ad8391f
Merge pull request #436 from MichaelMure/cli-usage
commands: cleanup the command's usage to avoid warnings when generating the doc
2020-07-28 20:40:12 +02:00
Michael Muré
92a59eceee cache: fix BugExcerpt's timestamp not properly stored
fix #426
2020-07-28 20:39:07 +02:00
Michael Muré
ae5c0967ce commands: cleanup the command's usage to avoid warnings when generating the doc 2020-07-28 20:24:24 +02:00
Michael Muré
51c887ff9d
Merge pull request #433 from MichaelMure/remove-bug-2
Add the 'rm' command
2020-07-28 14:41:35 +02:00
Michael Muré
a62ce78c4f
bug: code cleanup for the rm feature 2020-07-28 14:30:07 +02:00
vince
18ddc77590
Fix bug tests 2020-07-28 14:30:07 +02:00
vince
6e315ea131
Update docs 2020-07-28 14:30:07 +02:00
vince
4e5f377d75
Remove need to specify remote
This commit makes the removeBug command use the listRefs repo command to search for the bug, eliminating the need to input the remote the bug came from.
2020-07-28 14:30:06 +02:00
vince
9436cf4b89
Move args parsing out of repo cache 2020-07-28 14:30:06 +02:00
vince
7dbcca84c7
Add test for removing bug from cache 2020-07-28 14:30:05 +02:00
vince
4e4ca106ae
Allow user to delete remote bugs 2020-07-28 14:30:05 +02:00
vince
36f300cb35
Add the 'rm' command
This commit adds a command that removes a bug from the repository, given a prefix.
2020-07-28 14:30:05 +02:00
Michael Muré
0590de9f04
gitlab: skip the broken test as "known broken" :( 2020-07-26 11:35:08 +02:00
Michael Muré
3fcdd7ec80
update go-gitlab 2020-07-26 11:28:51 +02:00
Michael Muré
ac7e508633
termui: avoid importing a whole package to check an error 2020-07-20 15:45:31 +02:00
Michael Muré
c0bf7c359f
update go-term-text 2020-07-20 15:45:16 +02:00
Michael Muré
e38d702132 some light code reorg 2020-07-16 20:06:20 +02:00
Michael Muré
c448cf8cd3
typos and minor readme fix 2020-07-15 11:57:42 +02:00
Michael Muré
91f07d4753
Merge pull request #428 from wavexx/force_status_fgcolor
Set the Fg color of the status bar to White
2020-07-14 23:11:40 +02:00
Michael Muré
b4158dbd9e
Merge pull request #427 from wavexx/trim_titles
Trim titles in list views
2020-07-14 19:21:45 +02:00
Michael Muré
47b1255561
Merge pull request #425 from karlicoss/ls-org-mode
ls --format org-mode enhancements
2020-07-14 19:16:27 +02:00
Michael Muré
5c823a7024
ls: minor code improvements 2020-07-14 19:13:46 +02:00
Yuri D'Elia
9c3d25e776 Set the Fg color of the status bar to White
Always set the Fg color when Bg is set. This fixes poor contrast on
terminals with non-standard foreground colors.
2020-07-13 13:30:46 +02:00
Yuri D'Elia
54d4307a2e Trim titles in list views 2020-07-13 13:14:47 +02:00
Dima Gerasimov
efe6ea3371 ls --format org-mode enhancements
- fix and align OPEN/CLOSED states
- fix org-mode links format
- santize tags (org-mode only allows _ and @ as special characters)
- format datetimes as org-mode
2020-07-12 17:58:15 +01:00
Vincent Tiu
f3304bdc1c
Add functionality to remove bugs from a local repository. (#423)
Add functionality to remove bugs from a local repository.

This adds a function to remove git references in the repo and another one to remove bugs.
2020-07-09 14:40:44 +02:00
Michael Muré
de062a78ec
Merge pull request #422 from MichaelMure/code-analysis
fix github action
2020-07-07 21:39:12 +02:00
Michael Muré
87a2638cd0 fix github action 2020-07-07 21:37:22 +02:00
Michael Muré
1dfe1fc713
Merge pull request #421 from MichaelMure/code-analysis
code analysis
2020-07-07 21:30:50 +02:00
Michael Muré
3594a6d944 code analysis 2020-07-07 21:28:00 +02:00
Michael Muré
71989045c9 commands: fix segfault with badly loaded backend 2020-07-07 20:15:22 +02:00
Michael Muré
44096b785f repo: fix test chocking on randomized element in repo.ListRefs() 2020-07-03 19:05:05 +02:00
Michael Muré
8a38af24d4 cache: split into multiple files for readability 2020-07-03 18:58:58 +02:00