Norwin
e6fbba3f80
update code.gitea.io/sdk/gitea to support prerelease ( #252 )
...
update code.gitea.io/sdk/gitea to prerelease
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/252
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: 赵智超 <1012112796@qq.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-11-14 18:31:01 +08:00
6543
d5058b3b20
Update Vendors ( #250 )
...
update go min version
Update Vendors:
* code.gitea.io/gitea-vet v0.2.0 -> v0.2.1
* code.gitea.io/sdk/gitea v0.13.0 -> v0.13.1
* github.com/AlecAivazis/survey v2.1.1 -> v2.2.2
* github.com/adrg/xdg v0.2.1 -> v0.2.2
* github.com/araddon/dateparse d820a6159ab1 -> 8aadafed4dc4
* github.com/go-git/go-git v5.1.0 -> v5.2.0
* github.com/muesli/termenv v0.7.2 -> v0.7.4
* github.com/stretchr/testify v1.5.1 -> v1.6.1
* github.com/urfave/cli v2.2.0 -> v2.3.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/250
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
Co-Authored-By: 6543 <6543@noreply.gitea.io>
Co-Committed-By: 6543 <6543@noreply.gitea.io>
2020-11-09 23:25:54 +08:00
crapStone
c4e2db32b5
rewrote config file path search ( #219 )
...
added comment to clarify coding choices
added package xdg to vendor folder
rewrote config file path search
Co-authored-by: crapStone <crapstone01@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/219
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-10-06 13:06:47 +00:00
6543
7ac3ffcc1b
Use Survey For Interactions With User ( #186 )
...
fixes
Use Survey For Interactions With User
Add Vendor "github.com/AlecAivazis/survey/v2"
Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/186
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-10-03 02:54:09 +00:00
6543
89e93d90b3
Use glamour and termev to render/colorize content ( #181 )
...
Merge branch 'master' into use-glamour
select Glamour Theme based on BackgroundColor
Merge branch 'master' into use-glamour
Merge branch 'master' into use-glamour
update termev
update go.mod
label color colorate
use glamour for issue content
Vendor: Add glamour
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/181
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-19 16:00:50 +00:00
6543
f47ac8f96e
Update SDK to v0.13.0 ( #179 )
...
check err
Notifications: Add Pinned Filter
migrate & adapt
update sdk to v0.13.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/179
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-16 02:01:41 +00:00
6543
eb37f14923
Update gitea-vet v0.2.0 ( #164 )
...
tagged version v0.2.0
make vendor
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/164
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-21 16:17:52 +00:00
6543
66947bcf09
Update Vendors ( #145 )
...
vendor
go update vendors
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/145
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-13 22:38:05 +00:00
6543
59fe58577a
Migrate gitea-sdk to v0.12.0 ( #133 )
...
Migrate
Update code.gitea.io/sdk/gitea to v0.12.0.
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/133
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-05-27 13:48:09 +00:00
6543
3c312cb409
Update Vendors: ( #129 )
...
* github.com/araddon/dateparse upgrade => v0.0.0-20200409225146-d820a6159ab1
* code.gitea.io/sdk/gitea upgrade => v0.11.3
* github.com/olekukonko/tablewriter upgrade => v0.0.4
* github.com/mattn/go-runewidth upgrade => v0.0.9
* github.com/stretchr/testify upgrade => v1.5.1
* github.com/davecgh/go-spew upgrade => v1.1.1
* github.com/urfave/cli/v2 upgrade => v2.2.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/129
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-30 10:54:11 +00:00
6543
6cff3b1cc7
migrate src-d/go-git -> go-git/go-git ( #128 )
...
Merge branch 'master' into vendor-migrate-go-git
Merge branch 'master' into vendor-migrate-go-git
migrate src-d/go-git -> go-git/go-git
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/128
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-30 02:02:15 +00:00
6543
4b059770ea
Add gitea-vet ( #121 )
...
Close #119
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/121
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-28 13:02:21 +00:00
6543
a35fcb682b
migrate yaml lib ( #130 )
...
vendor
migrate imports
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/130
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-04-28 03:39:36 +00:00
Norwin
4cda7e0299
add tea pulls [checkout | clean]
commands ( #93 #97 #107 ) ( #105 )
...
Merge branch 'master' into issue-97/pulls-clean
vendor terminal dependency
pull/push: provide authentication method
automatically select an AuthMethod according to the
remote url type. If required, credentials are prompted for
login: store username & optional keyfile
refactor
refactor GetRemote
Merge branch 'master' into issue-97/pulls-clean
adress code review
add --ignore-sha flag
When set, the local branch is not matched against the remote sha,
but the remote branch name. This makes the command more flexible
with diverging branches.
add missing error check
fix branch-not-found case
Merge branch 'master' into issue-97/pulls-clean
use directory namespaces for branches & remotes
fix TeaCreateBranch()
improve method of TeaFindBranch()
now only checking .git/refs instead of looking up .git/config which may
not list the branch
add `tea pulls clean`
fixes #97
add copyright to new files
make linter happy
refactor: use new git functions for old code
add `tea pulls checkout`
Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: Norwin <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/105
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-19 03:09:03 +00:00
6543
08a00add6d
ignore PRs in runIssuesList() ( #111 )
...
Merge branch 'master' into 108-issues
Merge branch 'master' into 108-issues
ignore pullrequests
Update SDK v0.11.0 -> 0.11.2
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/111
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-01 08:35:42 +00:00
Lunny Xiao
7a10ea10df
Add tea open ( #101 )
...
Fix open default to home page
Improve path join and open with no arg
add labels and milestones
Add tea open
Reviewed-on: https://gitea.com/gitea/tea/pulls/101
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-04-01 03:22:24 +00:00
Norwin
897e4ce3c1
add tea times
command ( #54 )
...
Merge branch 'master' into 50-cmd-times
labels: fix refactor bug
fixup! use version check implemented in SDK instead
add subcmds: `tea times (delete|reset)`
fixes #87
fixes #88
times: reword help
use version check implemented in SDK instead
make fmt
Check gitea server version for times endpoint
refactor times.go
dont print TrackedTime ID
print username & issue index instead of IDs
switch to urface/cli/v2
vendor araddon/dateparse
use araddon/dateparse for arbitrary date inputs
add --from, --until flags
allow filtering by issue index
make app name lower case
to make the help texts consistent with the binary name
add --total flag
implement `tea times add`
add `tea times` subcommand
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/54
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-06 03:43:28 +00:00
6543
c8cbd6b0ee
bump code.gitea.io/sdk/gitea from untaged to 0.11.0 ( #92 )
...
bump code.gitea.io/sdk/gitea from untaged to 0.11.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/92
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-02-07 13:53:15 +00:00
appleboy
c20d7d45aa
chore(cli): upgrade urfave/cli to v2 version ( #85 )
...
chore(cli): upgrade urfave/cli to v2 version
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-01-04 17:44:25 +00:00
6543
0a5cdd60ac
[Vendor] Update urfave/cli v1.20.0 -> v1.22.2 ( #84 )
...
Merge branch 'master' into update-cli-lib2
[Vendor] Update stretchr/testify v1.3.0 -> v1.4.0 (#83 )
update github.com/stretchr/testify v1.3.0 -> v1.4.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
Update urfave/cli v1.20.0 -> v1.22.2
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-04 04:45:36 +00:00
6543
bffed6b4d3
[Vendor] Update stretchr/testify v1.3.0 -> v1.4.0 ( #83 )
...
update github.com/stretchr/testify v1.3.0 -> v1.4.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
2020-01-04 02:49:49 +00:00
6543
3c66a7af24
[Vendor] Update gitea go-sdk to 2020-01-03 ( #81 )
...
update sdk to v0.0.0-20200103062250-c7686bd633c6
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-01-04 01:44:33 +00:00
6543
3d128cfc69
changed git config determination to go-git ( #41 ) [continue #45 ] ( #62 )
2019-10-28 21:10:20 +00:00
Lunny Xiao
bbcc689b93
Add labels commands ( #36 )
2019-10-19 10:54:16 +00:00
Lunny Xiao
d1134e8008
Update dependency package code.gitea.io/sdk/gitea to latest version ( #48 )
2019-10-13 15:13:33 +00:00
root360-AndreasUlm
7c024bcd69
unified output ( #14 ) ( #40 )
2019-09-15 08:38:18 +00:00
Lunny Xiao
d4f107b710
Add Makefile / .drone.yml, use go module with vendor ( #20 )
...
* add Makefile / .drone.yml, use go module with vendor
* Update .drone.yml
Co-Authored-By: lunny <xiaolunwen@gmail.com>
2019-04-25 20:06:53 +03:00