Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

14,768

Downloads of v 1.17.3:

383

Last Update:

18 Oct 2022

Package Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea

This is not the latest version of Gitea available.

  • 1
  • 2
  • 3

1.17.3 | Updated: 18 Oct 2022

Downloads:

14,768

Downloads of v 1.17.3:

383

Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea 1.17.3

This is not the latest version of Gitea available.

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

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


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

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


package { 'gitea':
  ensure   => '1.17.3',
  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 22 Oct 2022.

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.io/gitea/1.17.3/gitea-1.17.3-gogit-windows-4.0-386.exe'
$url64      = 'https://dl.gitea.io/gitea/1.17.3/gitea-1.17.3-gogit-windows-4.0-amd64.exe'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $packageName

  url           = $url
  url64bit      = $url64

  softwareName  = 'Gitea'

  checksum      = '6df3d9a4a52ab78900c7ebdaf1ccb947df4efa191016583de879f8d2b50126f2'
  checksumType  = 'sha256'
  checksum64    = '1f4f5046f6ad1ea0987918e2743053fa67add0700d0cf69616e665545cdf5695'
  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.18.2 45 Friday, January 20, 2023 Approved
Gitea 1.18.1 36 Tuesday, January 17, 2023 Approved
Gitea 1.18.0 106 Tuesday, January 3, 2023 Approved
Gitea 1.17.4 89 Thursday, December 22, 2022 Approved
Gitea 1.17.3 383 Tuesday, October 18, 2022 Approved
Gitea 1.17.1 420 Thursday, August 18, 2022 Approved
Gitea 1.17.0 137 Sunday, July 31, 2022 Approved
Gitea 1.16.8 496 Monday, May 16, 2022 Approved
Gitea 1.16.7 139 Monday, May 2, 2022 Approved
Gitea 1.16.6 111 Thursday, April 21, 2022 Approved
Gitea 1.16.5 212 Thursday, March 24, 2022 Approved
Gitea 1.16.4 99 Monday, March 14, 2022 Approved
Gitea 1.16.3 101 Thursday, March 3, 2022 Approved
Gitea 1.16.2 84 Thursday, February 24, 2022 Approved
Gitea 1.16.0 230 Monday, January 31, 2022 Approved
Gitea 1.15.10 183 Friday, January 14, 2022 Approved
Gitea 1.15.9 180 Thursday, December 30, 2021 Approved
Gitea 1.15.8 105 Thursday, December 23, 2021 Approved
Gitea 1.15.6 324 Monday, November 1, 2021 Approved
Gitea 1.15.4 187 Sunday, October 10, 2021 Approved
Gitea 1.15.3 116 Friday, September 24, 2021 Approved
Gitea 1.15.2 153 Friday, September 3, 2021 Approved
Gitea 1.15.0 154 Sunday, August 22, 2021 Approved
Gitea 1.14.6 180 Friday, August 6, 2021 Approved
Gitea 1.14.5 124 Saturday, July 24, 2021 Approved
Gitea 1.14.4 132 Wednesday, July 14, 2021 Approved
Gitea 1.14.3 161 Friday, June 18, 2021 Approved
Gitea 1.14.2 296 Monday, May 10, 2021 Approved
Gitea 1.14.0-rc2 117 Tuesday, March 23, 2021 Approved
Gitea 1.13.6 254 Wednesday, March 24, 2021 Approved
Gitea 1.13.5 79 Sunday, March 21, 2021 Approved
Gitea 1.13.4 99 Thursday, March 18, 2021 Approved
Gitea 1.13.3 142 Friday, March 5, 2021 Approved
Gitea 1.13.2 269 Thursday, February 4, 2021 Approved
Gitea 1.13.0 382 Wednesday, December 2, 2020 Approved
Gitea 1.12.5 441 Thursday, October 1, 2020 Approved
Gitea 1.12.4 259 Friday, September 4, 2020 Approved
Gitea 1.12.3 273 Tuesday, July 28, 2020 Approved
Gitea 1.12.2 238 Sunday, July 12, 2020 Approved
Gitea 1.12.1 240 Monday, June 22, 2020 Approved
Gitea 1.12.0 151 Thursday, June 18, 2020 Approved
Gitea 1.11.6 205 Wednesday, June 3, 2020 Approved
Gitea 1.11.3 355 Thursday, March 12, 2020 Approved
Gitea 1.11.1 214 Monday, February 17, 2020 Approved
Gitea 1.11.0 135 Thursday, February 13, 2020 Approved
Gitea 1.10.3 161 Wednesday, January 29, 2020 Approved
Gitea 1.10.2 202 Thursday, January 2, 2020 Approved
Gitea 1.10.1 197 Friday, December 6, 2019 Approved
Gitea 1.9.5 215 Thursday, October 31, 2019 Approved
Gitea 1.9.4 166 Thursday, October 10, 2019 Approved
Gitea 1.9.3 177 Thursday, September 12, 2019 Approved
Gitea 1.9.2 168 Friday, September 6, 2019 Approved
Gitea 1.8.2 290 Sunday, June 9, 2019 Approved
Gitea 1.8.1 213 Friday, May 17, 2019 Approved
Gitea 1.8.0 188 Friday, May 3, 2019 Approved
Gitea 1.7.5 220 Tuesday, April 2, 2019 Approved
Gitea 1.7.4 218 Wednesday, March 13, 2019 Approved
Gitea 1.7.0 211 Friday, January 25, 2019 Approved
Gitea 1.5.1 321 Monday, September 10, 2018 Approved
Gitea 1.4.0 358 Thursday, April 26, 2018 Approved
Gitea 1.3.3 272 Monday, March 19, 2018 Approved
Gitea 1.3.2 313 Sunday, January 21, 2018 Approved
Gitea 1.2.3 341 Saturday, November 11, 2017 Approved
Gitea 1.2.0 324 Friday, October 13, 2017 Approved
Gitea 1.1.4 321 Sunday, September 10, 2017 Approved
Gitea 1.1.3 343 Friday, August 25, 2017 Approved
Gitea 0.0.2 321 Sunday, August 13, 2017 Approved
Gitea 0.0.1 316 Sunday, September 10, 2017 Approved

  • SECURITY
    • Sanitize and Escape refs in git backend (#21464) (#21463)
    • Bump golang.org/x/text (#21412) (#21413)
    • Update bluemonday (#21281) (#21287)
  • ENHANCEMENTS
    • Fix empty container layer history and UI (#21251) (#21278)
    • Use en-US as fallback when using other default language (#21200) (#21256)
    • Make the vscode clone link respect transport protocol (#20557) (#21128)
  • BUGFIXES
    • Do DB update after merge in hammer context (#21401) (#21416)
    • Add Num{Issues,Pulls} stats checks (#21404) (#21414)
    • Stop logging CheckPath returns error: context canceled (#21064) (#21405)
    • Parse OAuth Authorization header when request omits client secret (#21351) (#21374)
    • Ignore port for loopback redirect URIs (#21293) (#21373)
    • Set SemverCompatible to false for Conan packages (#21275) (#21366)
    • Tag list should include draft releases with existing tags (#21263) (#21365)
    • Fix linked account translation (#21331) (#21334)
    • Make NuGet service index publicly accessible (#21242) (#21277)
    • Foreign ID conflicts if ID is 0 for each item (#21271) (#21272)
    • Use absolute links in feeds (#21229) (#21265)
    • Prevent invalid behavior for file reviewing when loading more files (#21230) (#21234)
    • Respect REQUIRE_SIGNIN_VIEW for packages (#20873) (#21232)
    • Treat git object mode 40755 as directory (#21195) (#21218)
    • Allow uppercase ASCII alphabet in PyPI package names (#21095) (#21217)
    • Fix limited user cannot view himself's profile (#21212)
    • Fix template bug of admin monitor (#21209)
    • Fix reaction of issues (#21185) (#21196)
    • Fix CSV diff for added/deleted files (#21189) (#21193)
    • Fix pagination limit parameter problem (#21111)
  • TESTING
    • Fix missing m.Run() in TestMain (#21341)
  • BUILD
    • Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239)

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