Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Duplicate commits result in overwriting the file
-
I already have a package naming "AAA-1.0.0.1.nupkg" on the server,When i upload it again ,the package will be overwritten ,How do you prevent uploading the same version of a package without overwriting an existing package on the server.
-
Hi @huomm23_2930,
In the Basic and Enterprise versions of ProGet, you can simply use the publish role on the users you don't want to have the overwrite permissions on, but in the free version, you can restrict the Administrator role from being able to overwrite your packages. To do this, you will need to perform the following steps:
- Navigate to Administration > Security > Tasks tab
- Click the Customize Tasks button
- Click Administrator in the list
- Uncheck Overwrite package in the Feeds section
- Click Save
That should prevent your packages from being overwritten.
Please let me know if this works out for you!
Thanks,
Rich -
Thanks,But follow your step,I still can't prevent the package from being overwritten,I used the paket.exe tool to upload the package,And A key is created as the administrator,Does it have anything to do with the setting of this key?
-
Hi @rhessinger
Thanks for your guidance,i am solved it now . -
Hi @huomm23_2930 ,
I'm glad to hear that worked for you! Thanks for giving me an update.
Thanks,
Rich
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login