Fw: [PEAR-DOC] New manual structure
| From: | Michel Corne | Date: | Tue, 12 Feb 2008 07:28:42 +0000 |
| Subject: | Fw: [PEAR-DOC] New manual structure | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10475@lists.php.net to get a copy of this message | ||
Hi Christian,
I definitely appreciate the effort you put in this analysis and proposal. However it is a lot of
info for me to review to add valid comments. I would recommend though that there be one page (10
bullets or so) that recaps the mandatory steps for someone to register, propose and release their
first package. And one page that recaps the steps to publish the doc for a package. I could give it
a shot if you believe that would be useful.
Thanks, Michel
----- Original Message ----
From: Christian Schmidt <lists@chsc.dk>
To: pear-doc@lists.php.net
Sent: Monday, February 11, 2008 12:30:47 AM
Subject: [PEAR-DOC] New manual
structure
I
think
the
manual
in
its
current
state
is
structured
in
a
confusing
way.
Some
topics
are
covered
twice
in
different
parts
of
the
manual
(e.g.
how
to
contribute
new
packages
is
covered
in
sections
13
and
17,
and
how
to
support
PEAR
development
is
covered
in
sections
6
and
21).
There
is
a
whole
top-level
section
devoted
to
features
introduced
with
PEAR
1.4
back
in
2005.
The
sections
covers
features
related
to
package.xml
that
is
documented
elsewhere.
IMO
coding
standards
and
PEAR
group
decisions
about
package
directory
structure
etc.
are
very
developer-oriented,
but
still
they
are
described
outside
the
Developer
Guide
section.
I
have
tried
to
regroup
the
existing
pages
in
a
more
intuitive
way
that
matches
the
description
in
"Preface:
The
structure
of
the
Manual"
that
is
currently
out
of
sync
with
the
actual
manual.
Below
is
a
listing
of
the
current
structure,
and
list
of
changes,
and
a
listing
of
the
resulting
structure.
All
section
numbers
refer
to
the
current
manual.
What
do
you
think
of
this?
If
people
agree
that
the
manual
needs
restructuring,
the
wiki
might
be
a
better
place
to
finalize
the
new
structure
before
moving
the
actual
files.
CURRENT
STRUCTURE
=================
Preface
About
this
Manual
The
structure
of
the
Manual
Authors
and
Contributors
I.
About
PEAR
1.
Introduction
1.
What
is
PEAR?
2.
Installation
1.
Introduction
2.
Getting
the
manager
3.
Command
line
installer
4.
Installation
of
a
local
PEAR
copy
on
a
shared
host
5.
Manual
installation
6.
CVS
installer
7.
Installing
PECL
packages
3.
Support
1.
The
mailing
lists
2.
Web
resources
3.
#PEAR
on
IRC
4.
Coding
Standards
1.
Indenting
and
Line
Length
2.
Control
Structures
3.
Function
Calls
4.
Class
Definitions
5.
Function
Definitions
6.
Comments
7.
Including
Code
8.
PHP
Code
Tags
9.
Header
Comment
Blocks
10.
Using
CVS
11.
Example
URLs
12.
Naming
Conventions
13.
File
Formats
14.
E_STRICT-compatible
code
15.
Error
Handling
Guidelines
16.
Best
practices
17.
Sample
File
(including
Docblock
Comment
standards)
18.
The
PEAR
toolbox
5.
PEAR2
Coding
Standards
1.
Introduction
2.
Rules
6.
Contributing
1.
Introduction
2.
Writing
New
Packages
3.
Submitting
Patches
4.
Reporting
Bugs
5.
Writing
&
Translating
Documentation
6.
Wishlists
7.
FAQ
-
Frequently
Asked
Questions
1.
User
FAQ
2.
Developer
FAQ
3.
Documentation/translation
FAQ
8.
Constitution
1.
Summary
of
Important
points
2.
What
is
the
purpose
of
this
document?
3.
Official
Constitution
9.
PEAR
Group
Administrative
Documents
1.
Package
Directory
Structure
2.
License
Announcement
3.
New
guidelines
for
BC
breaking
releases
4.
Orphaned
Packages
5.
Orphaned
PEPr
Proposals
II.
New
Maintainers'
Guide
10.
Introduction
11.
How
best
to
contribute
to
PEAR
1.
Cases
in
which
it
makes
sense
to
propose
a
new
package
2.
Cases
in
which
it
is
better
to
improve
existing
packages
12.
Joining
the
PEAR
community
1.
Communication
with
other
PEAR
developers
2.
More
written
information
13.
The
formal
proposal
process
1.
Step
1:
Requirements
for
a
proposal
2.
Step
2:
Initiating
a
discussion
3.
Step
3:
Using
PEPr
4.
Changing
a
proposal
14.
Taking
over
an
unmaintained
package
III.
Developer
Guide
15.
Introduction
1.
Who
needs
this
guide?
16.
PEAR's
meaning
for
developers
1.
Code
of
high
quality
2.
Chance
to
collaborate
with
and
learn
from
other
developers
3.
Chance
to
release
your
own
code
17.
Contributing
your
own
code
1.
Requirements
for
contributing
code
2.
How
to
contribute
code
in
practice
3.
How
to
document
code
in
practice
18.
The
package
definition
file
package.xml
1.
Introduction
to
the
package
definition
file
package.xml
19.
The
package
definition
file
package.xml,
version
2.0
1.
A
quick
and
dirty
guide
to
version
2.0
of
the
package
definition
file
package.xml
2.
Special
information
for
PECL
developers
3.
Detailed
Tag
Reference
for
package.xml
version
2.0
20.
Releasing
A
Package
1.
Prerequisites
2.
Validating
The
Package
Definition
File
3.
Packaging
The
Release
Tarball
4.
Releasing
The
Package
Through
The
Web
Interface
21.
Supporting
PEAR
development
1.
How
to
support
the
PEAR
community
22.
Recommendations
1.
Why
recommendations?
2.
Color
Representation
inside
PEAR
Packages
23.
Writing
documentation
1.
The
DocBook
XML
format
2.
Tips
for
good
documentation
IV.
New
features
in
PEAR
1.4
24.
Introduction
25.
Channels
1.
channel.xml
--
The
channel
definition
file
2.
XML-RPC
functions
--
XML-RPC
function
API
documentation
26.
Custom
File
Roles
1.
Using
a
customized
role
in
a
package.xml
2.
Defining
a
customized
role
for
use
in
a
package.xml
27.
Custom
File
Tasks
1.
Using
a
customized
task
in
a
package.xml
2.
Creating
customized
tasks
in
PHP
28.
Post-installation
Scripts
1.
Naming
requirements
for
a
post-install
script
PHP
file
2.
Structure
of
a
post-install
script
V.
Core
components
29.
PEAR
base
classes
1.
PEAR
2.
PEAR_Exception
-
PHP
5
and
versions
above
3.
PEAR_ErrorStack
4.
PEAR_Error
[deprecated]
5.
System
30.
PEAR
Installer
classes
1.
PEAR_Autoload
2.
PEAR_Builder
3.
PEAR_ChannelFile
4.
PEAR_Command
5.
PEAR_Common
6.
PEAR_Config
7.
PEAR_Dependency
8.
PEAR_Dependency2
9.
PEAR_DependencyDB
10.
PEAR_Frontend
11.
PEAR_Installer
12.
PEAR
13.
PEAR_Packager
14.
PEAR_Registry
15.
PEAR_Remote
16.
PEAR_REST
17.
PEAR
18.
PEAR_Validate
19.
PEAR
VI.
Packages
31.
...
SUGGESTED
CHANGES
=================
Make
I.4
"Coding
Standards"
one
of
the
first
subentries
of
II
"Developers
guide"
As
long
as
PEAR2
is
still
in
the
making,
make
I.5
"PEAR2
Coding
Standards"
a
subentry
of
I.4
"Coding
Standards",
or
possibly
remove
it
from
the
official
manual
and
keep
it
on
the
wiki
until
it
has
reached
a
final
version.
Make
I.9.1
"Package
Directory
Structure"
a
subentry
of
I.4
"Coding
standards"
Make
I.9.2
"License
Announcement"
and
I.9.3
"New
guidelines
for
BC
breaking
releases"
subentries
of
III
"Developer
guide"
(and
remove
"New"
from
the
title).
Add
http://pear.php.net/group/docs/20040226-vn.php
as
a
subentry
of
III
"Developer
guide"
preceding
I.9.3
"New
guidelines
for
BC
breaking
releases".
Make
I.9.4
"Orphaned
Packages"
a
subentry
of
III
"Developer
Guide".
Make
I.9.5
"Orphaned
PEPr
Proposals"
a
subentry
of
II.13
"The
formal
proposal
process".
Remove
the
now
empty
I.9
"PEAR
Group
Administrative
Documents".
Remove
all
subentries
from
I.3
"Support"
and
make
the
page
contain
just
a
link
to
http://pear.php.net/support/
where
these
topics
are
already
covered.
Move
the
detailed
description
of
the
mailinglists
from
I.3.1
"The
mailing
lists"
to
/support/lists.php.
Make
the
subentries
of
IV
"New
features
in
PEAR
1.4"
subentries
of
III.19
"The
package
definition
file
package.xml,
version
2.0"
and
strip
"version
2.0"
from
the
title.
Remove
the
now
empty
IV
"New
features
in
PEAR
1.4".
Append
"version
1.0"
to
the
title
of
III.18
"The
package
definition
file
package.xml"
and
make
this
a
subentry
of
III.19
"The
package
definition
file
package.xml,
version
2.0".
Combine
the
three
small
subentries
of
III.16
"PEAR's
meaning
for
developers"
into
one
subentry
of
I.1
"Introduction"
(after
I.1.1
"What
is
PEAR?").
Rename
II.13
"The
formal
proposal
process"
to
"Proposing
a
new
package"
and
make
it
a
subentry
of
III
"Developer
Guide"
preceding
"Orphaned
Packages".
Combine
the
two
small
subentries
of
II.11
"How
best
to
contribute
to
PEAR"
into
one
new
subentry
of
the
current
II.13
"The
formal
proposal
process"
(renamed
to
"Proposing
a
new
package").
Remove
II.12
"Joining
the
PEAR
community"
and
merge
the
contents
into
III.15
"Introduction".
Remove
III.21
"Supporting
PEAR
development"
about
merge
contents
with
I.6
"Contributing".
Make
II.14
"Taking
over
an
unmaintained
package"
a
subentry
of
I.9.4
"Orphaned
Packages".
Remove
II
"New
Maintainers'
Guide"
and
the
subentry
II.10
"Joining
the
PEAR
community"
(all
other
subentries
have
been
moved
elsewhere).
Move
V.30
"PEAR
Installer
classes"
and
all
subentries
to
the
VI.54
"PEAR".
Remove
III.17.1
"Requirements
for
contributing
code"
and
merge
contents
with
II.13.1
"Step
1:
Requirements
for
a
proposal".
Remove
III.17.2
"How
to
contribute
code
in
practice"
and
merge
contents
with
II.13.1
"Step
1:
Requirements
for
a
proposal"
and
II.13.3
"Step
3:
Using
PEPr"
(the
part
about
creating
a
CVS
account).
Remove
III.17.3
"How
to
document
code
in
practice"
(this
page
is
currently
just
a
link
to
III.23
"Writing
documentation").
Move
I.7.2
"Developer
FAQ"
a
subentry
of
III
"Developer
Guide"
following
III.15
"Introduction".
Make
I.7.3
"Documentation/translation
FAQ"
a
subentry
of
III.23
"Writing
documentation".
Make
III.22
"Recommendations"
a
subentry
of
I.4
"Coding
standards"
(near
"Best
practices")
SUGGESTED
NEW
STRUCTURE
=======================
Preface
About
this
Manual
The
structure
of
the
Manual
Authors
and
Contributors
I.
About
PEAR
1.
Introduction
1.
What
is
PEAR?
16.
PEAR's
meaning
for
developers
2.
Installation
1.
Introduction
2.
Getting
the
manager
3.
Command
line
installer
4.
Installation
of
a
local
PEAR
copy
on
a
shared
host
5.
Manual
installation
6.
CVS
installer
7.
Installing
PECL
packages
3.
Support
6.
Contributing
1.
Introduction
2.
Writing
New
Packages
3.
Submitting
Patches
4.
Reporting
Bugs
5.
Writing
&
Translating
Documentation
6.
Wishlists
7.
FAQ
-
Frequently
Asked
Questions
1.
User
FAQ
8.
Constitution
1.
Summary
of
Important
points
2.
What
is
the
purpose
of
this
document?
3.
Official
Constitution
III.
Developer
Guide
15.
Introduction
1.
Who
needs
this
guide?
2.
Developer
FAQ
4.
Coding
Standards
1.
Indenting
and
Line
Length
2.
Control
Structures
3.
Function
Calls
4.
Class
Definitions
5.
Function
Definitions
6.
Comments
7.
Including
Code
8.
PHP
Code
Tags
9.
Header
Comment
Blocks
10.
Using
CVS
11.
Example
URLs
12.
Naming
Conventions
13.
File
Formats
14.
E_STRICT-compatible
code
15.
Error
Handling
Guidelines
16.
Best
practices
17.
Sample
File
(including
Docblock
Comment
standards)
1.
Package
Directory
Structure
22.
Recommendations
1.
Why
recommendations?
2.
Color
Representation
inside
PEAR
Packages
18.
The
PEAR
toolbox
13.
Proposing
a
new
package
(The
formal
proposal
process)
11.
How
best
to
contribute
to
PEAR
1.
Step
1:
Requirements
for
a
proposal
2.
Step
2:
Initiating
a
discussion
3.
Step
3:
Using
PEPr
4.
Changing
a
proposal
5.
Orphaned
PEPr
Proposals
4.
Orphaned
Packages
14.
Taking
over
an
unmaintained
package
2.
License
Announcement
3.
Guidelines
for
BC
breaking
releases
19.
The
package
definition
file
package.xml
1.
A
quick
and
dirty
guide
to
version
2.0
of
the
package
definition
file
package.xml
2.
Special
information
for
PECL
developers
3.
Detailed
Tag
Reference
for
package.xml
version
2.0
24.
Introduction
25.
Channels
1.
channel.xml
--
The
channel
definition
file
2.
XML-RPC
functions
--
XML-RPC
function
API
documentation
26.
Custom
File
Roles
1.
Using
a
customized
role
in
a
package.xml
2.
Defining
a
customized
role
for
use
in
a
package.xml
27.
Custom
File
Tasks
1.
Using
a
customized
task
in
a
package.xml
2.
Creating
customized
tasks
in
PHP
28.
Post-installation
Scripts
1.
Naming
requirements
for
a
post-install
script
PHP
file
2.
Structure
of
a
post-install
script
18.
The
package
definition
file
package.xml,
version
1.0
1.
Introduction
to
the
package
definition
file
package.xml
20.
Releasing
A
Package
1.
Prerequisites
2.
Validating
The
Package
Definition
File
3.
Packaging
The
Release
Tarball
4.
Releasing
The
Package
Through
The
Web
Interface
23.
Writing
documentation
1.
The
DocBook
XML
format
2.
Tips
for
good
documentation
3.
Documentation/translation
FAQ
V.
Core
components
29.
PEAR
base
classes
1.
PEAR
2.
PEAR_Exception
-
PHP
5
and
versions
above
3.
PEAR_ErrorStack
4.
PEAR_Error
[deprecated]
5.
System
VI.
Packages
31.
...
Christian
--
PEAR
Documentation
List
Mailing
List
(http://pear.php.net/)
To
unsubscribe,
visit:
http://www.php.net/unsub.php
Never miss a thing. Make Yahoo your homepage.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs