6543
f5dbd44ebe
Improve `tea logout` ( #213 )
...
fix message
fix lint
Impruve logout
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/213
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-10-02 15:45:55 +00:00
Norwin
3bfae84d32
Use Print Package ( #214 )
...
print issue & URL after issue creation & edit
use print package for pull detail
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/214
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-10-02 14:15:18 +00:00
crapStone
c1d725ed34
Added a shorthand for notifications ( #209 )
...
Added a shorthand for notifications
Reviewed-on: https://gitea.com/gitea/tea/pulls/209
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-10-01 03:35:03 +00:00
Norwin
de5a00e807
Refactor addLoginMain() ( #201 )
...
simplify NormalizeURL
drop noisy log line
must have been introduced recently?
dont use PascalCase for default login names
...for readability.
🔥 opinionated commit
create GenerateLoginName()
fixes
fixup! Merge branch 'master' into refactor-loginMain
move GetOwnerAndRepo() to modules/utils/parse.go
Merge branch 'master' into refactor-loginMain
make linter happy
refactor addLoginMain()
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/201
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-09-30 19:44:22 +00:00
6543
f445ac7521
Refactor: apply new internal structurs ( #206 )
...
fix lint
fix lint
Move print TrackedTimesList to print package
Move AbsPathWithExpansion to utils/path.go
rename module intern to config
Move Subcomands into it's own Packages
Split times subcomands into own sourcefiles
Split repos subcomands into own sourcefiles
Split releases subcomands into own sourcefiles
Split pulls subcomands into own sourcefiles
Split milestones subcomands into own sourcefiles
Split login subcomands into own sourcefiles
Split labels subcomands into own sourcefiles
split issues subcomands into own sourcefiles
mv
Move Interactive Login Creation to interact package
Move Add Login function to intern/login.go
apply from review
lint: add description to exported func
smal nits
Move DetailViews stdout print func to print package
Refactor:
* Move Config & Login routines into intern package
* rename global var in cmd
* Move help func to utils
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/206
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-30 05:11:33 +00:00
6543
9602c149ca
Changelog v0.5.0 ( #205 )
...
Add Changelog for v0.5.0
Update SubComand Descriptions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/205
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-09-27 14:35:53 +00:00
6543
cf2c18c32b
Add Pagination Options for List Subcomands ( #204 )
...
Add Pagination Options for List subcomands
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/204
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-09-27 12:07:46 +00:00
Norwin
887495f38f
Fix Pulls Create ( #202 )
...
small refactor
fix TrimLeft bug, improve logging
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/202
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-09-26 18:43:57 +00:00
Norwin
159bf03d49
tea pulls create: detect head branch repo owner ( #193 )
...
dont print on already pushed branch
more consisten error handling
detect repo owner for default head branch
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/193
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-24 10:44:03 +00:00
6543
288a8574c3
Add Release Subcomands ( #195 )
...
rm release flag
fix msg's
Releases: add "ls" and more
Add Edit a release
Release Create: better error handling
Add: "Delete a release"
Release List: add Status
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/195
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-09-23 19:56:34 +00:00
6543
2e701ee8a2
Add Repo Create subcomand & enhancements ( #173 )
...
repos ls: use owner filter and remove org&user one
better desc
refactor
rm local filter, let us fix upstream
split user org
add archive and private filters
use SearchRepos
migrate to sdk v0.13.0
print URL
add CmdRepoCreate,
Add RepoDetails
ListRepos: better desc, add aliases, add note for sdk-release
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/173
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-09-23 19:49:59 +00:00
6543
eacf1be066
Add Login Manage Functions ( #182 )
...
rename Active to Default
manage Default login via CI
use open to edit login config ... for now
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/182
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-09-23 14:23:27 +00:00
6543
3652f1dcb2
Issues/Pulls: Details show State ( #196 )
...
Pull: Render output & add State to issues
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/196
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2020-09-23 10:30:29 +00:00
Norwin
d7f429d246
make issues & pulls subcommands consistent ( #188 )
...
Merge branch 'master' into pr-details
make issues & pulls subcommands consistent
- by default list open items
- show detail when argument is provided
- expose listing as ls subcommand
- accept --state flag on command and ls 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/188
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-21 05:03:20 +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
f8d983b523
Update Golang ( #185 )
...
update golang
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/185
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-19 15:29:15 +00:00
6543
7c30579900
Add milestones subcomand ( #149 )
...
issues/pulls show milestones
add mile issues subsubcomand
Add milestones subcomand
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/149
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-09-17 19:35:24 +00:00
6543
e4d7a77348
Fix Labels Delete ( #180 )
...
Fix Delete a Label
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/180
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-17 12:47:56 +00:00
6543
83b94ab864
Respect Flag Variable repoValue ( #183 )
...
Flags respect repoValue
followup of #178
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/183
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-09-16 16:59:20 +00:00
6543
3c1bcdb1e2
More Options To Specify Repo ( #178 )
...
use active user as owner by default
Fix #163 Part1
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/178
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-09-16 13:47:52 +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
ed961c795e
Login: add BasicAuth & Interactive ( #174 )
...
Add Interactive login
move login logic into it's own func
add BasicAuth as login method
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/174
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
2020-09-15 02:23:42 +00:00
6543
e7ee745488
[Frontport] Changelog v0.4.1 ( #176 ) ( #177 )
...
Changelog v0.4.1 (#176 )
Changelog v0.4.1
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/176
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Gary Kim <gary@garykim.dev>
Reviewed-on: https://gitea.com/gitea/tea/pulls/177
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-13 23:43:29 +00:00
Norwin
9ae7196a50
times: format duration as seconds for machine-readable outputs ( #168 )
...
times: format duration as seconds for machine-readable outputs
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/168
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-08-30 06:28:58 +00:00
赵智超
25a7e85c1c
Add user message to login list view ( #166 )
...
Add user message to login list view
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/166
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-08-10 16:31:38 +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
edd180a8f5
Fix notification: --all dont relay on a repo ( #159 )
...
fix nil pointer exeption
make notifications work outside a repo
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/159
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-07-20 03:09:34 +00:00
6543
a979df1070
Changelog v0.4.0 ( #157 )
...
Changelog for v0.4.0
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/157
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: appleboy <appleboy.tw@gmail.com>
2020-07-18 10:57:18 +00:00
6543
08a9a9a8ab
Bugfixes for initCommand ( #156 )
...
respect --login parameter again
🚀
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/156
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-07-18 10:43:56 +00:00
6543
2135af0304
Fix Login Detection By Repo Param ( #151 )
...
Fix login detection by Repo param
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/151
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-07-17 16:36:48 +00:00
6543
19ee32168e
Add notifications subcomand ( #148 )
...
rm Aliase news for now
show read notifications not supported jet
add notifications subcomand
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/148
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-07-17 15:30:02 +00:00
6543
12ea1ad35c
Subcomand Login Show List By Default ( #152 )
...
tea login list by default
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/152
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-07-17 07:16:38 +00:00
6543
3a382e73b1
Fix Login List Output ( #150 )
...
fix output
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/150
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-16 16:12:22 +00:00
6543
f1801f39a6
Add subcomand 'pulls create' ( #144 )
...
wordings
print pull URL
change title required mesage
inform User on push error
fix body
🚀
finish
impruve
fix help menue of pull create
refactor
Add pull-request command
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Sandro Santilli <strk@kbt.io>
Reviewed-on: https://gitea.com/gitea/tea/pulls/144
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-07-16 15:00:51 +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
85e1244db8
Add note for alpine/arch-linux package ( #143 )
...
add note for archlinux TEA package
add note for alpine linux TEA package
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/143
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-05 18:36:21 +00:00
6543
618eeb9029
Add Changelog for v0.3.1 ( #139 ) ( #140 )
...
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>
Reviewed-on: https://gitea.com/gitea/tea/pulls/140
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-06-15 20:17:45 +00:00
techknowlogick
b2efb45f64
--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>
2020-06-12 02:43:55 +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
6543
8bbeeae327
Update Readme & add demo GIF ( #125 )
...
add suggestions from reviews & remove alias from subcomand list
gif is now on cdn & add review suggestion
Add ICON & Name
update description & co
add demo gif
fix newline becaues of new markdown roule
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/125
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Gary Kim <gary@garykim.dev>
2020-04-25 12:04:05 +00:00
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>
2020-04-25 02:35:22 +00:00
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>
2020-04-23 00:28:54 +00:00
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>
2020-04-22 19:11:03 +00:00
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>
2020-04-22 16:09:26 +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
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>
2020-04-06 14:21:36 +00:00