gitea/templates/package/content
wxiaoguang de9bcd1d23
Avoid 500 panic error when uploading invalid maven package file (#31014)
PackageDescriptor.Metadata might be nil (and maybe not only for maven).
This is only a quick fix.

The new `if` block is written intentionally to avoid unnecessary
indenting to the existing code.
2024-05-20 06:44:16 +00:00
..
alpine.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
cargo.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
chef.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
composer.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
composer_dependencies.tmpl
conan.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
conda.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
container.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
cran.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
debian.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
generic.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
go.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
helm.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
maven.tmpl Avoid 500 panic error when uploading invalid maven package file (#31014) 2024-05-20 06:44:16 +00:00
npm.tmpl Add support for npm bundleDependencies (#30751) 2024-04-29 16:19:06 +08:00
npm_dependencies.tmpl
nuget.tmpl Some NuGet package enhancements (#30280) 2024-04-07 16:46:59 +00:00
pub.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
pypi.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
rpm.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
rubygems.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
rubygems_dependencies.tmpl
swift.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
vagrant.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00