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 Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
chef.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
composer.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
composer_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
conan.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
conda.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
container.tmpl Display image size for multiarch container images (#23821) 2023-04-02 17:53:37 +08:00
generic.tmpl fix br display for packages curls (#23737) 2023-03-28 01:18:01 -04:00
helm.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
maven.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
npm.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
npm_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
nuget.tmpl More specific and unique feed name for NuGet install command template. (#23889) 2023-04-06 17:35:32 -04:00
pub.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
pypi.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
rubygems.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
rubygems_dependencies.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
swift.tmpl Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
vagrant.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00