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!

    Debian package replication based on hash values

    Scheduled Pinned Locked Moved Support
    3 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.
    • F Offline
      frei_zs
      last edited by

      Hey Team,

      when developing and testing Debian packages, I sometimes do not increase the version of the package for testing as this sometimes unneccessarily makes version increments higher than needed.

      Our internal repo is replicated to an external repo from which most machines download their packages.

      I stumbled accross the issue, that the package is uploaded by me to the internal repo, but it is not getting replicated to the external one, if I do not increase the version.

      Can the replication be extended to check for a different timestamp / hash value, so packages will be replicated even if their version is the same, but the timestamp is newer, the hash value has changed?

      Many thanks!
      Frank

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @frei_zs
        last edited by

        Hi @frei_zs ,

        Replication uses the package file's hash value, so "new" package files should be transferred when the files are updated. I know a lot of users rely on this behavior, including us every now and then. Debian is a little different than most package feeds because of how the component part works, but it should be the same.

        This should be relatively easy to test/verify:

        1. Create two two packages (A-1.0.deb, A-1.1.deb)
        2. Add a dummy file to the A-1.0.deb archive, save it as alt-A-1.0.deb
        3. Create a new Debian2 feed and upload A-1.0, A-1.1; verify feed has two packages
        4. Upload alternate A-1.0 file; download the package and verify it's modified and feed has two packages
        5. Replicate to a new Debian2 feed; both packages should replicate
        6. Upload the original A-1.0 file, and it should replicate within a couple minutes
        7. Upload the alt-A-1.0 file, and it should replicate within a couple minutes

        If you can reproduce this on a new feed configuration, maybe it's something to do with the package files; can you send them to us? Then we will try to rperoduce in a debugging environment.

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 0
        • F Offline
          frei_zs
          last edited by

          Hey Alana,

          thank you very much. Maybe this is some issue with our setup then. I will further check and investigate on our side first. :)

          Best,
          Frank

          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