Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

21,256

Downloads of v 1.22.1:

17

Last Update:

05 Sep 2024

Package Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea

This is not the latest version of Gitea available.

  • 1
  • 2
  • 3

1.22.1 | Updated: 05 Sep 2024

Downloads:

21,256

Downloads of v 1.22.1:

17

Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea 1.22.1

This is not the latest version of Gitea available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Gitea. The inclusion of Gitea trademark(s), if any, upon this webpage is solely to identify Gitea goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Gitea, run the following command from the command line or from PowerShell:

>

To upgrade Gitea, run the following command from the command line or from PowerShell:

>

To uninstall Gitea, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade gitea -y --source="'INTERNAL REPO URL'" --version="'1.22.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade gitea -y --source="'INTERNAL REPO URL'" --version="'1.22.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install gitea
  win_chocolatey:
    name: gitea
    version: '1.22.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'gitea' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.22.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller gitea
{
    Name     = "gitea"
    Version  = "1.22.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'gitea':
  ensure   => '1.22.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 08 Sep 2024.

Description

Gitea is a lightweight code hosting solution written in Go and published under the MIT license.


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop';

$packageName= 'gitea'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://dl.gitea.com/gitea/1.22.1/gitea-1.22.1-windows-4.0-386.exe'
$url64      = 'https://dl.gitea.com/gitea/1.22.1/gitea-1.22.1-windows-4.0-amd64.exe'

$packageArgs = @{
  packageName   = $packageName

  url           = $url
  url64bit      = $url64

  softwareName  = 'Gitea'

  checksum      = '864da9932896bdfa0b5ba9593d2d782768fa4c7f60676c247c3cccbb6e3e473c'
  checksumType  = 'sha256'
  checksum64    = 'a40d11c591a8f8fa486259f5fdeb2cba926009db9a61d61bdef43e0335209abd'
  checksumType64= 'sha256'

  fileFullPath  = "$toolsDir\gitea.exe"

  validExitCodes= @(0)
}

Get-ChocolateyWebFile @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Gitea 1.22.1 17 Thursday, September 5, 2024 Approved
Gitea 1.22.0 264 Thursday, July 4, 2024 Approved
Gitea 1.21.11 350 Sunday, April 21, 2024 Approved
Gitea 1.21.8 211 Thursday, March 14, 2024 Approved
Gitea 1.21.7 124 Thursday, February 29, 2024 Approved
Gitea 1.21.0 446 Tuesday, November 14, 2023 Approved
Gitea 1.20.4 341 Thursday, September 28, 2023 Approved
Gitea 1.20.2 304 Sunday, July 30, 2023 Approved
Gitea 1.20.0 120 Monday, July 17, 2023 Approved
Gitea 1.19.0 547 Monday, April 3, 2023 Approved
Gitea 1.18.5 330 Tuesday, February 21, 2023 Approved
Gitea 1.18.3 238 Monday, January 23, 2023 Approved
Gitea 1.18.2 84 Friday, January 20, 2023 Approved
Gitea 1.18.1 75 Tuesday, January 17, 2023 Approved
Gitea 1.18.0 143 Tuesday, January 3, 2023 Approved
Gitea 1.17.4 124 Thursday, December 22, 2022 Approved
Gitea 1.17.3 417 Tuesday, October 18, 2022 Approved
Gitea 1.17.1 464 Thursday, August 18, 2022 Approved
Gitea 1.17.0 182 Sunday, July 31, 2022 Approved
Gitea 1.16.8 541 Monday, May 16, 2022 Approved
Gitea 1.16.7 188 Monday, May 2, 2022 Approved
Gitea 1.16.6 147 Thursday, April 21, 2022 Approved
Gitea 1.16.5 271 Thursday, March 24, 2022 Approved
Gitea 1.16.4 148 Monday, March 14, 2022 Approved
Gitea 1.16.3 141 Thursday, March 3, 2022 Approved
Gitea 1.16.2 125 Thursday, February 24, 2022 Approved
Gitea 1.16.0 273 Monday, January 31, 2022 Approved
Gitea 1.15.10 225 Friday, January 14, 2022 Approved
Gitea 1.15.9 215 Thursday, December 30, 2021 Approved
Gitea 1.15.8 145 Thursday, December 23, 2021 Approved
Gitea 1.15.6 368 Monday, November 1, 2021 Approved
Gitea 1.15.4 231 Sunday, October 10, 2021 Approved
Gitea 1.15.3 167 Friday, September 24, 2021 Approved
Gitea 1.15.2 199 Friday, September 3, 2021 Approved
Gitea 1.15.0 195 Sunday, August 22, 2021 Approved
Gitea 1.14.6 216 Friday, August 6, 2021 Approved
Gitea 1.14.5 163 Saturday, July 24, 2021 Approved
Gitea 1.14.4 165 Wednesday, July 14, 2021 Approved
Gitea 1.14.3 203 Friday, June 18, 2021 Approved
Gitea 1.14.2 345 Monday, May 10, 2021 Approved
Gitea 1.14.0-rc2 159 Tuesday, March 23, 2021 Approved
Gitea 1.13.6 292 Wednesday, March 24, 2021 Approved
Gitea 1.13.5 133 Sunday, March 21, 2021 Approved
Gitea 1.13.4 130 Thursday, March 18, 2021 Approved
Gitea 1.13.3 186 Friday, March 5, 2021 Approved
Gitea 1.13.2 328 Thursday, February 4, 2021 Approved
Gitea 1.13.0 422 Wednesday, December 2, 2020 Approved
Gitea 1.12.5 488 Thursday, October 1, 2020 Approved
Gitea 1.12.4 350 Friday, September 4, 2020 Approved
Gitea 1.12.3 323 Tuesday, July 28, 2020 Approved
Gitea 1.12.2 284 Sunday, July 12, 2020 Approved
Gitea 1.12.1 285 Monday, June 22, 2020 Approved
Gitea 1.12.0 202 Thursday, June 18, 2020 Approved
Gitea 1.11.6 245 Wednesday, June 3, 2020 Approved
Gitea 1.11.3 401 Thursday, March 12, 2020 Approved
Gitea 1.11.1 265 Monday, February 17, 2020 Approved
Gitea 1.11.0 176 Thursday, February 13, 2020 Approved
Gitea 1.10.3 204 Wednesday, January 29, 2020 Approved
Gitea 1.10.2 250 Thursday, January 2, 2020 Approved
Gitea 1.10.1 241 Friday, December 6, 2019 Approved
Gitea 1.9.5 259 Thursday, October 31, 2019 Approved
Gitea 1.9.4 205 Thursday, October 10, 2019 Approved
Gitea 1.9.3 219 Thursday, September 12, 2019 Approved
Gitea 1.9.2 212 Friday, September 6, 2019 Approved
Gitea 1.8.2 346 Sunday, June 9, 2019 Approved
Gitea 1.8.1 262 Friday, May 17, 2019 Approved
Gitea 1.8.0 228 Friday, May 3, 2019 Approved
Gitea 1.7.5 256 Tuesday, April 2, 2019 Approved
Gitea 1.7.4 257 Wednesday, March 13, 2019 Approved
Gitea 1.7.0 249 Friday, January 25, 2019 Approved
Gitea 1.5.1 381 Monday, September 10, 2018 Approved
Gitea 1.4.0 412 Thursday, April 26, 2018 Approved
Gitea 1.3.3 333 Monday, March 19, 2018 Approved
Gitea 1.3.2 353 Sunday, January 21, 2018 Approved
Gitea 1.2.3 389 Saturday, November 11, 2017 Approved
Gitea 1.2.0 373 Friday, October 13, 2017 Approved
Gitea 1.1.4 376 Sunday, September 10, 2017 Approved
Gitea 1.1.3 400 Friday, August 25, 2017 Approved
Gitea 0.0.2 375 Sunday, August 13, 2017 Approved
Gitea 0.0.1 374 Sunday, September 10, 2017 Approved

  • SECURITY
    • Add replacement module for mholt/archiver (#31267) (#31270)
  • API
    • Fix missing images in editor preview due to wrong links (#31299) (#31393)
    • Fix duplicate sub-path for avatars (#31365) (#31368)
    • Reduce memory usage for chunked artifact uploads to MinIO (#31325) (#31338)
    • Remove sub-path from container registry realm (#31293) (#31300)
    • Fix NuGet Package API for $filter with Id equality (#31188) (#31242)
    • Add an immutable tarball link to archive download headers for Nix (#31139) (#31145)
    • Add missed return after ctx.ServerError (#31130) (#31133)
  • BUGFIXES
    • Fix avatar radius problem on the new issue page (#31506) (#31508)
    • Fix overflow menu flickering on mobile (#31484) (#31488)
    • Fix poor table column width due to breaking words (#31473) (#31477)
    • Support relative paths to videos from Wiki pages (#31061) (#31453)
    • Fix new issue/pr avatar (#31419) (#31424)
    • Increase max length of org team names from 30 to 255 characters (#31410) (#31421)
    • Fix line number width in code preview (#31307) (#31316)
    • Optimize runner-tags layout to enhance visual experience (#31258) (#31263)
    • Fix overflow on push notification (#31179) (#31238)
    • Fix overflow on notifications (#31178) (#31237)
    • Fix overflow in issue card (#31203) (#31225)
    • Split sanitizer functions and fine-tune some tests (#31192) (#31200)
    • use correct l10n string (#31487) (#31490)
    • Fix dropzone JS error when attachment is disabled (#31486)
    • Fix web notification icon not updated once you read all notifications (#31447) (#31466)
    • Switch to "Write" tab when edit comment again (#31445) (#31461)
    • Fix the link for .git-blame-ignore-revs bypass (#31432) (#31442)
    • Fix the wrong line number in the diff view page when expanded twice. (#31431) (#31440)
    • Fix labels and projects menu overflow on issue page (#31435) (#31439)
    • Fix Account Linking UpdateMigrationsByType (#31428) (#31434)
    • Fix markdown math brackets render problem (#31420) (#31430)
    • Fix rendered wiki page link (#31398) (#31407)
    • Fix natural sort (#31384) (#31394)
    • Allow downloading attachments of draft releases (#31369) (#31380)
    • Fix repo graph JS (#31377)
    • Fix incorrect localization explorer.go (#31348) (#31350)
    • Fix hash render end with colon (#31319) (#31346)
    • Fix line number widths (#31341) (#31343)
    • Fix navbar + menu flashing on page load (#31281) (#31342)
    • Fix adopt repository has empty object name in database (#31333) (#31335)
    • Delete legacy cookie before setting new cookie (#31306) (#31317)
    • Fix some URLs whose sub-path is missing (#31289) (#31292)
    • Fix admin oauth2 custom URL settings (#31246) (#31247)
    • Make pasted "img" tag has the same behavior as markdown image (#31235) (#31243)
    • Fix agit checkout command line hint & fix ShowMergeInstructions checking (#31219) (#31222)
    • Fix the possible migration failure on 286 with postgres 16 (#31209) (#31218)
    • Fix branch order (#31174) (#31193)
    • Fix markup preview (#31158) (#31166)
    • Fix push multiple branches error with tests (#31151) (#31153)
    • Fix API repository object format missed (#31118) (#31132)
    • Fix missing memcache import (#31105) (#31109)
    • Upgrade github.com/hashicorp/go-retryablehttp (#31499)
    • Fix double border in system status table (#31363) (#31401)
    • Fix bug filtering issues which have no project (#31337) (#31367)
    • Fix #31185 try fix lfs download from bitbucket failed (#31201) (#31329)
    • Add nix flake for dev shell (#30967) (#31310)
    • Fix and clean up ConfirmModal (#31283) (#31291)
    • Optimize repo-list layout to enhance visual experience (#31272) (#31276)
    • fixed the dropdown menu for the top New button to expand to the left (#31273) (#31275)
    • Fix Activity Page Contributors dropdown (#31264) (#31269)
    • fix: allow actions artifacts storage migration to complete succesfully (#31251) (#31257)
    • Make blockquote attention recognize more syntaxes (#31240) (#31250)
    • Remove .segment from .project-column (#31204) (#31239)
    • Ignore FindRecentlyPushedNewBranches err (#31164) (#31171)
    • Use vertical layout for multiple code expander buttons (#31122) (#31152)
    • Remove duplicate ProxyPreserveHost in Apache httpd doc (#31143) (#31147)
    • Improve mobile review ui (#31091) (#31136)
    • Fix DashboardRepoList margin (#31121) (#31128)
    • Update pip related commands for docker (#31106) (#31111)
      Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

This package has no dependencies.

Discussion for the Gitea Package

Ground Rules:

  • This discussion is only about Gitea and the Gitea package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Gitea, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus