mirror of
1
Fork 0
forgejo/services
Giteabot 1fd3cc3217
Fix DownloadFunc when migrating releases (#27887) (#27889)
Backport #27887 by @Zettat123

We should not use `asset.ID` in DownloadFunc because DownloadFunc is a
closure.

1bf5527eac/services/migrations/gitea_downloader.go (L284-L295)

A similar bug when migrating from GitHub has been fixed in #14703. This
PR fixes the bug when migrating from Gitea and GitLab.

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit 4a48370d91)
2023-11-14 13:17:12 +01:00
..
actions Fix pull request check list is limited (#26179) (#26245) 2023-08-21 07:22:15 +02:00
agit Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
asymkey Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
convert Fix package webhook (#27839) (#27854) 2023-11-14 13:17:12 +01:00
cron [GITEA] Show manual cron run's last time 2023-07-31 18:34:14 +00:00
externalaccount Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
forgejo [UPGRADE] add sanity checks for [storage*] 2023-08-21 07:22:19 +02:00
forms check blocklist for emails when adding them to account (#26812) (#26831) 2023-09-08 08:09:18 +02:00
gitdiff Fix successful return value for `SyncAndGetUserSpecificDiff` (#27152) (#27156) 2023-10-03 14:48:08 +02:00
issue Avoid run change title process when the title is same (#27467) (#27557) 2023-11-14 13:17:11 +01:00
lfs Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mailer [BRANDING] add X-Forgejo-* headers 2023-07-17 00:25:55 +02:00
markup Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
migrations Fix DownloadFunc when migrating releases (#27887) (#27889) 2023-11-14 13:17:12 +01:00
mirror Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
org Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
packages Prevent newline errors with Debian packages (#26332) (#26342) 2023-08-21 07:22:16 +02:00
pull Fix poster is not loaded in get default merge message (#27657) (#27665) 2023-11-14 13:17:11 +01:00
release Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
repository Sync tags when adopting repos (#26816) (#26834) 2023-09-08 08:09:18 +02:00
task Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
user [MODERATION] organization blocking a user (#802) 2023-07-17 00:26:42 +02:00
webhook Fix package webhook (#27839) (#27854) 2023-11-14 13:17:12 +01:00
wiki services/wiki: Close() after error handling (#27129) (#27137) 2023-09-20 12:50:46 +02:00