0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 07:22:51 +01:00
gitea/templates/package
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
..
content More specific and unique feed name for NuGet install command template. (#23889) 2023-04-06 17:35:32 -04:00
metadata Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
shared Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
settings.tmpl Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
view.tmpl Display image size for multiarch container images (#23821) 2023-04-02 17:53:37 +08:00