Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-04 Thread Ionen Wolkens
On Sat, Jun 04, 2022 at 06:19:30PM +0200, Alessandro Barbieri wrote: > When I use sed is for dynamic content and mostly like to do this: > s|lib|$(get_libdir)|g > In this case esed would be deleterious because it would fail on 32 bit > arches This case is noted in the docs fwiw. How to handle

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-04 Thread Alessandro Barbieri
Il giorno mar 31 mag 2022 alle ore 13:23 Ionen Wolkens ha scritto: > Often preferable to use patches so this happens, but sed have its > uses/convenience and this intend to help reduce the amount of old > broken seds causing issues that go unnoticed on bumps. > > Inspired by

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Ionen Wolkens
On Fri, Jun 03, 2022 at 06:09:38AM +0200, Michał Górny wrote: > On Tue, 2022-05-31 at 07:23 -0400, Ionen Wolkens wrote: > > Often preferable to use patches so this happens, but sed have its > > uses/convenience and this intend to help reduce the amount of old > > broken seds causing issues that go

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Sam James
> On 3 Jun 2022, at 05:59, Sam James wrote: > > > >> On 31 May 2022, at 12:23, Ionen Wolkens wrote: >> >> Often preferable to use patches so this happens, but sed have its >> uses/convenience and this intend to help reduce the amount of old >> broken seds causing issues that go unnoticed

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Ionen Wolkens
On Fri, Jun 03, 2022 at 09:47:51AM +0500, Anna V wrote: > On 2022-06-03 00:45, Ionen Wolkens wrote: > > On Fri, Jun 03, 2022 at 06:09:38AM +0200, Michał Górny wrote: > > > On Tue, 2022-05-31 at 07:23 -0400, Ionen Wolkens wrote: > > > > Often preferable to use patches so this happens, but sed have

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Sam James
> On 31 May 2022, at 12:23, Ionen Wolkens wrote: > > Often preferable to use patches so this happens, but sed have its > uses/convenience and this intend to help reduce the amount of old > broken seds causing issues that go unnoticed on bumps. > > Inspired by app-portage/iwdevtools' qa-sed

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Ionen Wolkens
On Fri, Jun 03, 2022 at 06:09:38AM +0200, Michał Górny wrote: > On Tue, 2022-05-31 at 07:23 -0400, Ionen Wolkens wrote: > > Often preferable to use patches so this happens, but sed have its > > uses/convenience and this intend to help reduce the amount of old > > broken seds causing issues that go

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-06-02 Thread Michał Górny
On Tue, 2022-05-31 at 07:23 -0400, Ionen Wolkens wrote: > Often preferable to use patches so this happens, but sed have its > uses/convenience and this intend to help reduce the amount of old > broken seds causing issues that go unnoticed on bumps. > > Inspired by app-portage/iwdevtools' qa-sed

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-05-31 Thread Jaco Kroon
Hi, On 2022/05/31 16:29, Ionen Wolkens wrote: > esed does bring back the -i/die skipping but that's not its inherent > purpose and GNU sed currently does not support a mean to report if > changes occurred (if this happens, esed may well become obsolete too). > Haven't checked the code to

Re: [gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-05-31 Thread Ionen Wolkens
On Tue, May 31, 2022 at 06:54:21PM +0500, Anna wrote: > On 2022-05-31 07:23, Ionen Wolkens wrote: > > Implementation / available wrappers / usefulness still up for debate, > > but without further comments I consider this ready (albeit first time > > touching / making an eclass, so I could be

[gentoo-dev] [PATCH 0/2] Add esed.eclass for sed that dies if caused no changes

2022-05-31 Thread Ionen Wolkens
Often preferable to use patches so this happens, but sed have its uses/convenience and this intend to help reduce the amount of old broken seds causing issues that go unnoticed on bumps. Inspired by app-portage/iwdevtools' qa-sed (warns on any seds), but this is for more deterministic use in