#215 ELAPI Enhance the substitution function (elapi_subst.c) to support alignement, padding etc.
Closed: Invalid None Opened 14 years ago by dpal.

Currently the substitution function supports only the following way to reference a property.
"%(property)". When processed the whole string will be replaced with the value of the property. The enhancement calls to support formats like:[[BR]]
"%5s(property)"[[BR]]
"%0.5(property)"[[BR]]
I do not have a clear picture of what should be the syntax and what kinds of specifiers we should support. It seems that it would be logical to support things like, padding, alignment, type conversion, case conversion etc. It also makes sense to keep it close to known syntax such as of printf() function.


Fields changed

summary: ELAPI Enhance the substitution function (elapi_sunst.c) to support alignement, padding etc. => ELAPI Enhance the substitution function (elapi_subst.c) to support alignement, padding etc.

This is post ELAPI 1.0 feature and low priority.

proposed: => 2.0

THE ISSUE IS MOVED INTO ELAPI TRAC INSTANCE.

resolution: => wontfix
status: new => closed

Metadata Update from @dpal:
- Issue assigned to dpal
- Issue set to the milestone: SSSD Patches welcome

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1257

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata