On Wed, Apr 22 2009, Jörg Sommer wrote:
> I've changed the wrapper of ucf to do nothing and pass full control
> over to ucf until enable_ucf_wrapper is set to yes in
> /etc/etcgit.conf. This isn't set by default, so after installation of
> the package the user has to enable the wrapper manually.
Hi Manoj,
Manoj Srivastava wrote:
> On Sun, Feb 22 2009, Jörg Sommer wrote:
>
>> Manoj Srivastava wrote:
>>> On Sun, Feb 22 2009, Jörg Sommer wrote:
Manoj Srivastava wrote:
> On Sat, Feb 21 2009, Jörg Sommer wrote:
>>
>> Right, but when I hook into apt-get, I can get the config
On Mon, Feb 23 2009, sean finney wrote:
> On Mon, Feb 23, 2009 at 09:24:17PM +0100, Frank Küster wrote:
>> > (1) I use the
>> > hooks provided by apt to get the original files from the
>> > package
>>
>> In other words, with ucf you get NOTHING, since there are no original
>> files in the package
On Mon, Feb 23, 2009 at 09:24:17PM +0100, Frank Küster wrote:
> > (1) I use the
> > hooks provided by apt to get the original files from the
> > package
>
> In other words, with ucf you get NOTHING, since there are no original
> files in the package. They are only created temporarily while postins
Jörg Sommer wrote:
>>> But I can get the files dpkg installs in /etc. That's enough for the
>>> first step. I don't want to create an AI that does everything right. One
>>> step after the other!
>>
>> No, dpkg installs _nothing_ in /etc for ucf related files
>
> Right, but your are mixing
On Sun, Feb 22 2009, Jörg Sommer wrote:
> Manoj Srivastava wrote:
>> On Sun, Feb 22 2009, Jörg Sommer wrote:
>>> Manoj Srivastava wrote:
On Sat, Feb 21 2009, Jörg Sommer wrote:
>
> Right, but when I hook into apt-get, I can get the configuration file
> shipped with the packages.
Manoj Srivastava wrote:
> On Sun, Feb 22 2009, Jörg Sommer wrote:
>> Frank Küster wrote:
>>> Jörg Sommer wrote:
>>>
Right, but when I hook into apt-get, I can get the configuration file
shipped with the packages.
>>>
>>> You cannot, since the very purpose of ucf is to give dpkg-conffi
Manoj Srivastava wrote:
> On Sun, Feb 22 2009, Jörg Sommer wrote:
>> Manoj Srivastava wrote:
>>> On Sat, Feb 21 2009, Jörg Sommer wrote:
Right, but when I hook into apt-get, I can get the configuration file
shipped with the packages. But that has nothing to do with ucf.
>>>
>>>
On Sun, Feb 22 2009, Jörg Sommer wrote:
> Manoj Srivastava wrote:
>> On Sat, Feb 21 2009, Jörg Sommer wrote:
>>>
>>> Right, but when I hook into apt-get, I can get the configuration file
>>> shipped with the packages. But that has nothing to do with ucf.
>>
>> What does "hook into apt-get
On Sun, Feb 22 2009, Jörg Sommer wrote:
> Hi Frank,
>
> Frank Küster wrote:
>> Jörg Sommer wrote:
>>
>>> Right, but when I hook into apt-get, I can get the configuration file
>>> shipped with the packages.
>>
>> You cannot, since the very purpose of ucf is to give dpkg-conffile-like
>> behavior
Hi Frank,
Frank Küster wrote:
> Jörg Sommer wrote:
>
>> Right, but when I hook into apt-get, I can get the configuration file
>> shipped with the packages.
>
> You cannot, since the very purpose of ucf is to give dpkg-conffile-like
> behavior for configuration files *not* shipped in the package
Manoj Srivastava wrote:
> On Sat, Feb 21 2009, Jörg Sommer wrote:
>>
>> Right, but when I hook into apt-get, I can get the configuration file
>> shipped with the packages. But that has nothing to do with ucf.
>
> What does "hook into apt-get" mean?
I use the hooks Pre-Install-Pkgs and Pos
Hi Steve,
Steve Langasek wrote:
> On Sat, Feb 21, 2009 at 11:09:52PM +, Jörg Sommer wrote:
>> save_original
>> merge_with_current
>> export UCF_FORCE_CONFFOLD=1
>> ucf.etcgit "$@"
>
> So this will leave the ucf db with a horribly incorrect view
Which bit in ucf's database would become invali
On Sun, Feb 22 2009, Vincent Danjean wrote:
> Manoj Srivastava wrote:
>> I think the correct thing for the wrapper to do is
>> a) change branch to the upstram_version_branch, and commit the new
>> upstream.
>> b) Change back to the local branch
>> c) run ucf and let the user do the
Jörg Sommer wrote:
> Right, but when I hook into apt-get, I can get the configuration file
> shipped with the packages.
You cannot, since the very purpose of ucf is to give dpkg-conffile-like
behavior for configuration files *not* shipped in the package.
Regards, Frank
--
Frank Küster
Debian
Manoj Srivastava wrote:
> I think the correct thing for the wrapper to do is
> a) change branch to the upstram_version_branch, and commit the new
> upstream.
> b) Change back to the local branch
> c) run ucf and let the user do their thing (replace, not replace, edit,
> whatever
On Sat, Feb 21 2009, Jörg Sommer wrote:
> Manoj Srivastava wrote:
>> On Sat, Feb 21 2009, Jörg Sommer wrote:
>>> Manoj Srivastava hat am Fri 20. Feb, 12:04 (-0600) geschrieben:
On Fri, Feb 20 2009, Jörg Sommer wrote:
> I'm packaging etcgit [1], a system to manage configuration fil
On Sat, Feb 21 2009, Frank Küster wrote:
> Manoj Srivastava wrote:
>
>>> Yes, ucf should not touch the configuration file, because the merge
>>> was done by etcgit. When ucf sees the “old” configuration file it's
>>> already updated by etcgit. The ucf call is only to let ucf update it's
>>> inter
On Sat, Feb 21, 2009 at 11:09:52PM +, Jörg Sommer wrote:
> >> the configuration files modified by the administrator are stored. The
> >> former branch is updated when ucf or apt-get is run. Then these
> > How is the former branch updated with the new version, since you
> > are using
Manoj Srivastava wrote:
> On Sat, Feb 21 2009, Jörg Sommer wrote:
>> Manoj Srivastava hat am Fri 20. Feb, 12:04 (-0600) geschrieben:
>>> On Fri, Feb 20 2009, Jörg Sommer wrote:
>>>
>>> > I'm packaging etcgit [1], a system to manage configuration files in /etc
>>> > with git, similar to etckeeper.
Manoj Srivastava wrote:
>> Yes, ucf should not touch the configuration file, because the merge
>> was done by etcgit. When ucf sees the “old” configuration file it's
>> already updated by etcgit. The ucf call is only to let ucf update it's
>> internal database.
>
> ucf only changes the co
On Sat, Feb 21 2009, Jörg Sommer wrote:
> Hi Manoj, Hi debian-devel,
>
> Manoj Srivastava hat am Fri 20. Feb, 12:04 (-0600) geschrieben:
>> On Fri, Feb 20 2009, Jörg Sommer wrote:
>>
>> > I'm packaging etcgit [1], a system to manage configuration files in /etc
>> > with git, similar to etckeeper.
Hi Manoj, Hi debian-devel,
Manoj Srivastava hat am Fri 20. Feb, 12:04 (-0600) geschrieben:
> On Fri, Feb 20 2009, Jörg Sommer wrote:
>
> > I'm packaging etcgit [1], a system to manage configuration files in /etc
> > with git, similar to etckeeper. Etcgit tracks the original version of all
> > fil
On Fri, Feb 20 2009, Jörg Sommer wrote:
> I'm packaging etcgit [1], a system to manage configuration files in /etc
> with git, similar to etckeeper. Etcgit tracks the original version of all
> files and therefore, I have to wrap ucf to get the original version and
> stop ucf from doing anything. T
24 matches
Mail list logo