Downloads:

4,977

Downloads of v 1.4.0:

237

Last Update:

26 Apr 2018

Package Maintainer(s):

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea

This is not the latest version of Gitea available.

1.4.0 | Updated: 26 Apr 2018

Downloads:

4,977

Downloads of v 1.4.0:

237

Software Author(s):

  • Gitea

Tags:

gitea git

Gitea 1.4.0

This is not the latest version of Gitea available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade gitea -y --source="'STEP 3 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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure gitea installed
  win_chocolatey:
    name: gitea
    state: present
    version: 1.4.0
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'gitea' do
  action    :install
  version  '1.4.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: gitea,
    Version: 1.4.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller gitea
{
   Name     = 'gitea'
   Ensure   = 'Present'
   Version  = '1.4.0'
   Source   = 'STEP 3 URL'
}

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


package { 'gitea':
  provider => 'chocolatey',
  ensure   => '1.4.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install gitea version="1.4.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 05 Jul 2018.

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

$packageArgs = @{
  packageName   = $packageName

  url           = $url
  url64bit      = $url64

  softwareName  = 'Gitea'

  checksum      = '115e6a176f5e59b4b9f2a716a983270dd8dc22062d966c1d9e2897eccc5b02b0'
  checksumType  = 'sha256'
  checksum64    = '4f078ff87f19c78722cb5d286f52c897b3ee0d8f5f2a61f0587bf462ef13b711'
  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.

Version Downloads Last Updated Status
Gitea 1.12.4 141 Friday, September 4, 2020 Approved
Gitea 1.12.3 197 Tuesday, July 28, 2020 Approved
Gitea 1.12.2 141 Sunday, July 12, 2020 Approved
Gitea 1.12.1 144 Monday, June 22, 2020 Approved
Gitea 1.12.0 47 Thursday, June 18, 2020 Approved
Gitea 1.11.6 115 Wednesday, June 3, 2020 Approved
Gitea 1.11.3 263 Thursday, March 12, 2020 Approved
Gitea 1.11.1 99 Monday, February 17, 2020 Approved
Gitea 1.11.0 56 Thursday, February 13, 2020 Approved

  • BREAKING

    • Drop deprecated GOGS_WORK_DIR use (#2946)
    • Fix API status code for hook creation (#2814)
  • SECURITY

    • Escape branch name in dropdown menu (#3691) (#3692)
    • Refactor and simplify to correctly validate redirect to URL (#3674) (#3676)
    • Fix escaping changed title in comments (#3530) (#3534)
  • Escape search query (#3486) (#3488)

    • Sanitize logs for mirror sync (#3057)
  • FEATURE

    • Serve .patch and .diff for pull requests (#3305, #3293)
    • Add repo-sync-releases admin command (#3254)
    • Support default private when creating or migrating repository (#3239)
    • Writable deploy keys (closes #671) (#3225)
    • Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge (#3188)
    • Added progressbar for issues with checkboxes (#1146). (#3171)
    • Mention completion for issue editor. (#3136)
    • Add 'mark all read' option to notifications (#3097)
    • Git LFS lock api (#2938)
    • Add reactions to issues/PR and comments (#2856)
    • Add dingtalk webhook (#2777)
    • Responsive view (#2750)
  • BUGFIXES

    • Fix wiki inter-links with spaces (#3560) (#3632)
    • Fix query protected branch bug (#3563) (#3571)
    • Fix remove team member issue (#3566) (#3570)
    • Fix the protected branch panic issue (#3567) (#3569)
    • If Mirrors repository no content is fetched, updated time should not be changed (#3551) (#3565)
    • Bug fix for mirrored repository releases sorted (#3522) (#3555)
    • Add issue closed time column to fix activity closed issues list (#3537) (#3540)
  • Update markbates/goth library to support OAuth2 with new dropbox API (#3533) (#3539)

  • Fixes missing avatars in offline mode (#3471) (#3477)

  • Fix synchronization bug in repo indexer (#3455) (#3461)

  • Fix rendering of wiki page list if wiki repo contains other files (#3454) (#3463)

    • Fix webhook X-GitHub-* headers casing for better compatibility (#3429)
    • Add content type and doctype to requests made with go-get (#3426, #3423)
    • Fix SQL type error for webhooks (#3424)
    • Fix PR merge error (#3421)
    • Recognize more characters in crossreferenced repo name (#3413)
    • Fix MSSQL bug on org (#3405)
    • HTML escape all lines of the search result (#3402)
    • Change local copy origin url after repository rename (#3399)
    • Force-push to base repo's ref/pull/#/head (#3393)
    • Fix bug when a user delete but assigned on issue (#3318)
    • Use issue number/index instead of id for API URL. Fix #3297 (#3298)
    • Fix repo-transfer-and-team-repo-count bug (#3241)
    • Fix always-on SSL Mode checkbox in admin page (#3208)
    • Fix source download link when no code unit allowed (#3166)
    • Fix org owner cannot be removed if he is not in owner team (#3164)
    • Fix run web with -p push failed (#3154)
    • Fix gpg tmpl (#3153)
    • Fix SSH auth lfs locks (#3152)
    • Improvements for supporting UI Location (#3146)
    • Fix new pull request link (#3133)
    • Fix missing branch in release bug (#3108)
    • Allow adding collaborators with (fullname) (#3103)
    • Fix repo links (#3093)
    • fix lfs url refs + keep path upper/lowercase in db. (#3092)
    • Fix redis session failed (#3086)
    • Fix bugs in issue dashboard stats (#3073)
    • Fix avatar URLs (#3069)
    • Fix ref parsing in commit messages (#3067)
    • Fix issue list branch link broken (#3061)
    • sendmail: correct option to set envelope-sender (#3044)
    • Fix missing password length check when change password (#3039)
    • Fix git lfs path (#3016)
    • Fix API-Endpoint release (#3005) (#3012)
    • Set OpenID support on by default when installing new instance (#3010)
    • Various wiki bug fixes (#2996)
    • Fix go-get, src and raw urls to new scheme (#2978)
    • Fix error when add user has full name to team (#2973)
    • Fix memcache support when value is returned as string always (#2924)
  • ENHANCEMENT

    • Use GiteaServer as the user agent for http requests (#3404)
    • Delete indexer DB entries when (re)creating index (#3385)
    • Change how merged PR commit info are prepared (#3368)
    • Asynchronously populate the repo indexer (#3366)
    • Make the default action for the gitea executable that of running the webserver (#3331)
    • Templates for extra links in top navbar and repo tool tabs. (#3308)
    • Fixed asterisk based tasklist items #3295 (#3296)
    • Add more additional template snippets (#3286)
    • Open external tracker in blank window, consistently with wiki (#3227)
    • Fix repo links on user profile (#3197)
    • Enable emoji for wiki view (#3158)
    • Small improve on deleting attachements (#3145)
    • Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)
    • Default log level to Info without hardcoding it in installer (#3041)
    • Memory usage improvements (#3013)
    • Add fingerprint to ssh key endpoints. (#3009)
    • Improve memory usage when reaching diff limits (#2990)
    • Expandable commit bodies (#2980)
    • Update gitgraph.js to fix blurry commit graph on HiDPI screens (#2957)
    • Fix language names (#2955)
    • Remove render issue link (#2954)
    • Page parameter for repo search API (#2915)
    • Apply LANDING_PAGE config options for logged in users (#2894)
    • Enable admin to search by email (#2888)
    • Hide add key button if SSH is disabled (#2873)
    • Fix comment API paths (#2813)
    • Add an option to allow redirect of http port 80 to https. (#1928)
  • MISC

    • Fix organization profile on mobile devices (#3332)
    • Fix guide link for webhooks in repository settings (#3291) (#3292)
    • Enable Libravatar by default in new installations (#3287)
    • Improve suppressed diff boxes (#3193)
    • fix button heights on commits page (#3091)
    • Minor copy changes (#3074)
    • Sort repos in issues dashboard sidebar (#3072)
    • Remove box-shadow from UI, fix dashboard issue (#3065)
    • Adjust branch button size (#3063)
    • Fix misalignment issue in repo header (#3062)
    • Delete a user's public key via admin api (closes #3014) (#3059)
    • Dashboard: Fix line height problem in issue titles (#3054)
    • Remove duplicate "Max Diff Lines" from config view (#2987)
    • Drop unmaintained gogs migration script (#2947)
    • App restarts to quickly if it fails to start. (#2945)
    • Add owner to delete repo message (#2886)

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