Michael Muré
bde9375632
bump minimal go version to 1.13
2020-09-29 20:42:21 +02:00
vince
e442ed36b3
Add more function implementations
2020-09-29 20:42:21 +02:00
Michael Muré
2bda70316d
repository: more go-git implementation
2020-09-29 20:42:21 +02:00
Michael Muré
9c1087e18d
repository: fix a todo in the gogit repo
2020-09-29 20:42:21 +02:00
Michael Muré
30d1640bf4
repository: some light shuffling of code
2020-09-29 20:42:21 +02:00
Michael Muré
3ecbf8db28
bridge: store credentials in the Keyring instead of the git config
2020-09-29 20:42:21 +02:00
Michael Muré
b127481364
repository: add access to the system keyring, with fallback on a file
2020-09-29 20:42:21 +02:00
Michael Muré
d171e11028
repository: partial impl of a go-git backed Repo
2020-09-29 20:42:20 +02:00
Michael Muré
9f3a56b1f3
misc: move the random bug command on its own package
2020-09-27 21:39:05 +02:00
Michael Muré
7f87eb8602
doc: generate concurrently
2020-09-27 21:30:50 +02:00
Michael Muré
148b335dd3
command: match the output in ls and in the termui
2020-09-27 21:30:13 +02:00
Michael Muré
ae0529e3f5
Merge pull request #457 from zdenek-crha/bright_terminal_readability
...
Bright terminal readability
2020-09-27 13:35:06 +02:00
Zdenek Crha
999e61224c
Fix 'no description' readability in terminal with bright background
...
The rendering of color for 'No description provided' text is broken on
bright terminals - it sets black background which together with default
black forground color renders opaque rectangle.
The GreyBold color alias is broken too - name suggests bold gray
forground color, but actually sets bold default fg color with black
bacground.
First make color alias consistent. Rename it to BlackBold and have it
set bold black fg color (same as similar *Bold aliases).
Second, update all places which use it to render text to also use white
background to prevent it from disappering in terminals with black
background color.
2020-09-27 09:22:34 +02:00
Zdenek Crha
6bf64841d3
Fix help bar readability in terminal with bright background
...
Set both background and foreground color when displaying help bar to
avoid sitation where default foreground color used by terminal is hard
to read on blue background (like cyan on blue or black on blue).
Apply colors to whole generated help bar to avoid 'stripes' of different
background color where whitespace is used between help items.
2020-09-27 09:22:34 +02:00
Michael Muré
0198ad71d7
Update README.md
2020-09-22 20:42:22 +02:00
Michael Muré
c0f6e6af7f
Merge pull request #448 from MichaelMure/dependabot/go_modules/github.com/gorilla/mux-1.8.0
...
build(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0
2020-08-30 14:45:27 +02:00
Michael Muré
36cdd13052
Merge pull request #450 from wavexx/packed_bugview
...
Packed bugview
2020-08-30 12:44:17 +02:00
Michael Muré
807844bbec
termui: don't pack it *that* much
2020-08-30 12:17:04 +02:00
Michael Muré
a42abaaed7
termui: show the number of *additional* comments
2020-08-30 11:30:57 +02:00
Yuri D'Elia
5a4dc7aade
TermUI: pack the bug table view
2020-08-29 22:21:11 +02:00
Yuri D'Elia
6824ecf0fb
TermUI: Remove empty borders around bug table view
2020-08-29 22:21:11 +02:00
dependabot-preview[bot]
ad32cbd0a4
build(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0
...
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 12:23:00 +00:00
Michael Muré
324fe3b7a5
Merge pull request #449 from MichaelMure/lru-cache
...
LRU Cache
2020-08-27 14:20:07 +02:00
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