public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] Migrating man page to asciidoc?
Date: Sat, 25 Jun 2011 23:33:29 -0500	[thread overview]
Message-ID: <20110626043329.GA6710@linux1> (raw)
In-Reply-To: <4E06AC3D.4000901@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2697 bytes --]

On Sun, Jun 26, 2011 at 05:49:17AM +0200, Sebastian Pipping wrote:
> On 06/26/2011 05:36 AM, William Hubbs wrote:
> > That is already done if you use "git archive" to generate the archive
> > and use the tags in the git repository along with that. For an example,
> > look at openrc's git repository.
> 
> I'm aware of git archive - it does not support handling of generated
> files afaik.

That's correct, everything has to be in the repository if you use it.
The advantage of doing it that way is that anyone can come along
whenever they want to and generate a tarball that exactly matches the
one we generate at release time. Doing it the other way, they can't.
 
 That is why I think we should make asciidoc an RDEPEND in the ebuilds
 and set up the makefile so that the user generates the content if we
 stick with using asciidoc.

> >>> I see two ways around this: We can either make asciidoc a build time
> >>> dependency so that the user can use something like "make manpage" to
> >>> generate the manpage
> >>
> >> That adds quite some load on indirect dependencies for more or less
> >> nothing, as seen with Matt earlier.
> > 
> > That is exactly why I prefer the other option I mention below.
> 
> Alright.  On the other hand without dependencies you get nowhere: either
> you don#t have features or you build every wheel yourself.
 
 I'm not quite sure what you mean here.

> >>> or we can go back to the manpage that is in the git
> >>> repository.
> >>
> >> Do I have to list reasons against this option?
> > 
> > I think it would be helpful if you did since you did the conversion
> > without discussing it with the rest of the team first.
> 
> Peter Volkov voted for it, Peter Stuge said the list was rather silent.
>  So I went for it.  The migration in genkernel was of great help.  I see
> your apology in your other mail now, accepting.
> 
> Benefits of the current Asciidoc approach:
> 
>  - No need to write *roff manually.

I'll give you this one. :-)

>    Plus Asciidoc syntax is more readable.

You can use man ./catalyst.1 to read the man page.

> 
>  - Man page keeps itself in sync on
> 
>    - list of subarches
> 
>    - version of catalyst
> 
>  - Option to make XHTML from the same source
 
 The cons of the new approach, as I see it, are:

* auto generated content in tarballs makes it impossible to create the
exact same tarball twice.
* Now we need to have a build time dependency, at least for the live
ebuild, which pulls in about 34mb of downloads just to build the man
page.

Since we are just talking about a man page, imho this is a lot of bloat
for very little gain.

William


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-06-26  4:33 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-24  0:41 [gentoo-catalyst] Migrating man page to asciidoc? Sebastian Pipping
2011-06-24  7:07 ` Peter Volkov
2011-06-24 17:16   ` Sebastian Pipping
2011-06-25 17:30     ` Matt Turner
2011-06-25 17:50       ` Sebastian Pipping
2011-06-25 18:31         ` Matt Turner
2011-06-26  2:02         ` Matt Turner
2011-06-26  2:36           ` Sebastian Pipping
2011-06-26  2:49             ` William Hubbs
2011-06-26  3:14               ` Sebastian Pipping
2011-06-26  3:36                 ` William Hubbs
2011-06-26  3:46                   ` William Hubbs
2011-06-26  3:59                     ` Sebastian Pipping
2011-06-26  3:49                   ` Sebastian Pipping
2011-06-26  4:33                     ` William Hubbs [this message]
2011-06-26  4:57                       ` Sebastian Pipping
2011-06-26 15:44                         ` Matt Turner
2011-06-26 17:33                           ` William Hubbs
2011-06-26 17:55                             ` Peter Stuge
2011-06-26 18:02                               ` Matt Turner
2011-06-26 18:08                                 ` Peter Stuge
2011-06-26 23:01                                 ` Matt Turner
2011-06-26 23:26                               ` Jorge Manuel B. S. Vicetto
2011-06-27  0:00                                 ` Peter Stuge
2011-06-27  0:31                                   ` Jorge Manuel B. S. Vicetto
2011-06-27  1:06                                     ` Peter Stuge
2011-06-27  1:43                                     ` Sebastian Pipping
2011-06-27  3:58                                       ` Jorge Manuel B. S. Vicetto
2011-06-27 15:55                                         ` Sebastian Pipping
2011-07-03 23:28                                           ` Sebastian Pipping
2011-07-04  0:10                                             ` Matt Turner
2011-07-04  0:18                                               ` Sebastian Pipping
2011-06-27  0:39                                   ` Peter Stuge
2011-06-26 17:55                             ` Matt Turner
2011-06-26 18:17                               ` Sebastian Pipping
2011-06-26 19:25                                 ` William Hubbs
2011-06-26  4:10                 ` Matt Turner
2011-06-26  4:14                   ` Sebastian Pipping
2011-06-26  4:44                     ` William Hubbs
2011-06-26  4:46                       ` Sebastian Pipping
2011-06-27  6:33                   ` Peter Volkov
2011-06-26 16:48           ` Sebastian Pipping
2011-06-26 17:04             ` Peter Stuge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110626043329.GA6710@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox