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 72 - `hiawata` has been removed, due to lack of active development upstream, lack of maintainership downstream and upcoming security issues. 73 74 - `cudaPackages.cudatoolkit-legacy-runfile` has been removed. 75 76 - `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.
··· 71 72 - `hiawata` has been removed, due to lack of active development upstream, lack of maintainership downstream and upcoming security issues. 73 74 + - `forgejo` main program has been renamed to `bin/forgejo` from the previous `bin/gitea`. 75 + 76 - `cudaPackages.cudatoolkit-legacy-runfile` has been removed. 77 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 + "Please contact your site administrator.'" 177 ) 178 server.succeed( 179 - "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo gitea admin user create " 180 + "--username test --password totallysafe --email test@localhost --must-change-password=false'" 181 ) 182 ··· 223 224 with subtest("Testing runner registration and action workflow"): 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" 227 ) 228 server.succeed("${serverSystem}/specialisation/runner/bin/switch-to-configuration test") 229 server.wait_for_unit("gitea-runner-test.service")
··· 176 + "Please contact your site administrator.'" 177 ) 178 server.succeed( 179 + "su -l forgejo -c 'GITEA_WORK_DIR=/var/lib/forgejo forgejo admin user create " 180 + "--username test --password totallysafe --email test@localhost --must-change-password=false'" 181 ) 182 ··· 223 224 with subtest("Testing runner registration and action workflow"): 225 server.succeed( 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 ) 228 server.succeed("${serverSystem}/specialisation/runner/bin/switch-to-configuration test") 229 server.wait_for_unit("gitea-runner-test.service")
+3 -3
pkgs/by-name/fo/forgejo/generic.nix
··· 129 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; 130 131 preInstall = '' 132 - mv "$GOPATH/bin/forgejo.org" "$GOPATH/bin/gitea" 133 ''; 134 135 postInstall = '' ··· 137 cp -R ./{templates,options} ${frontend}/public $data 138 mkdir -p $out 139 cp -R ./options/locale $out/locale 140 - wrapProgram $out/bin/gitea \ 141 --prefix PATH : ${ 142 lib.makeBinPath [ 143 bash ··· 202 tebriel 203 ]; 204 broken = stdenv.hostPlatform.isDarwin; 205 - mainProgram = "gitea"; 206 }; 207 }
··· 129 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; 130 131 preInstall = '' 132 + mv "$GOPATH/bin/forgejo.org" "$GOPATH/bin/forgejo" 133 ''; 134 135 postInstall = '' ··· 137 cp -R ./{templates,options} ${frontend}/public $data 138 mkdir -p $out 139 cp -R ./options/locale $out/locale 140 + wrapProgram $out/bin/forgejo \ 141 --prefix PATH : ${ 142 lib.makeBinPath [ 143 bash ··· 202 tebriel 203 ]; 204 broken = stdenv.hostPlatform.isDarwin; 205 + mainProgram = "forgejo"; 206 }; 207 }