Bug: tea release create -- "title is empty" #483
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#483
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
describe your environment
tea -v
): v0.8.0main
,master
, ortrunk
)Please provide the output of
git remote -v
(if the issue is related to tea not finding resources on Gitea):describe the issue (observed vs expected behaviour)
Expected:
tea r c v1.0.0 -t "My title"
Observed:
tea r c v1.0.0 -t "My title"
I tested the command a bit more and figured out that the following works:
tea r c --tag v1.0.0 --target master -t "My title"
The error message obviously is very confusing and thus my issue still stands
can you try:
go install code.gitea.io/tea@02f5f15269e2e06f260eb1e7ea27f3387929b013
☝️ install current master version
and test if issue still exist?
Issue still occurs when using the master version
Also
tea r c v1.0.0
should probably do an interactive thing likegh
doesthank's for checking :)
tea r c v1.0.0
will never work - this command does not take arguments. The docs should be clearer about this, and maybe there should be an error about unexpected arguments?the 'title is empty' error comes from code.gitea.io/go-sdk, I don't get why this is triggered when a title is actually set.
tea r c <tag>
tea r c v1.0.0 -t "My title"
. this is due to the fact that our flag parsing library ignores flags placed after the first non-flag argument. this is a wontfix until we switch away fromgithub.com/urfave/cli/v2
, which in general has horrible ergonomics. hopefully there soon is work in progress for a v3 release that fixes this and other issues