tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg-config-0.26

On Thu, 26 Jan 2012 00:09:12 +0900, Greg Troxel <> 

"OBATA Akio" <> writes:
or implement `pkg_rolling-replace -l'.

But certainly that would be a good step.

For first step of `pkg_rolling-replace -l', How about just replace version
unmatched packages, not look at unsafe_depends=YES?
Because ABI bump should already be taken care with recursive bump,
so just replace those packages should be sufficient.
If some packages are broken after `pkg_rolling-replace -l`, it means that
missing bump of those packages are found, should be fixed.

That's a good point.  But, currently the unsafe_depends scheme works
even if one's source tree is not updated or all packages are not updated
together, or if you don't use -u.

Ah, then, how about treat `-l' option same as `-s'.
 -s (strict) option  check unsafe_depends_strict=YES
 none (default) mode check unsafe_depends=YES
 -l (loose) option   check unsafe_depends_loose=YES

Then user will be able to do `pkg_rolling-replace -ul' to update pakage with 
loose way.
It will be improved after `make replace' will be changed to set 
correctly, i.e. `pkg_rolling-replace -l' will be usable.

OBATA Akio /

Home | Main Index | Thread Index | Old Index