Commit Graph

102 Commits

Author SHA1 Message Date
Michael Muré
4ef2c11040
repo: finish RepoStorage move 2020-12-08 13:07:51 +01:00
6543
86faedc966
Vendor: upgrade spf13/cobra to v1.1.1 (#479)
* build(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1

* update doc (man & md)

* update bash|fish|zsh completion
2020-10-27 14:38:55 +01:00
Michael Muré
ca720f165c
cache,bug,identity: structural change
- bug doesn't commit identities anymore, only make sure they are commit
- cache use an IdentityResolver to load bugs with identities from the cache (deps injection)
- IdentityCache now are identity.Interface
2020-10-04 20:39:10 +02:00
Michael Muré
02146f0b40 use go-git by default! 2020-09-29 20:43:53 +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é
ae5c0967ce commands: cleanup the command's usage to avoid warnings when generating the doc 2020-07-28 20:24:24 +02:00
Michael Muré
26bd1dd110
commands: refactor to avoid globals 2020-06-28 18:26:29 +02:00
Luke Granger-Brown
4a28f25347
Add support for read-only mode for web UI.
Fixes #402.
2020-06-27 22:56:10 +02:00
Michael Muré
939bcd57b9
repo: more tests 2020-06-27 22:00:15 +02:00
Michael Muré
88ad7e606f
repository: remove tie to Bug, improved and reusable testing
- allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code.
- generalize the memory-only and persisted Lamport clocks behind a common interface
- rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily
- test previously untested components with those new tests

Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
2020-06-26 19:14:22 +02:00
Michael Muré
1d06244c82
cmds: cleanup and re-generate files 2020-06-24 15:10:57 +02:00
Vincent Tiu
f790083fb2
Merge pull request #403 from MichaelMure/ls-dump
[ls] add support for different output formats
2020-06-18 20:37:00 +08:00
Martin Michlmayr
ff0ff86336
doc: fix typos 2020-06-16 21:32:03 +08:00
vince
de5565b5f9
ls: Add support to ls dump bug information in specific formats
This adds an optional flag to the ls command that allows users to specify the format they wish to dump the output as. Currently, supported parameters are 'default', 'plain' and 'json'.
2020-06-16 15:05:48 +02:00
Michael Muré
6352d6aa23
generate docs and completion concurrently for a faster "make" 2020-06-14 22:26:47 +02:00
Michael Muré
78f39c4077
CLI: enable Fish completion 2020-06-14 19:46:24 +02:00
Michael Muré
6fd7934f53
update cobra 2020-06-14 19:43:58 +02:00
Michael Muré
685a4fdc0c
readme: document workflows 2020-04-04 14:05:53 +02:00
Michael Muré
e53d7c6561
add workflow diagrams 2020-03-01 12:59:42 +01:00
Michael Muré
0e68c10ffc
update webUI's screenshots 2020-02-23 16:32:08 +01:00
Michael Muré
4559af5e71
update auto-generated files 2020-02-23 14:38:02 +01:00
Michael Muré
4ec4f45195
update auto-generated files 2020-02-23 14:24:15 +01:00
Michael Muré
fe3d5c95e4
bridges: massive refactor
- automatic flag validation and warning
- generalized prompt
- cleanups
2020-02-15 02:55:19 +01:00
Michael Muré
646fd681ff
it compiles \o/ 2020-02-08 17:19:57 +01:00
ludovicm67
7de5a25ffa
webui: add logo 2020-01-24 00:28:18 +01:00
amine
f6b4830c0b bridge/gitlab: support self-hosted GitLab instance 2019-12-10 21:05:55 +01:00
Michael Muré
b92adfcb5f
bridge: huge refactor to accept multiple kind of credentials 2019-12-08 21:28:27 +01:00
Michael Muré
afe69d0c93 github: tiny cleanups of the configurator 2019-11-26 19:46:50 +01:00
Michael Muré
283e97111b bug: make sure there is no Operation's hash collision 2019-11-19 19:51:18 +01:00
Michael Muré
e0b15ee764
cli: rename "token" into "auth" 2019-11-10 17:33:44 +01:00
Michael Muré
f8cf3fea03
cli: add bridge token show 2019-11-10 15:50:56 +01:00
Michael Muré
e2445edcb9
bridge: various improvement on the global token PR 2019-11-10 14:53:40 +01:00
amine
45653bd31d token: regenerate documentation and fix imports 2019-11-09 14:55:27 +01:00
amine
baefa687b5 tokens: use a hash as token identifier instead of the token it self 2019-11-09 13:26:52 +01:00
Michael Muré
3984919a3d bridge: various cleanups 2019-11-09 13:26:48 +01:00
Michael Muré
57e23c8ada bridge: improvement on the import resume feature 2019-11-03 17:23:05 +01:00
amine
614bc5a2c5 commands: support bridge imports after a given date and resumable imports 2019-11-03 17:21:27 +01:00
Amine Hilaly
77e60aceea
commands: add bridge configure completion scripts 2019-08-31 23:02:20 +02:00
Michael Muré
c7792a5d12
commands: add a "tui" alias for "termui" 2019-08-31 13:25:44 +02:00
Amine Hilaly
21e82d5382
docs: replace images with new ones 2019-08-26 23:55:38 +02:00
Amine Hilaly
54dd81e337
bridge: update generated docs 2019-07-23 17:18:04 +02:00
Amine Hilaly
9b4b1fc09a
Rebase and add bridge push zsh & powershell completion 2019-06-24 21:34:48 +02:00
Amine Hilaly
e511f3d885
[misc] update man docs and completion scripts
[cache] BugCache: Fix set metadata raw

[bridge/github] Fix graphql input objects
2019-06-24 21:30:45 +02:00
Michael Muré
b64587f87a
misc: generate PowerShell command completion 2019-06-23 14:33:02 +02:00
Amine Hilaly
7923d6c942
Skip test validateUsername in travis environment 2019-06-03 20:33:33 +02:00
Amine Hilaly
d064a7127e
Update man pages and bash_completion 2019-05-29 22:58:01 +02:00
Michael Muré
8bfc65df6c commands: add flags/config to control the automatic opening in the default browser 2019-05-27 21:47:26 +02:00
Michael Muré
c7abac388a repo: refactor how test repo are created/cleaned 2019-05-27 21:14:55 +02:00
Michael Muré
790c1e4b82 move media in /misc 2019-04-17 20:27:33 +02:00