* [devel] file(1) upstream version @ 2012-09-27 17:11 Mykola S. Grechukh 2012-09-27 17:20 ` Michael Shigorin 2012-09-27 18:45 ` Dmitry V. Levin 0 siblings, 2 replies; 6+ messages in thread From: Mykola S. Grechukh @ 2012-09-27 17:11 UTC (permalink / raw) To: ALT Linux Team development discussions Здравствуйте, 1) Почему на http://sisyphus.ru/ru/srpm/Sisyphus/file в правой колонке с версиями возле ссылки upstream написано 4.23, а сама ссылка ведёт на ftp://ftp.astron.com/pub/file/file-4.23.tar.gz, которого не существует? Самая старая версия, доступная на ftp://ftp.astron.com/pub/file/ - 4.26 от 30.08.08. 2) Есть какие-то специальные причины держать в репозитарии file-4.26-alt7, в то время как у апстрима есть file-5.11.tar.gz? -- Mykola Grechukh CTO, Satelliz-Ukraine ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] file(1) upstream version 2012-09-27 17:11 [devel] file(1) upstream version Mykola S. Grechukh @ 2012-09-27 17:20 ` Michael Shigorin 2012-09-27 18:45 ` Dmitry V. Levin 1 sibling, 0 replies; 6+ messages in thread From: Michael Shigorin @ 2012-09-27 17:20 UTC (permalink / raw) To: ALT Linux Team development discussions On Thu, Sep 27, 2012 at 05:11:23PM +0000, Mykola S. Grechukh wrote: > 2) Есть какие-то специальные причины держать в репозитарии > file-4.26-alt7, в то время как у апстрима есть file-5.11.tar.gz? Насколько понимаю, rpmbuild; но для него можно бы собрать отдельный file в виде специализированной утилиты для использования при сборке пакетов, IMHO. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ---- Sep 29, Kiev, Ukraine: -- http://conference.osdn.org.ua ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] file(1) upstream version 2012-09-27 17:11 [devel] file(1) upstream version Mykola S. Grechukh 2012-09-27 17:20 ` Michael Shigorin @ 2012-09-27 18:45 ` Dmitry V. Levin 2012-09-27 18:59 ` Alexey Gladkov 1 sibling, 1 reply; 6+ messages in thread From: Dmitry V. Levin @ 2012-09-27 18:45 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 981 bytes --] On Thu, Sep 27, 2012 at 05:11:23PM +0000, Mykola S. Grechukh wrote: > Здравствуйте, > > 1) Почему на http://sisyphus.ru/ru/srpm/Sisyphus/file в правой колонке > с версиями возле ссылки upstream написано 4.23, а сама ссылка ведёт на > ftp://ftp.astron.com/pub/file/file-4.23.tar.gz, которого не > существует? Самая старая версия, доступная на > ftp://ftp.astron.com/pub/file/ - 4.26 от 30.08.08. Раньше все было. :) > 2) Есть какие-то специальные причины держать в репозитарии > file-4.26-alt7, в то время как у апстрима есть file-5.11.tar.gz? Апстримный file не предназначен для скриптов, поскольку в каждой новой версии формат вывода меняется непредсказуемым образом, и формат базы данных "с магией" тоже время от времени меняется с нарушением обратной совместимости. У нас традиционно file использовался для скриптов в разных ответственных местах, включая less и rpmbuild. В таких местах апстримный file использовать, к сожалению, нельзя. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] file(1) upstream version 2012-09-27 18:45 ` Dmitry V. Levin @ 2012-09-27 18:59 ` Alexey Gladkov 2012-09-27 19:24 ` Dmitry V. Levin 0 siblings, 1 reply; 6+ messages in thread From: Alexey Gladkov @ 2012-09-27 18:59 UTC (permalink / raw) To: devel 27.09.2012 22:45, Dmitry V. Levin wrote: > Апстримный file не предназначен для скриптов, поскольку в каждой новой > версии формат вывода меняется непредсказуемым образом, и формат базы > данных "с магией" тоже время от времени меняется с нарушением обратной > совместимости. У нас традиционно file использовался для скриптов в разных > ответственных местах, включая less и rpmbuild. В таких местах апстримный > file использовать, к сожалению, нельзя. Может собрать его рядом, чтобы хотя бы можно было понять масштаб разрушения ? -- Rgrds, legion ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] file(1) upstream version 2012-09-27 18:59 ` Alexey Gladkov @ 2012-09-27 19:24 ` Dmitry V. Levin 2012-09-27 19:50 ` Alexey Gladkov 0 siblings, 1 reply; 6+ messages in thread From: Dmitry V. Levin @ 2012-09-27 19:24 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1266 bytes --] On Thu, Sep 27, 2012 at 10:59:44PM +0400, Alexey Gladkov wrote: > 27.09.2012 22:45, Dmitry V. Levin wrote: > > Апстримный file не предназначен для скриптов, поскольку в каждой новой > > версии формат вывода меняется непредсказуемым образом, и формат базы > > данных "с магией" тоже время от времени меняется с нарушением обратной > > совместимости. У нас традиционно file использовался для скриптов в разных > > ответственных местах, включая less и rpmbuild. В таких местах апстримный > > file использовать, к сожалению, нельзя. > > Может собрать его рядом, чтобы хотя бы можно было понять масштаб > разрушения ? Масштаб разрушений вызван в первую очередь хроническим характером этих разрушений. Собрать рядом на поиграться технически возможно, хотя и не очень удобно, поскольку там не только /usr/bin/file, но еще и маны, библиотека, /usr/share/file, /usr/share/magic и /etc/magic. Если бы семантика описателей в базе магических данных не менялась от случая к случаю, то можно было бы использовать один file(1) с libmagic и для скриптов, и для развлечений, путем выбора разных баз данных. Но апстрим отрезал нам и этот путь, стоимость поддержки отдельной небольшой базы данных для нужд rpmbuild получается слишком высокой. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [devel] file(1) upstream version 2012-09-27 19:24 ` Dmitry V. Levin @ 2012-09-27 19:50 ` Alexey Gladkov 0 siblings, 0 replies; 6+ messages in thread From: Alexey Gladkov @ 2012-09-27 19:50 UTC (permalink / raw) To: devel 27.09.2012 23:24, Dmitry V. Levin wrote: > Масштаб разрушений вызван в первую очередь хроническим характером этих > разрушений. Собрать рядом на поиграться технически возможно, хотя и не > очень удобно, поскольку там не только /usr/bin/file, но еще и маны, > библиотека, /usr/share/file, /usr/share/magic и /etc/magic. > > Если бы семантика описателей в базе магических данных не менялась от > случая к случаю, то можно было бы использовать один file(1) с libmagic > и для скриптов, и для развлечений, путем выбора разных баз данных. > Но апстрим отрезал нам и этот путь, стоимость поддержки отдельной > небольшой базы данных для нужд rpmbuild получается слишком высокой. А как с этим живут другие? Есть ли надстройки над libmagic для сохранения формата вывода ? Мы же не сможем вечно сидеть на одной версии. Если ничего не делать в этом направлении, то дальше будет всё труднее и мы рискуем получить alt-file/alt-libmagic. -- Rgrds, legion ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-09-27 19:50 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-09-27 17:11 [devel] file(1) upstream version Mykola S. Grechukh 2012-09-27 17:20 ` Michael Shigorin 2012-09-27 18:45 ` Dmitry V. Levin 2012-09-27 18:59 ` Alexey Gladkov 2012-09-27 19:24 ` Dmitry V. Levin 2012-09-27 19:50 ` Alexey Gladkov
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