afs commented on issue #2753:
URL: https://github.com/apache/jena/issues/2753#issuecomment-2474354700

   @rvesse -- I'm working on a PR with material taken from #2773 that focuses 
on just a customized command line. 
   
   I think there needs to more steps in the customization process 
   
   * add custom arguments
   * process arguments to get any flags and arguments - this happens after the 
standard arguments have filled `ServerConfig`
   * after the server configuration has been setup before building starts - 
this can react to the configuration model before the build process uses it.
   
   `ServerConfig` becomes public (it is just a mutable record) and now has both 
the file name from `--config` and also a model initialized to null. At the 
start of building  and there no model (normal case), then the filename is read 
as RDF. A customizer can get the file name, and itself set the configuration 
model.
   
   * The configuration file name can be checked before use (e.g. either an 
allow-list or a deny-list implemented)
   * `--config=custom.yaml` can be made to work, as well as `--yaml-config`. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to