Skip to content

v0.18.0

Compare
Choose a tag to compare
@zaquestion zaquestion released this 05 Jan 20:17
· 515 commits to master since this release

Changelog

319d609 Merge branch 'master' of github.com:zaquestion/lab
cf622fe update travis github token
1f481b1 util: fix syscall.Stdout and Stderr fd values on for Windows
2c097ca label: Add delete subcommand
f5b306c label: Add new create subcommand
23e8f40 labels: Support partial label names
4293972 mr_list: fix order and sort flags description
bc6e07a tests: Adjust expected issue show output
b1d6c06 issue_show: Render markdown in notes
b0aed83 issue_show: Handle multi-line system notes better
258a825 issue_show: Move newline
8c03560 issue_show: Fix indent of multi-line discussions
25b187d issue_show: Use correct indent for note body
6437930 util: Support getting MR ID from branch name
dccfcf8 fork: cleanup function args
67d04c2 fork: populate fork options directly in the command
0f4e16c gitlab: fix fork name index
b34ae86 fork: rename namespace to group
82d9be5 test: Fix draft-mr test preparation
33de0c3 ci_view: Fix screen freeze
dd21120 gitlab: check SearchGroup list length
45198d3 (project create) support creates in subgroups and nested subgroups
22b09ca (project create) parse group from path
76e7bcd remove 'in your user namespace', we can create projects in other ns
cd24a6d add comment to clarify behavior when namespaceID is nil
4ffe48e create a repository in a group
b602d4e mr_list: diff between latest updated and created MR
4476a44 Disable flag sorting for some commands
cd3bfec ci: Handle job names with colons in filterJobArg()
fd00962 cmd: Add PersistentPreRun where it's currently missing
c743a49 util: Always override config file flags from the command line
bf71f13 mr_test: Fix typo
c11e773 issue_close: Allow closing as duplicate of another issue
f945aca issue_reopen: Add subcommand to reopen closed issues
894625e gitlab: Return error when trying to close a closed issue
df3d8a9 fork: add test for --no-wait option
d980c61 fork: add test for custom target options
54d13ae fork: allow custom namespace as remote name
8660629 gitlab: target fork name and path must not be empty
308d63a gitlab: consider custom namespace for finding a project
35edd30 fork: wait for the actual fork process completion
1ab3a53 fork: enable different target name, namespace and path
4aadd27 mr_show: Fix --patch option with no arguments
d9a2d69 mr: Fix draft test
c1bc35a mr: Use bang to denote MR IDs
fb024b8 mr: Add draft test case
87cd0bb mr_create: Allow creating draft merge request
4b72ab8 mr_list: Allow filtering by draft status
b4f4d18 mr_edit: Support (un)marking merge requests as draft
d315e01 ci: Add support for merge request pipelines
6f7973e gitlab: Use pipeline ID for getting jobs
6287135 issue_note: Fix quoting of replied comment
ee7fda4 Revert "ci_status_test: Reverse expected output"
f055edf gitlab: Sort list of returned jobs
e8b6600 gitlab: simplify CIJobs a bit
173544a show: check output type before rendering Markdown
32fd380 mr_test: Add separate test case for different upstream name
568d297 Revert "mr_test: Check out test branch under diverging name"
06b5f6a ci_test: Only use labBinaryPath for lab commands
3bb895b mr_list: fix test latest MR
6e4a87a mr_reopen: add command for reopening a closed MR
333616b ci_test: Use a different local branch name
434587b mr_test: Check out test branch under diverging name
37348fb testdata: Fix non-default remotes
d6b8490 ci: Use better default branch and remote for fetching jobs
d939764 mr: Default to remote tracking branch
022fa99 Makefile: move PHONY target from 'deps' to 'build'
4413443 Fix another typo
cf63bff Fix typo in readme
15e066b mr list: Add sort and order tests
6993e9e mr list: Add --sort list option
750e04a mr list: Add --order option
845de95 mr/show: Fix glitch in error message
8486750 lab: Add tests for reply commands
f46c433 lab reply: Fix replies with -m option
29f9553 lab: Add 'mr resolve' alias to 'mr note'
ae4b111 mr note: Add --resolve option
465b8a4 mr: Remove questionable aliases
2c1fd59 mr: Don't set minimum number of args
b42b06b lab show: Convert html comments to text
014a9ec show: Add system note output
e19c7e1 mr: Add approve and unapprove tests
46cef78 mr_show: Display approvals
0fd88fc gitlab: MRListDiscussions must return all discussions
7321203 mr list test: Update Test_mrListByTargetBranch
77ce9d3 Allow using HTTP protocol instead of SSH
3e3b74d Make http default fork
a922751 config: check mandatory options before allowing any action
40cd2d3 config: Provide better PAT information message
6ef2d45 root: run remote discovery code in worktree only
eac93fb issue_edit: Fix minor typo
66f3f5a issue_show: fix test case
5228809 root: add default values to test setup
6d1316d root: add fallthrough option for setting forkedFromRemote
bb4aeef root: fix default branch remote discovery
628a61c root: remove redundant check
a048e20 show: Fix bug with multi-line discussion comment output
4353b94 note: Add reply --quote functionality
0e25db0 note: Add reply functionality
24a5b66 fix: (mr checkout) override target remote when passed as arg
1ee9cd5 show: Unify the PrintDiscussions() code
aa00f8b note: Unify mr and issue note codebases
010a623 root_test: Add tests for new config and flag layout
9bf2452 lab: Add LabPersistentPreRun() to all commands
928ac90 show: Convert to using flagConfig()
47de8c5 util: Add flagConfig function
8507984 fix: #364 support passing remote to mr checkout
9a68717 README.md: Update documentation with new config layout
d2050a9 flags: fix "message" string handling
7dcf390 lab: rework config ordering
4289c25 show: Migrate metadata to lab toml file
c7ddf19 config: Simplify metadata config functions
f730ac1 lab: Rename LoadConfig()
810be67 config: Add multiple vipers
86f9dd6 mr_checkout: fix usage message
e8b79e8 Fix typo in discussion
cce87e3 Fix discussion test
9eab160 Fix tests for mr discussion
fd4bc29 Add mr discussion creation
6022af3 lab: Add --force-linebreak option
4dc20f9 config: Add WorkTree functions
6298774 config: Read token from other sources
d4dfe5e fork: fix clonning for projects within subgroups
c1067e5 clone: fix folder name used for operations after clonning
9ce5c7c main: skip config initialization for --version and --help
08f5c32 issue,mr: remove markdown flag from parent command
e25d3e0 config: Small LoadConfig() cleanup
4104b40 show: Add "comments" config option.
dbf3165 show: Reorganize config code
6d8163f config: add Convert test
51d9b7d config: Fix and clean up certificate code
8dda6ff config: Move config init code
2c6e0d8 config: Rework the config code
44d164e config: Convert config files from HCL to TOML
6ce90a2 [PATCH] Add --patch option to mr show
08ceeac Revert commit 1285411 ("config: Fix missing core.user entry")
2fb924f issue show: Add automatic comment highlights
bad596f issue show: Add --since option
cc98e63 mr show: Add automatic comment highlights
e1076ee mr show: Add --since option
1285411 config: Fix missing core.user entry
40bfa11 mr list: Add --mine and --assignee options
3365d11 mr create: Add mr create --file option
9561d5a go fmt
7159c2b added gofmt check to travis build
4cd8998 mr show: tests for updated comments
690015e show: Mark updated comments
d2c3dfe note: Add mr note --file option
6b4ee46 mr create: Set default target branch
163c86e updated carapace to 0.0.16
57fabb8 lab: Add --comments flag to 'mr show'
9bf1f87 mr show: Fix 'mr show' for unassigned Merge Requests
3f4e7ba edit: Fix GIT_EDITOR evaluation
7a92c29 added completions to readme
7bebe48 updated shell completion
ffc8929 .goreleaser.yml: Create arm/arm64 binaries
bba7c39 fix ci
2e1fd24 Merge branch 'master' into fix_issue_338
ed122dd README.md: Update to require go 13 or newer
6224c31 fork: Add option to skip the clone
496b0f3 add parseArgsRemoteRef - base unification + test
468bb69 use GetCommit by ref instead of GetBranch
763b691 base changes - WIP for review
8e68f5f Merge branch 'master' into support-issue-templates
df7e662 Apply automatic formatting
9294018 readme: warn before aliasing
b0b8ee2 alec/multiple-assignees
fa99382 Create .deepsource.toml
ea586a4 Merge branch 'master' into ci-status
2411e84 Update FUNDING.yml
edcd8ba Merge branch 'master' into ci-status
f354e90 label list: support pagination
cd835e9 Using glamour's new auto-style feature
13e45f1 small test fix concerning whitespace
5466231 Test now handle ansi chars
a9111f0 Using implementation independent variable names
111cb0b Fixing up tests to work with glamour
039f39f Glamour support for merge request descriptions
75146a3 glamour can also be disabled without "show"
5acfd58 Glamour Support can now be disabled with -G instead of enabled with -g
c3a64b0 Added flag -g to enable glamour support
c81698a first working draft of glamour-support
b39265d ci status --wait: actually wait for jobs to finish
01e4354 Set TLS skip verify when getting user
2d3c105 Update .goreleaser.yml
a2bc5d2 fix: #356 use SetScreen to avoid weird SetFocus deallocks
6d9efae improve project not found error to clarify it may be a permission issue
3f9088d add "tls" config section for specifiying client certs or skiping tls verification
c875a07 fix: #351, need to do proper interface checking since the cfg can come in as 2 different types
929c8f3 Add support for freebsd/arm64
284fbb8 fix #314: --version not showing lab version
6d80422 use latest go in travis
3680ee2 remove mentions of providing user to lab which happens automatically now
c9bee03 Support issue templates
01d6397 fix: #295 to bring in simplified current brnach changes
c5d4454 #321: allow completions to be generated without authenticating with GitLab
18d029c update tview dep
63bb26a try XDG_CONFIG_HOME
020e58f Create FUNDING.yml
bdb1a7e Use normal string concat to avoid "/" removal
da99136 Fix crash when opening issue in browser
3654a36 tview patch
5a30108 get the CurrentBranch from git instead of parsing text