You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/package/content
Bob Vandevliet 6e346f84c1
More specific and unique feed name for NuGet install command template. (#23889)
The default command to setup a NuGet registry from the command line is:
```
dotnet nuget add source --name Gitea --username your_username --password your_token <gitea-origin-url/>
```
The feed name `Gitea` is hard-coded into the command template, so each
registry will by default have the same feed name. I know templates can
be overridden using the `custom` folder. But in my opinion, it's a good
practice to make a slight change in the default template to make the
feed name more context specific:
```
dotnet nuget add source --name {{.PackageDescriptor.Owner.Name}} --username your_username --password your_token <gitea-origin-url/>
```
2 years ago
..
cargo.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
chef.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
composer.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
composer_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
conan.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
conda.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
container.tmpl Display image size for multiarch container images (#23821) 2 years ago
generic.tmpl fix br display for packages curls (#23737) 2 years ago
helm.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
maven.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
npm.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
npm_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
nuget.tmpl More specific and unique feed name for NuGet install command template. (#23889) 2 years ago
pub.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
pypi.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
rubygems.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago
rubygems_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
swift.tmpl Add Swift package registry (#22404) 2 years ago
vagrant.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2 years ago