Bug 14162 - Instance creation information on YAML
Summary: Instance creation information on YAML
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Tomás Cohen Arazi
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 17:51 UTC by Tomás Cohen Arazi
Modified: 2021-11-30 06:14 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.