* Proposal - Add xe manpages to xen-org
@ 2012-09-24 15:06 Grant McWilliams
[not found] ` <CAGnmK4wB3ZJ3Tb9-VFgWCkcZNwibDzRYV8tvb14vLgw1wj2awQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Grant McWilliams @ 2012-09-24 15:06 UTC (permalink / raw)
To: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR, Lars Kurth
[-- Attachment #1.1: Type: text/plain, Size: 1135 bytes --]
Xen Community,
I have a team of people frantically creating manpages for the xe
command and all of it's 361 subcommands. The initial source documentation
is in asciidoc but also saved as Docbook. From docbook we transform to
epub, html, manpage and pdf. This is currently being hosted in a subversion
server at a Seattle area college and we'd like to move it to the xen-org
github so it's public, can be reviewed, commented on and contributed too.
We will also document the additional commands specific to xenserver/xcp
(xe-edit-bootloader and others like it as time permits.
For each section of commands we're also writing xcp tools that describe how
to script the xe command and use it's various options/parameters. These
tools have been a godsend in our own administration so far and should be
packages and distributed themselves.
All of our documentation is created with future XSLT transforms being able
to include or remove sections with the Administration guide and xe help in
mind.
This is an official proposal to add this project to xen-org.
Grant McWilliams
Professor of Computer Science
Edmonds Community College
[-- Attachment #1.2: Type: text/html, Size: 1356 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Proposal - Add xe manpages to xen-org
[not found] ` <CAGnmK4wB3ZJ3Tb9-VFgWCkcZNwibDzRYV8tvb14vLgw1wj2awQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-09-24 15:21 ` Lars Kurth
[not found] ` <50607A68.2090604-LM2mM/qkH7s@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Lars Kurth @ 2012-09-24 15:21 UTC (permalink / raw)
To: Grant McWilliams
Cc: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR
Grant,
this sounds like a fantastic idea. I will leave this for community
discussion for now, and follow-up whether we need a formal vote in about
a week's time. I guess there is also some detail to sort out such as
repo name, exact location, anything legal (e.g. does the source have GPL
headers), etc.
Best Regards
Lars
On 24/09/2012 16:06, Grant McWilliams wrote:
> Xen Community,
>
> I have a team of people frantically creating manpages for the xe
> command and all of it's 361 subcommands. The initial source
> documentation is in asciidoc but also saved as Docbook. From docbook
> we transform to epub, html, manpage and pdf. This is currently being
> hosted in a subversion server at a Seattle area college and we'd like
> to move it to the xen-org github so it's public, can be reviewed,
> commented on and contributed too.
>
> We will also document the additional commands specific to
> xenserver/xcp (xe-edit-bootloader and others like it as time permits.
>
> For each section of commands we're also writing xcp tools that
> describe how to script the xe command and use it's various
> options/parameters. These tools have been a godsend in our own
> administration so far and should be packages and distributed themselves.
>
> All of our documentation is created with future XSLT transforms being
> able to include or remove sections with the Administration guide and
> xe help in mind.
>
> This is an official proposal to add this project to xen-org.
>
>
> Grant McWilliams
> Professor of Computer Science
> Edmonds Community College
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <50607A68.2090604-LM2mM/qkH7s@public.gmane.org>
@ 2012-09-25 8:22 ` Ian Campbell
[not found] ` <1348561354.3452.105.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2012-09-25 8:22 UTC (permalink / raw)
To: lars.kurth-LM2mM/qkH7s@public.gmane.org
Cc: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
On Mon, 2012-09-24 at 16:21 +0100, Lars Kurth wrote:
> On 24/09/2012 16:06, Grant McWilliams wrote:
> > Xen Community,
> >
> > I have a team of people frantically creating manpages for the xe
> > command and all of it's 361 subcommands. The initial source
> > documentation is in asciidoc but also saved as Docbook. From docbook
> > we transform to epub, html, manpage and pdf. This is currently being
> > hosted in a subversion server at a Seattle area college and we'd like
> > to move it to the xen-org github so it's public, can be reviewed,
> > commented on and contributed too.
IME the best way to ensure that documentation remains current as the
code base changes is to check it in next to the code in the same repo.
This requires a little bit of discipline from the maintainers, to
remember to request appropriate docs updates when code patches require
them, but has been pretty effective e.g. for the xen-unstable code base.
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <1348561354.3452.105.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
@ 2012-09-25 14:19 ` Anil Madhavapeddy
[not found] ` <2D15A521-63E8-4CE7-8D42-62A67FBD75B2-1e/NZYDlv+odnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Anil Madhavapeddy @ 2012-09-25 14:19 UTC (permalink / raw)
To: Ian Campbell
Cc: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
On 25 Sep 2012, at 04:22, Ian Campbell <Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org> wrote:
> On Mon, 2012-09-24 at 16:21 +0100, Lars Kurth wrote:
>> On 24/09/2012 16:06, Grant McWilliams wrote:
>>> Xen Community,
>>>
>>> I have a team of people frantically creating manpages for the xe
>>> command and all of it's 361 subcommands. The initial source
>>> documentation is in asciidoc but also saved as Docbook. From docbook
>>> we transform to epub, html, manpage and pdf. This is currently being
>>> hosted in a subversion server at a Seattle area college and we'd like
>>> to move it to the xen-org github so it's public, can be reviewed,
>>> commented on and contributed too.
>
> IME the best way to ensure that documentation remains current as the
> code base changes is to check it in next to the code in the same repo.
>
> This requires a little bit of discipline from the maintainers, to
> remember to request appropriate docs updates when code patches require
> them, but has been pretty effective e.g. for the xen-unstable code base.
While xe man-pages are sorely needed, wouldn't it be better to autogenerate
it from the existing xe/xapi help by converting it to groff/asciidoc?
Manually keeping the zillion commands in sync will be quite the ongoing
effort.
-anil
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <2D15A521-63E8-4CE7-8D42-62A67FBD75B2-1e/NZYDlv+odnm+yROfE0A@public.gmane.org>
@ 2012-09-25 14:30 ` Ian Campbell
[not found] ` <1348583438.11229.23.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2012-09-25 14:30 UTC (permalink / raw)
To: Anil Madhavapeddy
Cc: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
On Tue, 2012-09-25 at 15:19 +0100, Anil Madhavapeddy wrote:
> On 25 Sep 2012, at 04:22, Ian Campbell <Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org> wrote:
>
> > On Mon, 2012-09-24 at 16:21 +0100, Lars Kurth wrote:
> >> On 24/09/2012 16:06, Grant McWilliams wrote:
> >>> Xen Community,
> >>>
> >>> I have a team of people frantically creating manpages for the xe
> >>> command and all of it's 361 subcommands. The initial source
> >>> documentation is in asciidoc but also saved as Docbook. From docbook
> >>> we transform to epub, html, manpage and pdf. This is currently being
> >>> hosted in a subversion server at a Seattle area college and we'd like
> >>> to move it to the xen-org github so it's public, can be reviewed,
> >>> commented on and contributed too.
> >
> > IME the best way to ensure that documentation remains current as the
> > code base changes is to check it in next to the code in the same repo.
> >
> > This requires a little bit of discipline from the maintainers, to
> > remember to request appropriate docs updates when code patches require
> > them, but has been pretty effective e.g. for the xen-unstable code base.
>
> While xe man-pages are sorely needed, wouldn't it be better to autogenerate
> it from the existing xe/xapi help by converting it to groff/asciidoc?
According to the original mail it is in asciidoc already, so maybe this
is already the case?
I agree that actually in the source is even better than next to the
source, if it's an option...
> Manually keeping the zillion commands in sync will be quite the ongoing
> effort.
Someone still needs to write/update the text regardless of where it
lives, but that's as much a code review thing as anything else.
Ian.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <1348583438.11229.23.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
@ 2012-09-25 15:53 ` Lars Kurth
[not found] ` <5061D362.8070402-LM2mM/qkH7s@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Lars Kurth @ 2012-09-25 15:53 UTC (permalink / raw)
To: Ian Campbell
Cc: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
On 25/09/2012 15:30, Ian Campbell wrote:
> According to the original mail it is in asciidoc already, so maybe
> this is already the case?
My understanding is that the existing XenServer/XCP docs are primarily
task driven (i.e. “to achieve X you do Y”). Man pages are per command
references (i.e. “doing Y will cause X to happen”), which is hardly
covered in
existing XS documentation.
> I agree that actually in the source is even better than next to the
> source, if it's an option...
>
>> Manually keeping the zillion commands in sync will be quite the ongoing
>> effort.
> Someone still needs to write/update the text regardless of where it
> lives, but that's as much a code review thing as anything else.
>
I wouldn't want to create a barrier for Grant's students (or other
people that want to contribute). Remember that most are not developers
but users of XCP. Embedding the documentation into the code would mean:
a) existing document source code would need to be refactored
b) it would create a psychological barrier to contribute
c) possibly unnecessary process
Keeping the documentation separate (either in a separate repo, or
directory in an existing repo) is probably the easiest and quickest way
to get this project off the ground quickly.
Lars
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <5061D362.8070402-LM2mM/qkH7s@public.gmane.org>
@ 2012-09-25 16:01 ` Ian Campbell
[not found] ` <1348588898.12592.16.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Ian Campbell @ 2012-09-25 16:01 UTC (permalink / raw)
To: lars.kurth-LM2mM/qkH7s@public.gmane.org
Cc: xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
On Tue, 2012-09-25 at 16:53 +0100, Lars Kurth wrote:
> On 25/09/2012 15:30, Ian Campbell wrote:
> > According to the original mail it is in asciidoc already, so maybe
> > this is already the case?
> My understanding is that the existing XenServer/XCP docs are primarily
> task driven (i.e. “to achieve X you do Y”). Man pages are per command
> references (i.e. “doing Y will cause X to happen”), which is hardly
> covered in
> existing XS documentation.
That may all be true. But I was talking about about the docs which Grant
has produced, which he said were in asciidoc.
> > I agree that actually in the source is even better than next to the
> > source, if it's an option...
> >
> >> Manually keeping the zillion commands in sync will be quite the ongoing
> >> effort.
> > Someone still needs to write/update the text regardless of where it
> > lives, but that's as much a code review thing as anything else.
> >
> I wouldn't want to create a barrier for Grant's students (or other
> people that want to contribute). Remember that most are not developers
> but users of XCP. Embedding the documentation into the code would mean:
> a) existing document source code would need to be refactored
> b) it would create a psychological barrier to contribute
> c) possibly unnecessary process
>
> Keeping the documentation separate (either in a separate repo, or
> directory in an existing repo) is probably the easiest and quickest way
> to get this project off the ground quickly.
In which case I would suggest a directory of the existing xen-api repo
and not a completely separate one.
BTW, I wasn't suggesting that people contributing docs needed to become
code contributors too. Only the inverse which is that people changing
the code should be expect to simultaneously update any docs relevant to
their change. Obviously it is also fine to improve the docs without
changing the code.
Ian.
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Proposal - Add xe manpages to xen-org
[not found] ` <1348588898.12592.16.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
@ 2012-09-26 15:45 ` Grant McWilliams
0 siblings, 0 replies; 8+ messages in thread
From: Grant McWilliams @ 2012-09-26 15:45 UTC (permalink / raw)
To: Ian Campbell
Cc: xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
xen-api-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org
[-- Attachment #1.1: Type: text/plain, Size: 2628 bytes --]
On Tue, Sep 25, 2012 at 9:01 AM, Ian Campbell <Ian.Campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>wrote:
>
> That may all be true. But I was talking about about the docs which Grant
> has produced, which he said were in asciidoc.
>
> > > I agree that actually in the source is even better than next to the
> > > source, if it's an option...
> > >
> > >> Manually keeping the zillion commands in sync will be quite the
> ongoing
> > >> effort.
> > > Someone still needs to write/update the text regardless of where it
> > > lives, but that's as much a code review thing as anything else.
> > >
> > I wouldn't want to create a barrier for Grant's students (or other
> > people that want to contribute). Remember that most are not developers
> > but users of XCP. Embedding the documentation into the code would mean:
> > a) existing document source code would need to be refactored
> > b) it would create a psychological barrier to contribute
> > c) possibly unnecessary process
> >
> > Keeping the documentation separate (either in a separate repo, or
> > directory in an existing repo) is probably the easiest and quickest way
> > to get this project off the ground quickly.
>
> In which case I would suggest a directory of the existing xen-api repo
> and not a completely separate one.
>
I agree a directory within xen-api would be great.
> BTW, I wasn't suggesting that people contributing docs needed to become
> code contributors too. Only the inverse which is that people changing
> the code should be expect to simultaneously update any docs relevant to
> their change. Obviously it is also fine to improve the docs without
> changing the code.
>
> Ian.
>
The way I see it is we can create documentation for the xe help command
in source code the way it's done now (I'm guessing) and export that to man
pages or we can go the other way around.
The way I'd envisioned this is we create the ALL documentation in asciidoc
which gets transformed into Docbook. From Docbook
we can use XSLT to make anything we want including Admin Guide, manpages
and xe help. We can export only the sections we need and in the format
we need so for xe help we could include only NAME, SYNOPSIS and DESCRIPTION
whereas for manpages we'd include all sections etc... I'd need to know more
about how the current xe help is created to know if we could transform to
that. This way
it keeps the documentation people writing in a publishing system they know
and the coders could either jump over to xen-api github
and update the docs when needed or they could ping the people maintaining
them.
This is all theory of course.
Grant McWilliams
[-- Attachment #1.2: Type: text/html, Size: 3500 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-09-26 15:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 15:06 Proposal - Add xe manpages to xen-org Grant McWilliams
[not found] ` <CAGnmK4wB3ZJ3Tb9-VFgWCkcZNwibDzRYV8tvb14vLgw1wj2awQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-24 15:21 ` Lars Kurth
[not found] ` <50607A68.2090604-LM2mM/qkH7s@public.gmane.org>
2012-09-25 8:22 ` [Xen-devel] " Ian Campbell
[not found] ` <1348561354.3452.105.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2012-09-25 14:19 ` Anil Madhavapeddy
[not found] ` <2D15A521-63E8-4CE7-8D42-62A67FBD75B2-1e/NZYDlv+odnm+yROfE0A@public.gmane.org>
2012-09-25 14:30 ` Ian Campbell
[not found] ` <1348583438.11229.23.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2012-09-25 15:53 ` Lars Kurth
[not found] ` <5061D362.8070402-LM2mM/qkH7s@public.gmane.org>
2012-09-25 16:01 ` Ian Campbell
[not found] ` <1348588898.12592.16.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2012-09-26 15:45 ` Grant McWilliams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).