forgejo: rename bin/gitea -> bin/forgejo (#446031)

authored by Adam C. Stephens and committed by GitHub 169adc0d c8fa28cc

+7 -5
+2
doc/release-notes/rl-2511.section.md
··· 71 71 72 72 - `hiawata` has been removed, due to lack of active development upstream, lack of maintainership downstream and upcoming security issues. 73 73 74 + - `forgejo` main program has been renamed to `bin/forgejo` from the previous `bin/gitea`. 75 + 74 76 - `cudaPackages.cudatoolkit-legacy-runfile` has been removed. 75 77 76 78 - `conduwuit` was removed due to upstream ceasing development and deleting their repository. For existing data, a migration to `matrix-conduit`, `matrix-continuwuity` or `matrix-tuwunel` may be possible.
+2 -2
nixos/tests/forgejo.nix
··· 176 176 + "Please contact your site administrator.'" 177 177 ) 178 178 server.succeed( 179 - "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo gitea admin user create " 179 + "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo forgejo admin user create " 180 180 + "--username test --password totallysafe --email test@localhost --must-change-password=false'" 181 181 ) 182 182 ··· 223 223 224 224 with subtest("Testing runner registration and action workflow"): 225 225 server.succeed( 226 - "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo gitea actions generate-runner-token' | sed 's/^/TOKEN=/' | tee /var/lib/forgejo/runner_token" 226 + "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo forgejo actions generate-runner-token' | sed 's/^/TOKEN=/' | tee /var/lib/forgejo/runner_token" 227 227 ) 228 228 server.succeed("${serverSystem}/specialisation/runner/bin/switch-to-configuration test") 229 229 server.wait_for_unit("gitea-runner-test.service")
+3 -3
pkgs/by-name/fo/forgejo/generic.nix
··· 129 129 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; 130 130 131 131 preInstall = '' 132 - mv "$GOPATH/bin/forgejo.org" "$GOPATH/bin/gitea" 132 + mv "$GOPATH/bin/forgejo.org" "$GOPATH/bin/forgejo" 133 133 ''; 134 134 135 135 postInstall = '' ··· 137 137 cp -R ./{templates,options} ${frontend}/public $data 138 138 mkdir -p $out 139 139 cp -R ./options/locale $out/locale 140 - wrapProgram $out/bin/gitea \ 140 + wrapProgram $out/bin/forgejo \ 141 141 --prefix PATH : ${ 142 142 lib.makeBinPath [ 143 143 bash ··· 202 202 tebriel 203 203 ]; 204 204 broken = stdenv.hostPlatform.isDarwin; 205 - mainProgram = "gitea"; 205 + mainProgram = "forgejo"; 206 206 }; 207 207 }