Rewrite fusiondirectory-insert-schema based on ldap-config-manager
Rewrite fusiondirectory-insert-schema based on ldap-config-manager
Perl tool ldap-schema-manager is replaced by PHP tool ldap-config-manager.
fusiondirectory-insert-schema should be rewritten to be based on ldap-config-manager but have an interface as close as possible to the previous one.
This means we need to add schema list support into ldap-config-manager which only accepts to insert schema one by one currently.
Link issues together to show that they're related. Learn more.
Activity
- bmortier changed milestone to %FusionDirectory 1.4
changed milestone to %FusionDirectory 1.4
- bmortier added PJ1802-0188 fusiondirectory-insert-schema labels
added PJ1802-0188 fusiondirectory-insert-schema labels
- bmortier created merge request !834 to address this issue
created merge request !834 to address this issue
By Côme Chilliet on 2020-11-26T15:06:04 (imported from GitLab)
- bmortier mentioned in merge request !834
mentioned in merge request !834
By Côme Chilliet on 2020-11-26T15:06:05 (imported from GitLab)
This is mostly done, the tool should work as well as before.
One exception is the
--options
parameter which is not supported anymore and cannot be supported in the same way. It should be replaced by options on how to contact/connect to the LDAP server but this should be done on ldap-config-manager first.@bmortier The CI is failing on manpage generation, which shows a problem: The man page was written as pod inside the perl code and it is not anymore. Where should this content be moved to, in which format? Is Markdown appropriate for manpage and easy to translate?
By Côme Chilliet on 2020-11-30T16:10:21 (imported from GitLab)
our tools should be documented in the official schema2ldif manual [https://fusiondirectory-user-manual.readthedocs.io/en/1.4/schema2ldif/index.html] i will look how to best do this
Cheers
By bmortier on 2020-11-30T16:10:21 (imported from GitLab)
schema2ldif is most likely gonna be deleted, or at least it will lose importance since ldap-config-manager does not rely on it.
I think the project should be renamed to ldap-config-manager.
Regarding documentation, of course we can document on readthedocs, but how do we handle manpages? Is it possible to build a manpage from a readthedocs page? (I guess so since readthedocs pages are rst documents)
By Côme Chilliet on 2020-12-01T08:14:39 (imported from GitLab)
schema2ldif is most likely gonna be deleted, or at least it will lose importance since ldap-config-manager does not rely on it.
i agree we should erase it if ldap-config-manager does what schema2ldif does
I think the project should be renamed to ldap-config-manager.
agreed
Regarding documentation, of course we can document on readthedocs, but how do we handle manpages? Is it possible to build a manpage from a readthedocs page? (I guess so since readthedocs pages are rst documents)
there is a target make man in sphinx so it should work
By bmortier on 2020-12-01T12:34:49 (imported from GitLab)
i agree we should erase it if ldap-config-manager does what schema2ldif does
To be clear:
ldap-config-manager
does not do whatschema2ldif
does, which is convertingmyschema.schema
tomyschema.ldif
. Whatldap-config-manager
can do is insertingmyschema.schema
, ormyschema.ldif
(both format are supported) intocn=config
.So,
schema2ldif
may still be useful for people which do not want to useldap-config-manager
and want to convert from.schema
to.ldif
before inserting withldapadd
or such. But that is not something we need anymore.By Côme Chilliet on 2020-12-07T13:59:57 (imported from GitLab)
- Please register or sign in to reply
- bmortier added 3h of time spent at 2020-11-30
added 3h of time spent at 2020-11-30
By Côme Chilliet on 2020-11-30T16:04:17 (imported from GitLab)
- bmortier added 30m of time spent at 2020-12-07
added 30m of time spent at 2020-12-07
By Côme Chilliet on 2020-12-07T16:02:19 (imported from GitLab)
Bind options were added to ldap-config-manager in https://gitlab.fusiondirectory.org/fusiondirectory/ldap-configuration-manager/-/issues/1, they should be added to fusiondirectory-insert-schema as well.
By Côme Chilliet on 2021-02-02T15:41:39 (imported from GitLab)
hello can you test the code in the mr and report if all the function we were having previously work or not
cheers
By bmortier on 2021-09-21T06:04:31 (imported from GitLab)
- bmortier added 2h of time spent at 2021-02-02
added 2h of time spent at 2021-02-02
By Côme Chilliet on 2021-02-02T15:41:39 (imported from GitLab)
- bmortier changed due date to September 07, 2021
changed due date to September 07, 2021
By bmortier on 2021-09-02T06:28:47 (imported from GitLab)
- bmortier added To Be Tested label
added To Be Tested label