Commit Graph

60 Commits (release/v0.3)
 

Author SHA1 Message Date
6543 cc77d5e17b Add Changelog for v0.3.1 (#139)
Add Changelog for v0.3.1

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/139
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
6543 413b9d6985 --ssh-key should be string not bool (#135) (#137)
--ssh-key should be string not bool (#135)

--ssh-key should be string not bool

Fix #134

Reviewed-on: https://gitea.com/gitea/tea/pulls/135
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/tea/pulls/137
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
4 years ago
alrs 35ad046d8d modules/git: fix dropped error (#127)
modules/git: fix dropped error

Co-authored-by: Lars Lehtonen <lars.lehtonen@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/127
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
6543 e9dee07459 Issues details: add missing newline (#126)
add missing newline

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/126
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
4 years ago
6543 2653eaa6b2 Changelog for v0.3.0 (#122)
remove version info in same way it is done on gitea

Add Changelog for v0.3.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/122
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
4 years ago
Norwin 1a4d8edf37 add `tea issues [open|close]` commands (#99)
update to master

Merge branch 'master' into issue-openclose

adress code review

add issues [open|close]

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/99
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
4 years ago
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>
4 years ago
6543 81fa4e78ff Fix CI: Turn off go modules for xgo and gxz (#115)
Turn off go modules for xgo and gxz

as on https://github.com/go-gitea/gitea/pull/10963

Revert "Fix CI: workaround from @kolaente (#113)"

This reverts commit b37673c954.

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/115
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
4 years ago
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>
4 years ago
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>
4 years ago
6543 b37673c954 Fix CI: workaround from @kolaente (#113)
as workaround from @kolaente

Signed-off-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/113
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
4 years ago
Norwin f5d0790619 Add --state flag filter to issue & PR lists (#100)
Add --state flag filter to issue & PR lists

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/100
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: 6543 <6543@noreply.gitea.io>
4 years ago
6543 12f38c892f Fix CI for releasing tea (#106)
fix ci

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/106
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
6543 31a79f0605 Changelog v0.2.0 (#102)
Changelog v0.2.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/102
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
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>
4 years ago
Lunny Xiao 5601c57059 Improve makefile to enable goproxy when go get tools. (#98)
makefile go mod

always enable GO111MODULE=on

Reviewed-on: https://gitea.com/gitea/tea/pulls/98
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
4 years ago
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>
4 years ago
6543 8d61d8beec Add missing Changelog for 0.1.x releases (#91)
add Changelog

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/91
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
4 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
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>
5 years ago
6543 6e85b47f7c README: add badges (#80)
use SVG instead of PNG

update discord link

add badges

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
Norwin d9e6db96a7 README: document some dev tasks (#79) 5 years ago
Norwin 97f0ea1c22 Add --remote flag to add/create subcommands (#77) 5 years ago
techknowlogick aa88745177 fix typo in drone (#75) 5 years ago
techknowlogick d1d3c70530 Same release targets as gitea (#73) 5 years ago
Jonas Franz 0a2120db45 Fix gitea releases upload configuration (#71) 5 years ago
6543 5b3c92ee11 add repos subcommand [continue #44] (#3) (#65) 5 years ago
serverwentdown 72b602409b Minor improvements to command-line language (#66) 5 years ago
6543 3d128cfc69 changed git config determination to go-git (#41) [continue #45] (#62) 5 years ago
Lunny Xiao e456abcc8c List label description (#60) 5 years ago
Lunny Xiao 651ba2aba4 Add install guide from brew on README (#61) 5 years ago
6543 0515114fa3 Use Different Remote Repos (#58) 5 years ago
Norwin cd1ddb86b5 fix -o flag (#53) 5 years ago
Norwin 0926a42029 Fix log formatting, refactor flag definition in cmd/labels.go (#52) 5 years ago
root360-AndreasUlm 7df0354d6c added global appendable Flags (#12) (#39) 5 years ago
Lunny Xiao bbcc689b93 Add labels commands (#36) 5 years ago
Lunny Xiao d1134e8008 Update dependency package code.gitea.io/sdk/gitea to latest version (#48) 5 years ago
root360-AndreasUlm 7c024bcd69 unified output (#14) (#40) 5 years ago
archite 1d233402fd Enable bash-completin as per urfave/cli. (#43) 5 years ago
lunny 07a623ff83 change .drone.yml to new format (#33) 5 years ago
techknowlogick c9d054ae4f Merge branch 'mod' of appleboy/tea into master 5 years ago
Bo-Yi Wu cc2d8d9cbd remove codecoverage
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Bo-Yi Wu 1d774a01c6 chore: enable goproxy.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Lunny Xiao 912803706a Add missing make-compress to fix release (#23) 5 years ago
Bo-Yi Wu bf9620d18e chore: go support combine all coverage file (#24)
* Combine all coverage file in one command
* remove generate-coverage
* remove unused method: errCheck

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
5 years ago
Lunny Xiao 6aa4629f05 fix drone (#21)
* fix drone

* remove docker on drone
5 years ago
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>
5 years ago
Andreas Ulm b924cd5296 added 'go get' command & build instructions (#16) (#19)
Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
5 years ago