Git Product home page Git Product logo

Comments (2)

audax avatar audax commented on August 14, 2024

Resolved by Qabel/qabel-core#631
The prefix in the identity is now just a preference and a fallback to other prefixes of the account is implemented.

from qabel.github.io.

julianseeger avatar julianseeger commented on August 14, 2024

FTR.: the algorithm proposed by @roeslpa is contained:

  • prefer main prefix (prefix known by the local identity, that is assign to the current account)
  • use first prefix that exists locally and remote and has an index / root
  • use first prefix that exists remote and has an index / root
  • use first prefix that exists locally and remote (and has no index / root => create index)
  • create new prefix (and index)

If we take the default exception- and misuesfree usecase, the first two options take the same account. The "main prefix" should have been chosen by exactly that algorithm and if the identity is not broken, the second option will either contain that prefix or none (and thus default to the first one from the server containing the (index) meta file.

While looking at this, the forth option sounds like it could become problematic and could lead to prefixes used multiple times ... and break as soon as some FSCK is implemented ... we should check that pre Qabel/qabel-core#636

from qabel.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.