regex type should be dropped

Bug #837710 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Undecided
Gustavo Niemeyer

Bug Description

There are issues with the current regex type:

1) The type of the value is not a regex, it's a string. regex is what
we use to validate the actual value. Once we reintroduce the feature,
"validator" should be a field of the "string" type.

2) It's currently binding the metadata of Ensemble to the Python
language. Python is the only language with this particular format for
regexes, and it's a wrong choice to be binding it that way. Once we
reintroduce something like this, it'd be better to have the format
being a more widely spread one, such as POSIX extended or similar.

With those in mind, I suggest dropping it for now, and when we bring
it back we can simply add a new "validator" field to the "string"
type instead.

Related branches

Changed in ensemble:
status: New → In Progress
assignee: nobody → Gustavo Niemeyer (niemeyer)
milestone: none → eureka
Changed in ensemble:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.