0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 17:08:22 +01:00
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/>
```
2023-04-06 17:35:32 -04:00
..
cargo.tmpl
chef.tmpl
composer_dependencies.tmpl
composer.tmpl
conan.tmpl
conda.tmpl
container.tmpl
generic.tmpl
helm.tmpl
maven.tmpl
npm_dependencies.tmpl
npm.tmpl
nuget.tmpl More specific and unique feed name for NuGet install command template. (#23889) 2023-04-06 17:35:32 -04:00
pub.tmpl
pypi.tmpl
rubygems_dependencies.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl