* Re: [newbies] [devel] Как не надо писать спеки @ 2009-10-11 13:39 ` Timur Batyrshin 2009-10-11 14:02 ` Kharitonov A. Dmitry 2009-10-11 21:38 ` Michael Shigorin 0 siblings, 2 replies; 8+ messages in thread From: Timur Batyrshin @ 2009-10-11 13:39 UTC (permalink / raw) To: devel-newbies 11.10.2009 17:21, Kharitonov A. Dmitry пишет: >>> Допустим, мне нужно исправить ошибку в М40. >>> Для этого я должен сформировать новую версию, поместить её в сизиф, >>> затем в M50, далее М41и, лишь только потом в М40. >> Зачем? Если исправление касается только M40 -- поднимите последнюю >> цифру в номере релиза в M40. >> >> Мне, например, уже давно было интересно, зачем при мелком изменении в >> упаковке для M40 в ваших пакетах, вы собираете новую версию для всех >> остальных. > При случае попробую. Раньше не получалось Минорный релиз всегда можно было поднимать. К примеру: Некоторый пакет в сизиф собран с версией-релизом 1.0-alt1 Этот же пакет в соответствии с http://www.altlinux.org/BackportsPolicy должен быть собран в предыдущие бранчи с меньшим номером версии-релиза. В бранче 5.0 это будет 1.0-alt0.M50.1 В бранче 4.1 это будет 1.0-alt0.M41.1 В бранче 4.0 это будет 1.0-alt0.M40.1 Предположим, нам надо что-то исправить в версии для бранча 4.0. Например, мы забыли о том, что в 4.0 еще не было триггеров (http://www.altlinux.org/RPMFileTrigger) и положенные в пакет альтернативы/файлы *.desktop нужно обновить в работающей системе вручную (2All -- как правильнее это действие назвать?). Дописываем соответствующие строки в спек, и собираем пакет как 1.0-alt0.M40.2 . Т.к. 1.0-alt0.M40.2 < 1.0-alt0.M41.1 < 1.0-alt0.M50.1 < 1.0-alt1 ошибки такое обновление не вызовет, а т.к. изменение касается одного только бранча, мы имеем право изменять минорный релиз. Собирать же во все старшие репозитории пакет с таким изменением будет ошибкой. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 13:39 ` [newbies] [devel] Как не надо писать спеки Timur Batyrshin @ 2009-10-11 14:02 ` Kharitonov A. Dmitry 2009-10-11 14:38 ` Timur Batyrshin 2009-10-11 21:38 ` Michael Shigorin 1 sibling, 1 reply; 8+ messages in thread From: Kharitonov A. Dmitry @ 2009-10-11 14:02 UTC (permalink / raw) To: devel@ where you _can_ ask Timur Batyrshin wrote: > 11.10.2009 17:21, Kharitonov A. Dmitry пишет: >>>> Допустим, мне нужно исправить ошибку в М40. >>>> Для этого я должен сформировать новую версию, поместить её в сизиф, >>>> затем в M50, далее М41и, лишь только потом в М40. >>> Зачем? Если исправление касается только M40 -- поднимите последнюю >>> цифру в номере релиза в M40. >>> >>> Мне, например, уже давно было интересно, зачем при мелком изменении >>> в упаковке для M40 в ваших пакетах, вы собираете новую версию для >>> всех остальных. >> При случае попробую. Раньше не получалось > > Минорный релиз всегда можно было поднимать. > > К примеру: > Некоторый пакет в сизиф собран с версией-релизом 1.0-alt1 > Этот же пакет в соответствии с > http://www.altlinux.org/BackportsPolicy должен быть собран в > предыдущие бранчи с меньшим номером версии-релиза. > В бранче 5.0 это будет 1.0-alt0.M50.1 > В бранче 4.1 это будет 1.0-alt0.M41.1 > В бранче 4.0 это будет 1.0-alt0.M40.1 > > Предположим, нам надо что-то исправить в версии для бранча 4.0. > Например, мы забыли о том, что в 4.0 еще не было триггеров > (http://www.altlinux.org/RPMFileTrigger) и положенные в пакет > альтернативы/файлы *.desktop нужно обновить в работающей системе > вручную (2All -- как правильнее это действие назвать?). > Дописываем соответствующие строки в спек, и собираем пакет как > 1.0-alt0.M40.2 . > Т.к. 1.0-alt0.M40.2 < 1.0-alt0.M41.1 < 1.0-alt0.M50.1 < 1.0-alt1 > ошибки такое обновление не вызовет, а т.к. изменение касается одного > только бранча, мы имеем право изменять минорный релиз. При случае попробую. Раньше не проходило. > > Собирать же во все старшие репозитории пакет с таким изменением будет > ошибкой. Нет, это не ошибка. Это не экономное использование сервера. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 14:02 ` Kharitonov A. Dmitry @ 2009-10-11 14:38 ` Timur Batyrshin 2009-10-11 14:53 ` Kharitonov A. Dmitry 0 siblings, 1 reply; 8+ messages in thread From: Timur Batyrshin @ 2009-10-11 14:38 UTC (permalink / raw) To: devel-newbies 11.10.2009 18:02, Kharitonov A. Dmitry пишет: >> Собирать же во все старшие репозитории пакет с таким изменением будет >> ошибкой. > > Нет, это не ошибка. Это не экономное использование сервера. Это ошибка, т.к. в пакете ничего не изменилось, а релиз поднялся. Что касается неэкономного использования -- неэкономно используются не только сборочные сервера ALT Linux, и всех держателей зеркал , но и каналы всех людей, использующих этот пакет, т.к. при следующем обновлении им придется тянуть тот же самый пакет без изменений (кроме номера релиза) второй раз. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 14:38 ` Timur Batyrshin @ 2009-10-11 14:53 ` Kharitonov A. Dmitry 2009-10-11 16:00 ` Timur Batyrshin 0 siblings, 1 reply; 8+ messages in thread From: Kharitonov A. Dmitry @ 2009-10-11 14:53 UTC (permalink / raw) To: devel@ where you _can_ ask Timur Batyrshin wrote: > 11.10.2009 18:02, Kharitonov A. Dmitry пишет: >>> Собирать же во все старшие репозитории пакет с таким изменением >>> будет ошибкой. >> >> Нет, это не ошибка. Это не экономное использование сервера. > Это ошибка, т.к. в пакете ничего не изменилось, а релиз поднялся. Там изменения для всех версий, правда наиболее чувствительны для М40 ну и пакет маленький <100к ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 14:53 ` Kharitonov A. Dmitry @ 2009-10-11 16:00 ` Timur Batyrshin 2009-10-11 16:56 ` Kharitonov A. Dmitry 0 siblings, 1 reply; 8+ messages in thread From: Timur Batyrshin @ 2009-10-11 16:00 UTC (permalink / raw) To: devel-newbies 11.10.2009 18:53, Kharitonov A. Dmitry пишет: > Timur Batyrshin wrote: >> 11.10.2009 18:02, Kharitonov A. Dmitry пишет: >>>> Собирать же во все старшие репозитории пакет с таким изменением >>>> будет ошибкой. >>> >>> Нет, это не ошибка. Это не экономное использование сервера. >> Это ошибка, т.к. в пакете ничего не изменилось, а релиз поднялся. > Там изменения для всех версий, правда наиболее чувствительны для М40 > ну и пакет маленький <100к О чем вы говорите, видимо, вам одному известно, я же говорил о приведенном мною примере: > Предположим, нам надо что-то исправить в версии для бранча 4.0. > Например, мы забыли о том, что в 4.0 еще не было триггеров (http://www.altlinux.org/RPMFileTrigger) > и положенные в пакет альтернативы/файлы *.desktop нужно обновить в работающей системе вручную. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 16:00 ` Timur Batyrshin @ 2009-10-11 16:56 ` Kharitonov A. Dmitry 0 siblings, 0 replies; 8+ messages in thread From: Kharitonov A. Dmitry @ 2009-10-11 16:56 UTC (permalink / raw) To: devel@ where you _can_ ask Timur Batyrshin wrote: > 11.10.2009 18:53, Kharitonov A. Dmitry пишет: >> Timur Batyrshin wrote: >>> 11.10.2009 18:02, Kharitonov A. Dmitry пишет: >>>>> Собирать же во все старшие репозитории пакет с таким изменением >>>>> будет ошибкой. >>>> >>>> Нет, это не ошибка. Это не экономное использование сервера. >>> Это ошибка, т.к. в пакете ничего не изменилось, а релиз поднялся. >> Там изменения для всех версий, правда наиболее чувствительны для М40 >> ну и пакет маленький <100к > О чем вы говорите, видимо, вам одному известно, я же говорил о > приведенном мною примере: Я вас прекрасно понял. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 13:39 ` [newbies] [devel] Как не надо писать спеки Timur Batyrshin 2009-10-11 14:02 ` Kharitonov A. Dmitry @ 2009-10-11 21:38 ` Michael Shigorin 2009-10-11 22:50 ` Timur Batyrshin 1 sibling, 1 reply; 8+ messages in thread From: Michael Shigorin @ 2009-10-11 21:38 UTC (permalink / raw) To: devel-newbies On Sun, Oct 11, 2009 at 05:39:30PM +0400, Timur Batyrshin wrote: > Собирать же во все старшие репозитории пакет с таким изменением > будет ошибкой. Тимур, а может, сразу в "обсуждение" BackportsPolicy закинете? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [newbies] [devel] Как не надо писать спеки 2009-10-11 21:38 ` Michael Shigorin @ 2009-10-11 22:50 ` Timur Batyrshin 0 siblings, 0 replies; 8+ messages in thread From: Timur Batyrshin @ 2009-10-11 22:50 UTC (permalink / raw) To: devel-newbies 12.10.2009 01:38, Michael Shigorin пишет: > On Sun, Oct 11, 2009 at 05:39:30PM +0400, Timur Batyrshin wrote: > >> Собирать же во все старшие репозитории пакет с таким изменением >> будет ошибкой. >> > Тимур, а может, сразу в "обсуждение" BackportsPolicy закинете? > Ок. http://www.altlinux.org/Обсуждение:BackportsPolicy ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-10-11 22:50 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-10-11 13:39 ` [newbies] [devel] Как не надо писать спеки Timur Batyrshin 2009-10-11 14:02 ` Kharitonov A. Dmitry 2009-10-11 14:38 ` Timur Batyrshin 2009-10-11 14:53 ` Kharitonov A. Dmitry 2009-10-11 16:00 ` Timur Batyrshin 2009-10-11 16:56 ` Kharitonov A. Dmitry 2009-10-11 21:38 ` Michael Shigorin 2009-10-11 22:50 ` Timur Batyrshin
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git