Bug 14162

Summary: Instance creation information on YAML
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Command-line UtilitiesAssignee: Tomás Cohen Arazi <tomascohen>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, indradg, magnus, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12824
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Tomás Cohen Arazi 2015-05-06 17:51:11 UTC
It would be handy to have information about instance creation on a YAML file. It could serve for recreating an instance, for creating it, etc.

It would serve as an instance registry that could be used by the maintenance scripts to gather information too.

For example: if you choose to configure --zebra-lang fr on creation, and we had such a registry, we could be able to make the right decision on upgrades, to also populate the instance with the right files too. It is just an example of course.

Another example: everytime an entry is added to koha-conf.xml, we could have the information to re-create the koha-conf.xml file with the rigt options too.
Comment 1 Indranil Das Gupta 2015-05-14 19:06:39 UTC
(In reply to Tomás Cohen Arazi from comment #0)
> It would be handy to have information about instance creation on a YAML
> file. It could serve for recreating an instance, for creating it, etc.

Something on similar lines:

Bug 12824, comment 4 by Magnus

Bug 12824, comment 4 by Robin
Comment 2 Indranil Das Gupta 2015-05-14 19:07:33 UTC
(In reply to Indranil Das Gupta from comment #1)
> (In reply to Tomás Cohen Arazi from comment #0)
> > It would be handy to have information about instance creation on a YAML
> > file. It could serve for recreating an instance, for creating it, etc.
> 

That should read as

 Something on similar lines:
 
 Bug 12824, comment 0 by Magnus
 
 Bug 12824, comment 4 by Robin
Comment 3 Tomás Cohen Arazi 2015-05-14 19:26:52 UTC
(In reply to Indranil Das Gupta from comment #2)
> (In reply to Indranil Das Gupta from comment #1)
> > (In reply to Tomás Cohen Arazi from comment #0)
> > > It would be handy to have information about instance creation on a YAML
> > > file. It could serve for recreating an instance, for creating it, etc.
> > 
> 
> That should read as
> 
>  Something on similar lines:
>  
>  Bug 12824, comment 0 by Magnus
>  
>  Bug 12824, comment 4 by Robin

They are related, but talk about different things. Because a cli tool for manipulating the instance's koha-conf.xml file is one thing, and a registry of how instances were created is another one.
Comment 4 Indranil Das Gupta 2015-05-14 19:53:56 UTC
(In reply to Tomás Cohen Arazi from comment #3)
> (In reply to Indranil Das Gupta from comment #2)
<snipped> 
> They are related, but talk about different things. Because a cli tool for
> manipulating the instance's koha-conf.xml file is one thing, and a registry
> of how instances were created is another one.

You are right! So more like a YAML based "install log" that can cross-checked / replayed etc?
Comment 5 Tomás Cohen Arazi 2015-05-14 19:55:02 UTC
(In reply to Indranil Das Gupta from comment #4)
> (In reply to Tomás Cohen Arazi from comment #3)
> > (In reply to Indranil Das Gupta from comment #2)
> <snipped> 
> > They are related, but talk about different things. Because a cli tool for
> > manipulating the instance's koha-conf.xml file is one thing, and a registry
> > of how instances were created is another one.
> 
> You are right! So more like a YAML based "install log" that can
> cross-checked / replayed etc?

Yeah, so better upgrade path for packages too.