You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is a brick layer ?
It's the number of the brick directory seprate by dot.
infra-ground/2-envs/1-production/3-database -> 1.2.1.3
TOTHINK
We can have multiple order of brick layer. So we have to think and choose one solution
be able to compare layer of different order 1.3 to 1.3.2.4.1 and 1.3 to 1.3.1 (prefered)
search the max order we have and replace 1.3 by 1.3.0.0
define a max order of 8 or 16 and replace 1.3 by 1.3.0.0.0.0.0.0
[] replace or not the ending 0 when you display
TODO:
a) Let room define their brick layer (one order)
b) At brick creation add the field layerNumber
c) Add a function to order a list according to brick layer
d) CreateInfra should modify the brick order
It should be all : the other brick comparison shouldn't change as it will still be based on the abitrary right brick order defined by createInfra.
Check if it changes something in the algorythme of functions that search dependencies and linked in bricks.
To don't do: we want to keep the brick unit. It's less agile but we can't know what is the layer of brick in other room or in other super brick.
If we want to keep agility we can say that exeiac find its own order without regarding directory number. And then check if the directory order is valid.
arthur91f
changed the title
Give layer number to brick to define their precedence
Choose refacto of brick precedence
Jun 25, 2023
We have to choose an algo for brick deploying order:
Today we have choose one but I challenge that vision:
The problem is that we have to choose between
The text was updated successfully, but these errors were encountered: