Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2012-01-18 Thread Mike Frysinger
On Tuesday 27 December 2011 12:29:09 Maciej Mrozowski wrote: > On Wednesday 21 of December 2011 04:40:09 Mike Frysinger wrote: > > On Tuesday 20 December 2011 20:44:03 Maciej Mrozowski wrote: > > > I still think we should even make PN an unique identifier in order to > > > be able to purge categori

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-27 Thread Andreas K. Huettel
OK, now that we have bikeshedded this to death, let me state that I fullheartedly support the original proposal by Alexandre, as unmodified as possible. We should IMHO implement it as soon as possible. Andreas -- Andreas K. Huettel Gentoo Linux developer kde, sci, tex, arm, printing dilfri..

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-27 Thread Maciej Mrozowski
On Wednesday 21 of December 2011 04:40:09 Mike Frysinger wrote: > On Tuesday 20 December 2011 20:44:03 Maciej Mrozowski wrote: > > I still think we should even make PN an unique identifier in order to be > > able to purge categories... that's different story though... > > a world without categorie

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-20 Thread Mike Frysinger
On Tuesday 20 December 2011 20:44:03 Maciej Mrozowski wrote: > I still think we should even make PN an unique identifier in order to be > able to purge categories... that's different story though... a world without categories is a *lot* worse than a world with $PN free collisions -mike signatur

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-20 Thread Maciej Mrozowski
On Monday 19 of December 2011 02:52:54 Alexandre Rostovtsev wrote: > On Mon, 2011-12-19 at 01:08 +0100, Ulrich Mueller wrote: > > [Why are there different Reply-To: headers in -dev and in -pms MLs? > > Following up to both lists.] > > I apologize for the mess; I had intended to bring the question

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Jeroen Roovers
On Mon, 19 Dec 2011 00:31:35 -0500 Alexandre Rostovtsev wrote: > On Mon, 2011-12-19 at 03:41 +0100, Jeroen Roovers wrote: > > For completeness, could you post a list of packages that would > > benefit from your proposed changes? It's a little thing called > > scope. :) > > I cannot provide you t

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Pacho Ramos
El lun, 19-12-2011 a las 09:31 +0100, Michał Górny escribió: > On Mon, 19 Dec 2011 00:07:45 +0100 > Pacho Ramos wrote: > > > El dom, 18-12-2011 a las 23:02 +0100, Michał Górny escribió: > > [...] > > > > Q6: Why can't the dodoc/dohtml path be changed before EAPI-5? > > > > A6: Because the path wh

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Stelian Ionescu
On Mon, 2011-12-19 at 05:23 +0100, Ulrich Mueller wrote: > > On Sun, 18 Dec 2011, Alexandre Rostovtsev wrote: > > >> Can we please avoid the bloat of another directory level here? > >> ${CATEGORY}/${PN} will be even longer than ${PF} in most cases. > > > The problem is that ($PN, $CATEGORY) p

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Ciaran McCreesh
On Mon, 19 Dec 2011 10:02:07 +0100 Michał Górny wrote: > Shifting is unavoidable. SLOTs can change, categories can change, > package names can change. We should really just abolish updates and handle changes by reinstalls plus blockers. Updates are a huge pain, they cause all kinds of problems an

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Michał Górny
On Mon, 19 Dec 2011 01:41:00 -0500 Alexandre Rostovtsev wrote: > Using /usr/share/doc/$PN-$SLOT with exceptions for packages that have > the same ($PN, $SLOT) but different categories would not scale: it > turns out there are >100 of them in the main tree. And I hope there will be more. We shoul

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Michał Górny
On Mon, 19 Dec 2011 05:23:08 +0100 Ulrich Mueller wrote: > 2. It doesn't play well with bash completion. When searching for >documentation of a specific package (and only knowing PN), one can >currently type the pathname up to PN and press tab which will >complete PVR. With CATEGORY _

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Michał Górny
On Mon, 19 Dec 2011 00:07:45 +0100 Pacho Ramos wrote: > El dom, 18-12-2011 a las 23:02 +0100, Michał Górny escribió: > [...] > > > Q6: Why can't the dodoc/dohtml path be changed before EAPI-5? > > > A6: Because the path where dodoc and dohtml install files is part > > > of the PMS. Portage can't

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-19 Thread Ulrich Mueller
> On Mon, 19 Dec 2011, Alexandre Rostovtsev wrote: > I am forced to agree with your points #1 and #2. Good. :-) > $CATEGORY/$PN-$SLOT is optimized for the "bookmark a document and go > back to it a week later" use case, but you are correct that it would > work poorly for the "quickly look up

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Alexandre Rostovtsev
On Mon, 2011-12-19 at 05:23 +0100, Ulrich Mueller wrote: > Thinking about it a little more, I believe that ${CATEGORY} shouldn't > appear anywhere in the path of installed files, for the following > reasons: > > 1. Users may not know the category of a package, therefore it's not >obvious for t

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Alexandre Rostovtsev
On Mon, 2011-12-19 at 03:41 +0100, Jeroen Roovers wrote: > For completeness, could you post a list of packages that would benefit > from your proposed changes? It's a little thing called scope. :) I cannot provide you the full list; for that I would have to rebuild the full tree with USE=doc enabl

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Dale
Ulrich Mueller wrote: On Sun, 18 Dec 2011, Alexandre Rostovtsev wrote: Can we please avoid the bloat of another directory level here? ${CATEGORY}/${PN} will be even longer than ${PF} in most cases. The problem is that ($PN, $CATEGORY) pairs are not unique. Think of x11-terms/terminal:0 and gnus

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Ulrich Mueller
> On Sun, 18 Dec 2011, Alexandre Rostovtsev wrote: >> Can we please avoid the bloat of another directory level here? >> ${CATEGORY}/${PN} will be even longer than ${PF} in most cases. > The problem is that ($PN, $CATEGORY) pairs are not unique. Think of > x11-terms/terminal:0 and gnustep-apps

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Jeroen Roovers
On Sun, 18 Dec 2011 21:26:08 -0500 Alexandre Rostovtsev wrote: > On Sun, 2011-12-18 at 23:02 +0100, Michał Górny wrote: > > What if 'foo' has slot named 'bar', and there is unslotted 'foo-bar' > > package? :P > > There are no such examples in the tree. The only ebuilds I could find > with non-nu

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Alexandre Rostovtsev
On Sun, 2011-12-18 at 23:02 +0100, Michał Górny wrote: > What if 'foo' has slot named 'bar', and there is unslotted 'foo-bar' > package? :P There are no such examples in the tree. The only ebuilds I could find with non-numeric slots are various kernel sources, chromium, google-chrome, beautifulsou

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Alexandre Rostovtsev
On Mon, 2011-12-19 at 01:08 +0100, Ulrich Mueller wrote: > [Why are there different Reply-To: headers in -dev and in -pms MLs? > Following up to both lists.] I apologize for the mess; I had intended to bring the question up before a wider audience, but failed to think through the consequences of t

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Alexandre Rostovtsev
On Sun, 2011-12-18 at 23:07 +0100, Chí-Thanh Christopher Nguyễn wrote: > Alexandre Rostovtsev schrieb: > > Answers to anticipated questions: > Q8: SLOT can change after the package was installed. How to handle this > case? I think the slotmove should happen without renaming the documentation direc

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Ulrich Mueller
[Why are there different Reply-To: headers in -dev and in -pms MLs? Following up to both lists.] > On Sun, 18 Dec 2011, Alexandre Rostovtsev wrote: > At the moment, Gentoo documentation is supposed to be installed in > /usr/share/doc/$PF. [...] > I propose the following changes, and will wri

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Pacho Ramos
El dom, 18-12-2011 a las 23:02 +0100, Michał Górny escribió: [...] > > Q6: Why can't the dodoc/dohtml path be changed before EAPI-5? > > A6: Because the path where dodoc and dohtml install files is part of > > the PMS. Portage can't just change it on its own. A possible > > workaround for current E

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Chí-Thanh Christopher Nguyễn
Alexandre Rostovtsev schrieb: > Answers to anticipated questions: Q8: SLOT can change after the package was installed. How to handle this case? Best regards, Chí-Thanh Christopher Nguyễn

Re: [gentoo-dev] RFC: deprecate /usr/share/doc/$PF

2011-12-18 Thread Michał Górny
I basically agree, it's quite a great idea. Just a few comments though. On Sun, 18 Dec 2011 16:49:38 -0500 Alexandre Rostovtsev wrote: > * The package's documentation may be designed primarily for tools and > viewers which expect to load documentation files from a different > location. That's