mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-12 02:24:21 -05:00
Push success but display an error log #418
Closed
opened 2025-11-02 03:22:44 -06:00 by GiteaMirror
·
19 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
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.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
No Label
type/bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#418
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?
Originally created by @lunny on GitHub (Mar 3, 2017).
Don't know how to reproduce that, maybe some special commit message and I'm finding it.
@tboerger commented on GitHub (Mar 4, 2017):
Maybe some fixes #number message?
@lunny commented on GitHub (Mar 4, 2017):
Maybe, but I have tried many times, cannot reproduce it. Confusing.
@lunny commented on GitHub (Mar 6, 2017):
Move this to v1.1 since cannot reproduce.
@willemvd commented on GitHub (Mar 13, 2017):
Just happened to me after pushing with --mirror from a bare repository on my machine to a brand new repo on a brand new installing of docker 1.1.0
@mjwwit commented on GitHub (Mar 13, 2017):
Just happened here as well after pushing with
--follow-tags. At first I thought it was because of a commit message, but after reading these comments it seems it is totally random...@pmattern commented on GitHub (Mar 15, 2017):
At least to some degree the problem seems to depend on some property of the repository in question. I can reproduce 100% here with
03d79983and github.com/palinek/nm-tray on an Arch Linux as follows:git clone https://github.com/palinek/nm-tray.gitgit remote add foo http://<HTTP URL as provided by the Gitea UI>.git push -u foo masterwhen it was not initialized by Gitea orgit push --force foo masterwhen it was.@pmattern commented on GitHub (Mar 17, 2017):
Indeed the problem does not seem to be fully solved yet. Running
0693fbfcI cannot see it any longer with nm-tray (and a bunch of others either), but it still exists in FeatherNotes or lxqt-session, same steps as in my previous comment.EDIT Add another repository that's still affected.
@lunny commented on GitHub (Mar 17, 2017):
@pmattern I see so I reopened it. #1220 did not resolve it completely.
@agrn commented on GitHub (Mar 26, 2017):
I reproduced it several times with
--allon one specific repository, even though there is no issue at all on that repo. I use--allon one other repo, with several issues, without problems. I never saw that error before I upgraded to 1.1.@agrn commented on GitHub (Mar 27, 2017):
Hmm, it looks like a regexp error. The error "No issue number specified" is stored in a variable called
errMissingIssueNumber. It is only used once inGetIssueByRef(). This function is called 3 times inUpdateIssuesCommit(). This function is called byCommitRepoAction(), then byPushUpdate(), which logs the aforementioned error. Its purpose seems to update issue status when an issue is mentioned in a commit message, and uses 3 regexp for this purpose. One for matching all reference mention, one when the commit message says something along "close issue", and the last for "reopen issue".The first regex matches the following commit message:
Gitea then thinks that
'stable/0.7andprod/pa1ch/0.7are issue ids.The regex used by
UpdateIssuesCommit()to find issue reference ((?i)(?:)(^| )\S+) doesn't seem to work as expected.@agrn commented on GitHub (Mar 27, 2017):
I was working with a copy of 1.1.0 and didn't saw #1220, sorry. Anyway, I came up with a fix that looks like #1220, but on all of the three loops in
UpdateIssuesCommit(), right here : agrn/gitea@b5aa7d98fc. I tried to reproduce pmattern's issues with FeatherNotes and lxqt-session, before and after applying theses modifications, and couldn't reproduce the issue with the patched version.@pmattern commented on GitHub (Mar 27, 2017):
On a side note some documentation how to install branches other than the default
code.gitea.io/gitea, probably best at https://docs.gitea.io, wouldn't hurt.So far I've always tried to run something like
go get -d -u <some custom URL>in an attempt to keep all dependencies updated as well which resulted in error messages during installation sooner or later.@mjwwit commented on GitHub (Apr 3, 2017):
I think this can be closed, as #1393 has been merged.
@RickZeeland commented on GitHub (May 1, 2017):
Sorry, but I'm still getting the error on Windows 10, with a Gitea 64 bits version downloaded last week.

The push seems to be successful though.
@lunny commented on GitHub (May 1, 2017):
@RickZeeland which version did you download? This issue is resolved by #1393 which only in master branch
@RickZeeland commented on GitHub (May 1, 2017):
Gitea version (or commit ref): 1.1.0+8-gd9bdf7aGit version: 2.11
Operating system: Windows 10 Enterprise
Database: PostgreSQL
@beppler commented on GitHub (May 18, 2017):
I can push, but get some messages from server.
Gitea version: 1.1.1
Git version: 2.11.0
Operating system: Debian 8.8
@agrn commented on GitHub (May 18, 2017):
Because the fix is only in the master branch right now
@lunny commented on GitHub (May 19, 2017):
So we need a back port to v1.1.2