vjekob / al-objid

Manage object IDs in multi-user environments with mind-boggling simplicity.
MIT License
29 stars 18 forks source link

Maintaining allocated numbers #34

Closed RadekZebrowski closed 1 year ago

RadekZebrowski commented 2 years ago

On the videos, where you showed how to use Ninja, we can see how easy is to allocate new id of the object. What about de-allocation? Let's consider some scenarios:

For now our plan, not perfect, would be: when creating stable new release - re-sync repo with id's to match master. But obviously allocations done in "work in progress" (in any branches not yet committed) will be lost and could cause overlapping...

Any suggestions how to handle this?

vjekob commented 2 years ago

This is one of the most important features in my TODO list already (from the beginning of Ninja, in fact). I have some ideas around how to make this as simple as possible.

These are (sub)features I have in mind:

Regarding your proposed workflow of resyncing when creating a stable new release, this is obviously a manual process that you can already do with auto-sync feature. I don't see how I could automate it beyond this, because "creating stable new release" is something very different for different teams.

RadekZebrowski commented 2 years ago

I made my comment about 'stable release' just to show that we can, with some limitation, handle the maintenance right now - so this is not super critical...

But the features you suggested above would be absolutely brilliant! That was exactly what I was hoping for :)

RadekZebrowski commented 2 years ago
  • Range Explorer will include object IDs as well, and you will be able to deallocate from there by right-clicking

When you will be developing this particular one could you show somehow differently (colors/font/etc) three types of allocations:

(****) this part could also be not reported at all, or potentially hidden by default - when we are talking about hundreds / thousands of objects already present in the solution - it will be not very helpful to see them...

RadekZebrowski commented 1 year ago

I think the latest changes do fulfill all the things I mentioned in my original email. I am happy to close this one - great job!