Use Predefind Versions & Compare Function #442
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#442
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "6543/go-sdk:bugfix_440_usePredefind-ConstrainChecks"
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?
close #440 and speedup this lib
39b2538167
toa58f932127
@ -45,0 +53,4 @@
func (c *Client) checkServerVersionGreaterThanOrEqual(v *version.Version) error {
c.versionLock.RLock()
if c.serverVersion == nil {
c.versionLock.RUnlock()
Is this really locked?
yes (from two lines above)
#456
Backport: #446
Can we have
_
separators in the version constants to reduce ambiguity?Otherwise lgtm
6543 referenced this pull request2020-11-12 20:57:35 +00:00