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:

20,318

Downloads of v 1.22.0:

118

Last Update:

04 Jul 2024

Package Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea

  • 1
  • 2
  • 3

1.22.0 | Updated: 04 Jul 2024

Downloads:

20,318

Downloads of v 1.22.0:

118

Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea 1.22.0

  • 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'" [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'" 
$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.0'
    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.0'
end

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


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

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


package { 'gitea':
  ensure   => '1.22.0',
  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 04 Jul 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.0/gitea-1.22.0-windows-4.0-386.exe'
$url64      = 'https://dl.gitea.com/gitea/1.22.0/gitea-1.22.0-windows-4.0-amd64.exe'

$packageArgs = @{
  packageName   = $packageName

  url           = $url
  url64bit      = $url64

  softwareName  = 'Gitea'

  checksum      = 'd83101cef05b55740e4ee263a201c974415e3536fefbd48d06aeccb308b3af55'
  checksumType  = 'sha256'
  checksum64    = '68f34dfd819aac0e98c331c15e0cad1afef23edd7db89842648794cd312839da'
  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.21.11 344 Sunday, April 21, 2024 Approved
Gitea 1.21.8 197 Thursday, March 14, 2024 Approved
Gitea 1.21.7 109 Thursday, February 29, 2024 Approved
Gitea 1.21.0 441 Tuesday, November 14, 2023 Approved
Gitea 1.20.4 332 Thursday, September 28, 2023 Approved
Gitea 1.20.2 299 Sunday, July 30, 2023 Approved
Gitea 1.20.0 116 Monday, July 17, 2023 Approved
Gitea 1.19.0 539 Monday, April 3, 2023 Approved
Gitea 1.18.5 323 Tuesday, February 21, 2023 Approved
Gitea 1.18.3 229 Monday, January 23, 2023 Approved
Gitea 1.18.2 76 Friday, January 20, 2023 Approved
Gitea 1.18.1 68 Tuesday, January 17, 2023 Approved
Gitea 1.18.0 140 Tuesday, January 3, 2023 Approved
Gitea 1.17.4 119 Thursday, December 22, 2022 Approved
Gitea 1.17.3 413 Tuesday, October 18, 2022 Approved
Gitea 1.17.1 456 Thursday, August 18, 2022 Approved
Gitea 1.17.0 169 Sunday, July 31, 2022 Approved
Gitea 1.16.8 529 Monday, May 16, 2022 Approved
Gitea 1.16.7 180 Monday, May 2, 2022 Approved
Gitea 1.16.6 141 Thursday, April 21, 2022 Approved
Gitea 1.16.5 257 Thursday, March 24, 2022 Approved
Gitea 1.16.4 135 Monday, March 14, 2022 Approved
Gitea 1.16.3 131 Thursday, March 3, 2022 Approved
Gitea 1.16.2 118 Thursday, February 24, 2022 Approved
Gitea 1.16.0 261 Monday, January 31, 2022 Approved
Gitea 1.15.10 217 Friday, January 14, 2022 Approved
Gitea 1.15.9 211 Thursday, December 30, 2021 Approved
Gitea 1.15.8 140 Thursday, December 23, 2021 Approved
Gitea 1.15.6 358 Monday, November 1, 2021 Approved
Gitea 1.15.4 221 Sunday, October 10, 2021 Approved
Gitea 1.15.3 150 Friday, September 24, 2021 Approved
Gitea 1.15.2 194 Friday, September 3, 2021 Approved
Gitea 1.15.0 184 Sunday, August 22, 2021 Approved
Gitea 1.14.6 206 Friday, August 6, 2021 Approved
Gitea 1.14.5 153 Saturday, July 24, 2021 Approved
Gitea 1.14.4 160 Wednesday, July 14, 2021 Approved
Gitea 1.14.3 196 Friday, June 18, 2021 Approved
Gitea 1.14.2 340 Monday, May 10, 2021 Approved
Gitea 1.14.0-rc2 152 Tuesday, March 23, 2021 Approved
Gitea 1.13.6 284 Wednesday, March 24, 2021 Approved
Gitea 1.13.5 120 Sunday, March 21, 2021 Approved
Gitea 1.13.4 126 Thursday, March 18, 2021 Approved
Gitea 1.13.3 179 Friday, March 5, 2021 Approved
Gitea 1.13.2 319 Thursday, February 4, 2021 Approved
Gitea 1.13.0 418 Wednesday, December 2, 2020 Approved
Gitea 1.12.5 478 Thursday, October 1, 2020 Approved
Gitea 1.12.4 332 Friday, September 4, 2020 Approved
Gitea 1.12.3 311 Tuesday, July 28, 2020 Approved
Gitea 1.12.2 273 Sunday, July 12, 2020 Approved
Gitea 1.12.1 276 Monday, June 22, 2020 Approved
Gitea 1.12.0 193 Thursday, June 18, 2020 Approved
Gitea 1.11.6 237 Wednesday, June 3, 2020 Approved
Gitea 1.11.3 396 Thursday, March 12, 2020 Approved
Gitea 1.11.1 261 Monday, February 17, 2020 Approved
Gitea 1.11.0 172 Thursday, February 13, 2020 Approved
Gitea 1.10.3 194 Wednesday, January 29, 2020 Approved
Gitea 1.10.2 241 Thursday, January 2, 2020 Approved
Gitea 1.10.1 236 Friday, December 6, 2019 Approved
Gitea 1.9.5 255 Thursday, October 31, 2019 Approved
Gitea 1.9.4 199 Thursday, October 10, 2019 Approved
Gitea 1.9.3 211 Thursday, September 12, 2019 Approved
Gitea 1.9.2 206 Friday, September 6, 2019 Approved
Gitea 1.8.2 338 Sunday, June 9, 2019 Approved
Gitea 1.8.1 253 Friday, May 17, 2019 Approved
Gitea 1.8.0 225 Friday, May 3, 2019 Approved
Gitea 1.7.5 250 Tuesday, April 2, 2019 Approved
Gitea 1.7.4 249 Wednesday, March 13, 2019 Approved
Gitea 1.7.0 245 Friday, January 25, 2019 Approved
Gitea 1.5.1 375 Monday, September 10, 2018 Approved
Gitea 1.4.0 402 Thursday, April 26, 2018 Approved
Gitea 1.3.3 320 Monday, March 19, 2018 Approved
Gitea 1.3.2 349 Sunday, January 21, 2018 Approved
Gitea 1.2.3 384 Saturday, November 11, 2017 Approved
Gitea 1.2.0 365 Friday, October 13, 2017 Approved
Gitea 1.1.4 370 Sunday, September 10, 2017 Approved
Gitea 1.1.3 391 Friday, August 25, 2017 Approved
Gitea 0.0.2 365 Sunday, August 13, 2017 Approved
Gitea 0.0.1 362 Sunday, September 10, 2017 Approved

This release stands as a monumental milestone in our development journey with a record-breaking incorporation of 1481 pull requests. It marks the most extensive update in Gitea's history, showcasing a plethora of new features and infrastructure improvements.
Noteworthy advancements in this release include the introduction of HTMX and Tailwind, signaling a strategic shift as we gradually phase out jquery and Fomantic UI. These changes reflect our commitment to embracing modern technologies and enhancing the user experience.
Key highlights of this release encompass significant changes categorized under BREAKING, FEATURES, ENHANCEMENTS, and PERFORMANCE, each contributing to a more robust and efficient Gitea platform.
Instances on Gitea Cloud will be automatically upgraded to this version during the specified maintenance window.

Known Issues

  • Gitea 1.22.0 fails to start when cache ADAPTER=memcache ("Init failed: cache: unknown adapter 'memcache'(forgot to import?)"), it has been fixed in 1.22-nightly.
  • When visiting some repositories, a 500 error occurs (admin could see error FindRecentlyPushedNewBranches), it has been fixed in 1.22-nightly.

BREAKING

  • Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) (#31020)
  • Remember log in for a month by default (#30150)
  • Breaking summary for template refactoring (#29395)
    • All custom templates need to follow these changes
  • Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662)
  • Make offline mode as default to not connect external avatar service by default (#28548)
  • Include public repos in the doer's dashboard for issue search (#28304)
  • Use restricted sanitizer for repository description (#28141)
  • Support storage base path as prefix (#27827)
  • Enhanced auth token / remember me (#27606)
  • Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419)
    • If you didn't see the new themes, please remove the [ui].THEMES config option from app.ini
  • Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 (#27337)

FEATURES

  • Allow everyone to read or write a wiki by a repo unit setting (#30495)
  • Use raw Wiki links for non-renderable Wiki files (#30273)
  • Render embedded code preview by permalink in markdown (#30234) (#30249)
  • Support repo code search without setting up an indexer (#29998)
  • Support pasting URLs over markdown text (#29566)
  • Allow to change primary email before account activation (#29412)
  • Customizable "Open with" applications for repository clone (#29320)
  • Allow options to disable user deletion from the interface on app.ini (#29275)
  • Extend issue template YAML engine (#29274)
  • Add support for linguist-detectable and linguist-documentation (#29267)
  • Implement code frequency graph (#29191)
  • Show commit status for releases (#29149)
  • Add user blocking (#29028)
  • Actions Artifacts v4 backend (#28965)
  • Add merge style fast-forward-only (#28954)
  • Retarget depending pulls when the parent branch is deleted (#28686)
  • Add global setting on how timestamps should be rendered (#28657)
  • Implement actions badge SVGs (#28102)
  • Add skip ci functionality (#28075)
  • Show latest commit for file (#28067)
  • Allow to sync tags from the admin dashboard (#28045)
  • Add Profile Readme for Organisations (#27955)
  • Implement contributors graph (#27882)
  • Artifact deletion in actions ui (#27172)
  • Add API routes to get runner registration token (#27144)
  • Add support for forking single branch (#25821)
  • Add support for sha256 repositories (#23894)
  • Add admin API route for managing user's badges (#23106)

ENHANCEMENTS

  • Make gitea webhooks openproject compatible (#28435) (#31081)
  • Support using label names when changing issue labels (#30943) (#30958)
  • Fix various problems around project board view (#30696) (#30902)
  • Improve context popup rendering (#30824) (#30829)
  • Allow to save empty comment (#30706)
  • Prevent allow/reject reviews on merged/closed PRs (#30686)
  • Initial support for colorblindness-friendly themes (#30625)
  • Some NuGet package enhancements (#30280) (#30324)
  • Markup color and font size fixes (#30282) (#30310)
  • Show 12 lines in markup code preview (#30255) (#30257)
  • Add [other].SHOW_FOOTER_POWERED_BY setting to hide Powered by (#30253)
  • Pulse page improvements (#30149)
  • Render code tags in commit messages (#30146)
  • Prevent re-review and dismiss review actions on closed and merged PRs (#30065)
  • Cancel previous runs of the same PR automatically (#29961)
  • Drag-and-drop improvements for projects and issue pins (#29875)
  • Add default board to new projects, remove uncategorized pseudo-board (#29874)
  • Prevent layout shift in <overflow-menu> items (#29831)
  • Add skip ci support for pull request title (#29774)
  • Add more stats tables (#29730)
  • Update API to return 'source_id' for users (#29718)
  • Determine fuzziness of bleve indexer by keyword length (#29706)
  • Expose fuzzy search for issues/pulls (#29701)
  • Put an edit file button on pull request files to allow a quick operation (#29697)
  • Fix action runner offline label padding (#29691)
  • Update allowed attachment types (#29688)
  • Completely style the webkit autofill (#29683)
  • Highlight archived labels (#29680)
  • Add a warning for disallowed email domains (#29658)
  • Set user's 24h preference from their current OS locale (#29651)
  • Add setting to disable user features when user login type is not plain (#29615)
  • Improve natural sort (#29611)
  • Make wiki default branch name changeable (#29603)
  • Unify search boxes (#29530)
  • Add support for API blob upload of release attachments (#29507)
  • Detect broken git hooks (#29494)
  • Sync branches to DB immediately when handling git hook calling (#29493)
  • Allow options to disable user GPG key configuration from the interface on app.ini (#29486)
  • Allow options to disable user SSH key configuration from the interface on app.ini (#29447)
  • Use relative links for commits, mentions, and issues in markdown (#29427)
  • Add <overflow-menu>, rename webcomponents (#29400)
  • Include resource state events in Gitlab downloads (#29382)
  • Properly migrate target branch change GitLab comment (#29340)
  • Recolor dark theme to blue shade (#29283)
  • Partially enable MSSQL case-sensitive collation support (#29238)
  • Auto-update the system status in the admin dashboard (#29163)
  • Integrate alpine noarch packages into other architectures index (#29137)
  • Document how the TOC election process works (#29135)
  • Tweak repo header (#29134)
  • Make blockquote border size less aggressive (#29124)
  • Downscale pasted PNG images based on metadata (#29123)
  • Show View at this point in history for every commit (#29122)
  • Add support for action artifact serve direct (#29120)
  • Change webhook-type in create-view (#29114)
  • Drop "@" from the email sender to avoid spam filters (#29109)
  • Allow non-admin users to delete review requests (#29057)
  • Improve user search display name (#29002)
  • Include username in email headers (#28981)
  • Show whether a PR is WIP inside popups (#28975)
  • Also match weakly validated ETags (#28957)
  • Support nuspec manifest download for Nuget packages (#28921)
  • Fix hardcoded GitHub icon used as migrated release avatar (#28910)
  • Propagate install_if and provider_priority to APKINDEX (#28899)
  • Add artifacts v4 JWT to job message and accept it (#28885)
  • Enable/disable owner and repo projects independently (#28805)
  • Add non-JS fallback for reaction tooltips (#28785)
  • Add the ability to see open and closed issues at the same time (#28757)
  • Move sign-in labels to be above inputs (#28753)
  • Display the latest sync time for pull mirrors on the repo page (#28712)
  • Show in Web UI if the file is vendored and generated (#28620)
  • Add orphaned topic consistency check (#28507)
  • Add branch protection setting for ignoring stale approvals (#28498)
  • Add option to set language in admin user view (#28449)
  • Fix incorrect run order of action jobs (#28367)
  • Add missing exclusive in advanced label options (#28322)
  • Added instance-level variables (#28115)
  • Add edit option for README.md (#28071)
  • Fix link to Code tab on wiki commits (#28041)
  • Allow to set explore page default sort (#27951)
  • Improve PR diff view on mobile (#27883)
  • Properly migrate automatic merge GitLab comments (#27873)
  • Display issue task list on project cards (#27865)
  • Add Index to pull_auto_merge.doer_id (#27811)
  • Fix display member unit in the menu bar if there are no hidden members in public org (#27795)
  • List all Debian package versions in Packages (#27786)
  • Allow pull requests Manually Merged option to be used by non-admins (#27780)
  • Only show diff file tree when more than one file changed (#27775)
  • Show placeholder email in privacy popup (#27770)
  • Revamp repo header (#27760)
  • Add must-change-password command line parameter (#27626)
  • Unify password changing and invalidate auth tokens (#27625)
  • Add border to file tree 'sub-items' and add padding to 'item-file' (#27593)
  • Add slow SQL query warning (#27545)
  • Pre-register OAuth application for tea (#27509)
  • Differentiate between push and pull mirror sync in progress (#27390)
  • Link to file from its history (#27354)
  • Add a shortcut to user's profile page to admin user details (#27299)
  • Doctor: delete action entries without existing user (#27292)
  • Show total TrackedTime on issue/pull/milestone lists (#26672)
  • Don't show the new pull request button when the page is not compare pull (#26431)
  • Add Hide/Show all checks button to commit status check (#26284)
  • Improvements of releases list and tags list (#25859)

PERFORMANCE

  • Fix package list performance (#30520) (#30616)
  • Add commit status summary table to reduce query from commit status table (#30223)
  • Refactor markup/csv: don't read all to memory (#29760)
  • Lazy load object format with command line and don't do it in OpenRepository (#29712)
  • Add cache for branch divergence on branch list page (#29577)
  • Do some performance optimization for issues list and view issue/pull (#29515)
  • Cache repository default branch commit status to reduce query on commit status table (#29444)
  • Use crypto/sha256 (#29386)
  • Some performance optimization on the dashboard and issues page (#29010)
  • Add combined index for issue_user.uid and issue_id (#28080)

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