[pkg-bacula-devel] [pkg-bacula-commits] [SCM] Bacula, a network backup, recovery and verification program branch, migrate-to-ucf, created. debian/5.0.3-1-189-gb6d6282

Alexander Golovko alexandro at ankalagon.ru
Thu Jun 7 12:23:09 UTC 2012


Hi!

At least last commit is a subject for discuss.

There is next trouble:
When we upgrade package from non-ucf version to ucf-version, even local 
admin didn't change config files, they differ from new configs, 
installed by package.
So we have two variants.
1. Allow ucf to ask user to resolve conflicts manually
2. Help ucf to detect, that old config was not changed and it can be 
replaced by new version.

I like second variant, but it realisation (last commit) seem ugly.
Maybe you have more accurate solution?


On Thu, 07 Jun 2012 12:02:48 +0000, Alexander Golovko wrote:
> The branch, migrate-to-ucf has been created
>         at  b6d62824118c68212e1ca2434480f47a9613b430 (commit)
>
> - Shortlog 
> ------------------------------------------------------------
> commit b6d62824118c68212e1ca2434480f47a9613b430
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Thu Jun 7 00:36:01 2012 +0400
>
>     Make first ucf use more silent
>
>     When we upgrade from non-ucf packages version, old configs differ
> from new and
>     ucf ask a question to user even if old configs was not changed 
> from dist.
>
>     Check if old configs was not change and silently replace them
> with new version
>
> commit 21c06e6bebf44dc1f11e50b6b19078a820bf1f4e
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Wed Jun 6 21:33:20 2012 +0400
>
>     manage bacula-traymonitor configs with ucf
>
> commit 47db81e0d30892cc340a59a780f63ad1e25eeb75
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Wed Jun 6 21:30:21 2012 +0400
>
>     manage bacula-console-qt configs with ucf
>
> commit 3162e288c4116fdb38bcf10478b577b9ab07401b
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Wed Jun 6 21:24:53 2012 +0400
>
>     manage bacula-console configs with ucf
>
> commit c00826522ad793e4fa514dd9fccda95b0c1a2488
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Wed Jun 6 14:52:39 2012 +0400
>
>     manage bacula-director configs with ucf
>
> commit 9e76cbd8df2a46d7088d709239b8664b87c7d4a2
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Wed Jun 6 13:22:13 2012 +0400
>
>     manage bacula-sd configs with ucf
>
> commit 5e6a771507717c6061e354bc662def89f4f3b258
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Tue Jun 5 19:13:43 2012 +0400
>
>     manage bacula-fd configs with ucf
>
> commit 47464207e57b75a288944ffa36559ea1b6cdc0df
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Tue Jun 5 19:11:25 2012 +0400
>
>     change template variables names
>
>     It's needed for use new substitute() function
>
>     @debian_hostname@ -> XXX_HOSTNAME_XXX
>     XXX_*PASSWORD_XXX -> XXX_*PASSWD_XXX
>
> commit bdf3bcb21ced4cf8573ad861caae2f372668438e
> Author: Alexander Golovko <alexandro at ankalagon.ru>
> Date:   Tue Jun 5 19:10:02 2012 +0400
>
>     Add functions for install config files with ucf
>
> 
> -----------------------------------------------------------------------

-- 
with best regards,
Alexander Golovko
email: alexandro at ankalagon.ru
xmpp: alexandro at ankalagon.ru



More information about the pkg-bacula-devel mailing list