be icon indicating copy to clipboard operation
be copied to clipboard

BE_TOPICS Validation

Open ruchitinfushion opened this issue 7 years ago • 3 comments

Is there any way to validate "BE_Topics" ? for prevention of the creation of unwanted data.

For eg #Regex - Allow only certain department if "BE_BINDING"=asset asset: "{cwd}/{0}/assets/{1}/{2:modeling|lighting|rigging}/private/{user}" #Regex - Allow only 3 digit in shot entity sequence: "{cwd}/{0}/film/{1}/{2:^\d{3}}/{3}/private/{user}"

And is it ok to disable No development directory found. Create? [Y/n]: option in cli.py file? Because i'm doing folder ingestion via external python script, so if directory doesn't exists for relative "BE_Topics" then it means invalid input in my case.

ruchitinfushion avatar Sep 14 '18 08:09 ruchitinfushion

Sounds like two good ideas.

And is it ok to disable No development directory found. Create? [Y/n]: option in cli.py file?

Also sounds like a good idea, could you make a separate issue for this?

mottosso avatar Sep 14 '18 08:09 mottosso

How about validating it with a regex, via by setting BE_TOPICS_REGEX=my-regex?

mottosso avatar Sep 14 '18 08:09 mottosso

Seems like a good idea.

ruchitinfushion avatar Sep 14 '18 08:09 ruchitinfushion