Re: cvs: phpdoc(REF_STRUCT_DEV) /en/language oop5.xml /en/language/oop5 namespaces.xml
| From: | Hannes Magnusson | Date: | Wed, 12 Dec 2007 19:02:58 +0000 |
| Subject: | Re: cvs: phpdoc(REF_STRUCT_DEV) /en/language oop5.xml /en/language/oop5 namespaces.xml | ||
| References: | 1 2 3 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-619@lists.php.net to get a copy of this message | ||
On Dec 12, 2007 7:23 PM, Stanislav Malyshev <stas@zend.com> wrote:
> > Why are you committing in a commit freeze?
>
> I wasn't aware there was a freeze. Sorry. Want me to revert these?
Don't care. I just want the build fixed and a reason why this chapter
doesn't have the same IDs - nor location - as the one in HEAD.
These kind of commits are pretty much the exact reason why commit
freezes are necessary when merging stuff.
> > Why did you move the documentation to the OOP5 chapter?
>
> Aren't namespaces OOP5? I couldn't find them anywhere else, anyway, so I
> decided OOP5 would be the best place. Do you think it should be elsewhere?
Are they? According to the docs, if you want, you don't have to put a
single class in a namespace.
You can define namespace constants and namespaced functions too -
which in my books don't fall under OO programming.
The weird thing is, you found the file in HEAD in the language chapter
and seemingly copied the file into the OOP5 chapter, replacing all the
IDs with language.oop5.id.
I thought they fit fine in the language chapter, so why not keep them
in the same chapter in both branches?
> > Why did you not run the tests before committing?
>
> I did - it worked for me OK...
Run it again.
language.oop5 is a <chapter>, language.oop5.namespaces is also a
<chapter> sitting inside the language.oop5 <chapter>.
<chapter>s cannot be nested in Docbook.
In HEAD the namespaces section is also a <chapter> but has the ID
language.namespaces which sits in the langref <book>.
I don't see any reason why this should be any differently in
REF_STRUCT_DEV... there isn't actually any reason for it to be in
REF_STRUCT_DEV at all since we are working on merging everything to
HEAD anyway - which is the reason for the commit freeze.
I really am making a mountain out of a fly here, this isn't a big
issue. Its just frustrating needing to babysit commits to make sure
they don't break the build (during a commit freeze no less) and they
don't cause any unexpected issues while merging (we don't want to
maintain two sets of these docs (one under language.namespaces and
another under language.oop5.namespaces), do we? ;)
-Hannes