New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitea 1.10.3 -> 1.11.0 #80175
gitea 1.10.3 -> 1.11.0 #80175
Conversation
Are we touched by this issue? |
@GrahamcOfBorg test gitea |
At a quick glance this might be useful for us. |
Status? |
We probably are, unfortunately I wasn't able to test that because starting the result binary failed with
where the error in itself makes sense as my git config is managed through home-manager, but I guess I'm doing it wrong? I was just trying to run |
Well, it tries to get gitea running as your local user and needs the git config for it. I just updated gitea locally to 1.11.3 (based on your patch) and while the test and the db migration appear to work fine, the frontend is broken and needs to be built from source by us or we find a tarball with a prebuilt frontend. Currently investigating which solution is the best :) |
The tarballs listed as gitea-src-$version.tar.gz, e.g. https://github.com/go-gitea/gitea/releases/download/v1.11.3/gitea-src-1.11.3.tar.gz seem to include the prebuilt frontend. |
Indeed, just deployed such a package and it appears to work fine. Will publish the change soon, still doing some more tests :) |
Updates `gitea` to the latest version available[1]. Also ensured that upgrading from `gitea-1.9` (used on NixOS 19.09) to `1.11.3` works seamlessly. The derivation required a few more changes this time since `gitea` uses `npm` now to build the frontend[2]. When using the default tarball from GitHub, we'd have to build the frontend manually. By fetching a custom tarball published on every release, we get a prebuilt frontend (as it was the case on previous versions) and build the backend only from source. Co-authored-by: kolaente <k@knt.li> Closes #80175 [1] https://github.com/go-gitea/gitea/releases/tag/v1.11.3 [2] go-gitea/gitea#10253 (cherry picked from commit cbceee8)
Motivation for this change
Gitea major update: https://blog.gitea.io/2020/02/gitea-1.11.0-is-released/
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)