From: Led <ledest@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Отдельный патч vs однострочник на sed/perl Date: Wed, 4 Mar 2009 14:18:25 +0200 Message-ID: <200903041418.26053.ledest@gmail.com> (raw) In-Reply-To: <75e139a00903040330k2ac244e4y807154db311af809@mail.gmail.com> On Wednesday 04 March 2009 13:30:55 Slava Semushin wrote: > 4 марта 2009 г. 15:25 пользователь Damir Shayhutdinov <damir@altlinux> написал: > >> Можно патч сделать, а можно из спека sed-ом поправить, например. И > >> грань между тем когда и как лучше _не_ всегда очевидна. > >> > >> Всё приходит с опытом.. > > > > Грань простая - если хочется отправить в апстрим - тогда патч. Если > > хочется "быстро и просто" - sed-ом. > > Не совсем IMHO. Если в файле/ах исправляется одна строка, то вполне > однострочник подойдёт. ...А потом забыть про него и получать с какого-то времени кривой пакет. Потому как "sed бла-бла-бла" практически всегда отработает тихо, а патч просто отвалится в %setup, если он уже не подходит или неактуален. -- Led
next prev parent reply other threads:[~2009-03-04 12:18 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-04 11:30 Slava Semushin 2009-03-04 12:18 ` Led [this message] 2009-03-04 12:21 ` Andrey Rahmatullin 2009-03-04 14:38 ` Konstantin Baev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200903041418.26053.ledest@gmail.com \ --to=ledest@gmail.com \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git