Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE_TOPICS Validation #50

Open
ruchitinfushion opened this issue Sep 14, 2018 · 3 comments
Open

BE_TOPICS Validation #50

ruchitinfushion opened this issue Sep 14, 2018 · 3 comments

Comments

@ruchitinfushion
Copy link

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.

@mottosso
Copy link
Owner

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
Copy link
Owner

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

@ruchitinfushion
Copy link
Author

Seems like a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants