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:

18,949

Downloads of v 1.7.0:

233

Last Update:

25 Jan 2019

Package Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea

This is not the latest version of Gitea available.

  • 1
  • 2
  • 3

1.7.0 | Updated: 25 Jan 2019

Downloads:

18,949

Downloads of v 1.7.0:

233

Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea 1.7.0

This is not the latest version of Gitea available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

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

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


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

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


package { 'gitea':
  ensure   => '1.7.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 25 Feb 2019.

Description

Gitea is a community managed fork of Gogs, 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.7.0/gitea-1.7.0-windows-4.0-386.exe'
$url64      = 'https://dl.gitea.io/gitea/1.7.0/gitea-1.7.0-windows-4.0-amd64.exe'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName   = $packageName

  url           = $url
  url64bit      = $url64

  softwareName  = 'Gitea'

  checksum      = '66c920fa737c76f2c02ad70df300a6d69d1230221fd3ab118766fdba6bb233f1'
  checksumType  = 'sha256'
  checksum64    = '86a76dbd237e03aff314e975d776fb4d57dc20c64bff1d69f8a1e476e27a0801'
  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.7 96 Thursday, February 29, 2024 Approved
Gitea 1.21.0 430 Tuesday, November 14, 2023 Approved
Gitea 1.20.4 325 Thursday, September 28, 2023 Approved
Gitea 1.20.2 291 Sunday, July 30, 2023 Approved
Gitea 1.20.0 109 Monday, July 17, 2023 Approved
Gitea 1.19.0 528 Monday, April 3, 2023 Approved
Gitea 1.18.5 313 Tuesday, February 21, 2023 Approved
Gitea 1.18.3 214 Monday, January 23, 2023 Approved
Gitea 1.18.2 67 Friday, January 20, 2023 Approved
Gitea 1.18.1 61 Tuesday, January 17, 2023 Approved
Gitea 1.18.0 131 Tuesday, January 3, 2023 Approved
Gitea 1.17.4 112 Thursday, December 22, 2022 Approved
Gitea 1.17.3 409 Tuesday, October 18, 2022 Approved
Gitea 1.17.1 450 Thursday, August 18, 2022 Approved
Gitea 1.17.0 159 Sunday, July 31, 2022 Approved
Gitea 1.16.8 519 Monday, May 16, 2022 Approved
Gitea 1.16.7 168 Monday, May 2, 2022 Approved
Gitea 1.16.6 132 Thursday, April 21, 2022 Approved
Gitea 1.16.5 247 Thursday, March 24, 2022 Approved
Gitea 1.16.4 127 Monday, March 14, 2022 Approved
Gitea 1.16.3 121 Thursday, March 3, 2022 Approved
Gitea 1.16.2 107 Thursday, February 24, 2022 Approved
Gitea 1.16.0 252 Monday, January 31, 2022 Approved
Gitea 1.15.10 206 Friday, January 14, 2022 Approved
Gitea 1.15.9 203 Thursday, December 30, 2021 Approved
Gitea 1.15.8 131 Thursday, December 23, 2021 Approved
Gitea 1.15.6 347 Monday, November 1, 2021 Approved
Gitea 1.15.4 210 Sunday, October 10, 2021 Approved
Gitea 1.15.3 139 Friday, September 24, 2021 Approved
Gitea 1.15.2 183 Friday, September 3, 2021 Approved
Gitea 1.15.0 177 Sunday, August 22, 2021 Approved
Gitea 1.14.6 199 Friday, August 6, 2021 Approved
Gitea 1.14.5 143 Saturday, July 24, 2021 Approved
Gitea 1.14.4 152 Wednesday, July 14, 2021 Approved
Gitea 1.14.3 188 Friday, June 18, 2021 Approved
Gitea 1.14.2 332 Monday, May 10, 2021 Approved
Gitea 1.14.0-rc2 140 Tuesday, March 23, 2021 Approved
Gitea 1.13.6 275 Wednesday, March 24, 2021 Approved
Gitea 1.13.5 109 Sunday, March 21, 2021 Approved
Gitea 1.13.4 116 Thursday, March 18, 2021 Approved
Gitea 1.13.3 169 Friday, March 5, 2021 Approved
Gitea 1.13.2 306 Thursday, February 4, 2021 Approved
Gitea 1.13.0 407 Wednesday, December 2, 2020 Approved
Gitea 1.12.5 466 Thursday, October 1, 2020 Approved
Gitea 1.12.4 315 Friday, September 4, 2020 Approved
Gitea 1.12.3 303 Tuesday, July 28, 2020 Approved
Gitea 1.12.2 259 Sunday, July 12, 2020 Approved
Gitea 1.12.1 267 Monday, June 22, 2020 Approved
Gitea 1.12.0 178 Thursday, June 18, 2020 Approved
Gitea 1.11.6 228 Wednesday, June 3, 2020 Approved
Gitea 1.11.3 384 Thursday, March 12, 2020 Approved
Gitea 1.11.1 248 Monday, February 17, 2020 Approved
Gitea 1.11.0 161 Thursday, February 13, 2020 Approved
Gitea 1.10.3 187 Wednesday, January 29, 2020 Approved
Gitea 1.10.2 232 Thursday, January 2, 2020 Approved
Gitea 1.10.1 227 Friday, December 6, 2019 Approved
Gitea 1.9.5 246 Thursday, October 31, 2019 Approved
Gitea 1.9.4 189 Thursday, October 10, 2019 Approved
Gitea 1.9.3 199 Thursday, September 12, 2019 Approved
Gitea 1.9.2 192 Friday, September 6, 2019 Approved
Gitea 1.8.2 323 Sunday, June 9, 2019 Approved
Gitea 1.8.1 240 Friday, May 17, 2019 Approved
Gitea 1.8.0 213 Friday, May 3, 2019 Approved
Gitea 1.7.5 240 Tuesday, April 2, 2019 Approved
Gitea 1.7.4 240 Wednesday, March 13, 2019 Approved
Gitea 1.7.0 233 Friday, January 25, 2019 Approved
Gitea 1.5.1 356 Monday, September 10, 2018 Approved
Gitea 1.4.0 389 Thursday, April 26, 2018 Approved
Gitea 1.3.3 304 Monday, March 19, 2018 Approved
Gitea 1.3.2 339 Sunday, January 21, 2018 Approved
Gitea 1.2.3 375 Saturday, November 11, 2017 Approved
Gitea 1.2.0 356 Friday, October 13, 2017 Approved
Gitea 1.1.4 355 Sunday, September 10, 2017 Approved
Gitea 1.1.3 377 Friday, August 25, 2017 Approved
Gitea 0.0.2 351 Sunday, August 13, 2017 Approved
Gitea 0.0.1 352 Sunday, September 10, 2017 Approved

1.7.0 - 2019-01-22

  • SECURITY
    • Do not display the raw OpenID error in the UI (#5705) (#5712)
    • When redirecting clean the path to avoid redirecting to external site (#5669) (#5679)
    • Prevent DeleteFilePost doing arbitrary deletion (#5631)
  • BREAKING
    • Restrict permission check on repositories and fix some problems (#5314)
    • Show only opened milestones on issues page milestone filter (#5051)
  • FEATURE
    • Implement git refs API for listing references (branches, tags and other) (#5354)
    • Approvals at Branch Protection (#5350)
    • Add raw blob endpoint to get objects by SHA ID (#5334)
    • Add api for user to create org (#5268)
    • Create AuthorizedKeysCommand (#5236)
    • User action heatmap (#5131)
    • Refactor heatmap to vue component (#5401)
    • Webhook for Pull Request approval/rejection (#5027)
    • Add command for migrating database (#4954)
    • Search keyword by splitting provided values by , (#4939)
    • Create Progressive Web App (#4730)
    • Give user a link to create PR after push (#4716)
    • Add rebase with merge commit merge style (#3844) (#4052)
  • BUGFIXES
    • Disallow empty titles (#5785) (#5794)
    • Fix sqlite deadlock when assigning to a PR (#5640) (#5642)
    • Don't close issues via commits on non-default branch. (#5622) (#5643)
    • Fix commit page showing status for current default branch (#5650) (#5653)
    • Only count users own actions for heatmap contributions (#5647) (#5655)
    • Update xorm to fix issue postgresql dumping issues (#5680) (#5692)
    • Use correct value for "MSpan Structures Obtained" (#5706) (#5716)
    • Fix bug on modifying sshd username (#5624)
    • Delete tags in mirror which are removed for original repo. (#5609)
    • Fix wrong text getting saved on editing second comment on an issue. (#5608)
    • Fix nil pointer when adding a due date (#5587)
    • Fix type mismatch of format string (#5574)
    • Fix bug on upload file name (#5571)
    • Issue is not overdue when it is on the same date #5566 (#5568)
    • Fix indexer reindex bug when gitea restart (#5563)
    • Fix table name typo on SQL (#5562)
    • Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion (#5557)
    • Fix makefile generate buildstep (#5556)
    • Fix nil pointer base branch bug (#5555)
    • Fix permission check on api create org (#5523)
    • Fix detect force push failure on deletion of protected branches (#5522)
    • Fix approvals limitation (#5521)
    • Fix bug when a read perm user to edit his issue (#5516)
    • Fix adding reaction fail for read permission user (#5515)
    • Fixing MSSQL timestamp type (#5511)
    • Fix forgot deletion of notification when delete repository (#5506)
    • Fix empty wiki (#5504)
    • Fix clone wiki failed via ssh (#5503)
    • Fix code review on mssql (#5502)
    • Fix lfs version check warning log when using ssh protocol (#5501)
    • Fix topic name length on database (#5493)
    • Ensure that the closed_at is set for closed issues (#5449)
    • Admin should be able to delete repos via the API even if he is not a member of the organization (#5443)
    • Word-Break the WebHook url to prevent a ui-break (#5432)
    • Fix forgot removed records when deleting user (#5429)
    • Fix repository deletion when there is large number of issues in it (#5426)
    • Fix heatmap colors for Chrome/Safari (#5421)
    • Fix password variable shadowing (#5405)
    • Fix dependent issue searching when gitea is run in subpath (#5392)
    • Don't force a password change for the admin user when creating an account via cli (#5391)
    • API: '/orgs/:org/repos': return private repos with read access (#5383)
    • Don't send assign webhooks when creating issue (#5365)
    • Removing Labels via EditPullRequest API (#5348)
    • Migration fixes for gogs (0.11.66) to gitea (1.6.0) #5318 (#5341)
    • Fix bug when users have serval teams with different units on different repositories (#5307)
    • Fix U2F if gitea is configured in subpath (#5302)
    • Fix file edit change preview functionality (#5300)
    • Update gitignore list (#5258)
    • Fixed heatmap not working in mssql (#5248)
    • Fixed wrong api request url for instances running in subfolders (#5247)
    • Fix compatibility heatmap with mysql 8 (#5232)
    • Fix data race on migrate repository (#5224)
    • Fix sqlite and mssql lock (#5214)
    • Fix sqlite lock (#5210)
    • Fix: Accept web-command cli flags if web-command is commited (#5200)
    • Fix: Add secret to all webhook's payload where it has been missing (#5199)
    • Fix race on updatesize (#5190)
    • Fix create team, update team missing units (#5188)
    • Fix sqlite lock (#5184 & #5176)
    • Fix showing pull request link when delete a branch (#5166)
    • Fix JSON result of empty array in heatmap data array (#5154)
    • Update build tags for sqlite_unlock notify (#5144)
    • This commit will reduce join star, repo_topic, topic tables on repo search, so that fix extra columns problem on mssql (#5136)
    • Fix deadlock when sqlite (#5118)
    • Add comment replies (#5104)
    • Fix home page template regression (#5102)
    • Fix regex to support optional end line of old section in diff hunk (#5096)
    • LDAP via simple auth separate bind user and search base (#5055)
    • Fix markdown image with link (#4675)
    • Fix to 3819 - Filtering issues by tags on main screen issues (#3824)
  • ENHANCEMENT
    • Delete organization endpoint added (#5601)
    • Update Licenses (#5558)
    • Support reverse proxy providing email (#5554)
    • Add git protocol v2 support via SSH on Docker image (#5520)
    • Add tests for api user orgs (#5494)
    • Allow link verification for services like Mastodon (#5481)
    • Improve team members and repositories settings UI (#5457)
    • Remove the required class from optional ssh port in installation page (#5428)
    • Explicitly disable Git credential helper (#5367)
    • Setting Labels via EditPullRequest API (#5347)
    • Implement pasting image from clipboard for browsers that supports that (#5317)
    • Milestone issues and pull requests (#5293)
    • Support envs on external render commands (#5278)
    • Add option to disable automatic mirror syncing. (#5242)
    • Remove unused db init on commands serv, update, hooks (#5225)
    • Serve audio files using HTML5 audio tag (#5221)
    • Pass link prefixes to external markup parsers (#5201)
    • Add AutoHead functionality. (#5186)
    • Fix emojis not showing in commit messages (#5168)
    • Block registration based on email domain (#5157)
    • Update vendor/go-sqlite3 (#5133 & #5162)
    • Update x/net lib (#5169)
    • Show review summary in pull requests (#5132)
    • Use type switch (#5122)
    • Remove duplicated if bodies (#5121)
    • Remove check for negative length (#5120)
    • Make switch more clear (#5119)
    • Use named const instead of a raw string (#5115)
    • Fix issue where ecdsa and other key types are not synced from LDAP (#5092) (#5094)
    • Refactor: err != nil check, just return error instead (#5093)
    • Add notification interface and refactor UI notifications (#5085)
    • Use APP_NAME on home page (#5048)
    • Explicitly decide whether to use TLS in mailer's configuration (#5024)
    • Generate random password (#5023)
    • UX of link account (Step 1) (#5006)
    • Make sure argsSet verifies string isn't empty too (#4980)
    • Improve performance of dashboard (#4977)
    • Keys API changes (#4960)
    • Add must-change-password flag to cli for creating a user (#4955)
    • Use native go method to get current user rather than environment variable (#4930)
    • Make gitea serv use api/internal (#4886)
    • Add support for search by uid (#4876)
    • Allow to add organization members as collaborators on organization owned repositories (#4748)
  • TESTING
    • Kill testing processes if the test takes too long (#5174)
    • Update outdated Go toolchain version for .drone.yml (#5146)
    • Increase the retry limit to 20 times and the interval to 200ms (#5134)
    • Retry test-fixtures loading in case of transaction rollback (#5125)
    • Added test environment for mssql (#4282)
  • BUILD
    • Replace lint to revive (#5422)
    • Update golang version in Dockerfile (#5246)
  • DOCS
    • Typo in routers/api/v1/org/org.go fixed. (#5598)
    • Update the docs for sqlite_unlock_notify (#5145)
    • CN translation of docs part (#5049)
    • Kubernetes deployment file (#5046)
  • MISC
    • Upgrade alpine to 3.8 (#5423)
    • Git-Trees API (#5403)
    • Only chown directories during docker setup if necessary. Fix #4425 (#5064)

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