Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 10 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      huomm23_2930
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        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:

        1. Navigate to Administration > Security > Tasks tab
        2. Click the Customize Tasks button
        3. Click Administrator in the list
        4. Uncheck Overwrite package in the Feeds section
        5. Click Save

        That should prevent your packages from being overwritten.

        Please let me know if this works out for you!

        Thanks,
        Rich

        Products Engineer, Inedo

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          huomm23_2930
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • H Offline
            huomm23_2930 @rhessinger
            last edited by

            Hi @rhessinger
            Thanks for your guidance,i am solved it now .

            1 Reply Last reply Reply Quote 0
            • rhessingerR Offline
              rhessinger inedo-engineer
              last edited by

              Hi @huomm23_2930 ,

              I'm glad to hear that worked for you! Thanks for giving me an update.

              Thanks,
              Rich

              Products Engineer, Inedo

              1 Reply Last reply Reply Quote 0

              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
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation