Bug 54789

Summary: [PATCH] brush up the "New Users" article
Product: Documentation Reporter: Lukas Ertl <l.ertl>
Component: Books & ArticlesAssignee: josef
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
newusers.diff none

Description Lukas Ertl 2003-07-23 22:50:21 UTC
The "New Users" article is a bit out of date. What I changed:

*) change "FreeBSD" and "Unix" to "&os;" and "&unix;"
*) tag usernames properly
*) proper SGML formatting
*) remove parts that seem to be out of date
Comment 1 Marc Fonvieille freebsd_committer freebsd_triage 2003-07-23 23:00:54 UTC
Hi,

Arghh :((  You're doing a lot of whitespaces/wrapline changes with
content changes which is very difficult for us to read and is not FDP
compliant (I think I already pointed the whitespace thing in an audit
trail of one of your PRs).

Anyway, do not worry I will look at your PR :)

Marc
Comment 2 Lukas Ertl 2003-07-24 09:57:57 UTC
On Thu, 24 Jul 2003, Marc Fonvieille wrote:

> Arghh :((  You're doing a lot of whitespaces/wrapline changes with
> content changes which is very difficult for us to read and is not FDP
> compliant (I think I already pointed the whitespace thing in an audit
> trail of one of your PRs).

Sorry, but I didn't intend to do whitespaces/wrapline changes.
"<username>root</username>" simply takes up more space than just "root",
and I didn't want to leave long lines. Does the FDP have a rule for this?

> Anyway, do not worry I will look at your PR :)

Thanks, and sorry again :-)

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Comment 3 Marc Fonvieille freebsd_committer freebsd_triage 2003-07-24 11:22:18 UTC
On Thu, Jul 24, 2003 at 10:57:57AM +0200, Lukas Ertl wrote:
> On Thu, 24 Jul 2003, Marc Fonvieille wrote:
> 
> > Arghh :((  You're doing a lot of whitespaces/wrapline changes with
> > content changes which is very difficult for us to read and is not FDP
> > compliant (I think I already pointed the whitespace thing in an audit
> > trail of one of your PRs).
> 
> Sorry, but I didn't intend to do whitespaces/wrapline changes.
> "<username>root</username>" simply takes up more space than just "root",
> and I didn't want to leave long lines. Does the FDP have a rule for this?
>

http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-style.html#AEN3267

(In fact you should only submit content changes, we will handle
whitespaces/wrapline by ourselves (only if it worth...).)

For an example, let me paste a part of keramida@ mail:

---
You should definitely avoid making changes that have this style:

	- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxx
	- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxxxxx

This is where wrapping is evil, and it clutters up the diff.  But it's
OK to wrap when changes like this are made:

	- xxxxxxxxxxxxxxxxxxxxxxx
	+ xxxxxxxxxxxxxxxxxxxxxxxyyy
	+ yyyyyyyyyyyyyyyyyyyyyyyy
	+ yyyyyyyy

Since it's only a little part of 'yyy' that affects the 'xxx' line.
Of course, the same is true for changes like:

	+ yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
	+ yyyyyyyyyyyyyyyyyyyyyyyyyyyy
	+ yyyyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

To make a long story short, where only one of the old lines is listed,
regardless of wrapping or not, you are more than free to wrap the
resulting text.
---

Another thing to avoid to change/add in a content submission is the
"trailingspaces".  Each editor allows you to check for these nasty
little spaces, you should not add them, and even if you find one you
should not remove it in a content change.
So you could tell me "Why not remove the ones currently present in our
files?", well cause it will spend a lot of CVS repo spaces and it will
be a good thing only if no new trailingspace is added in next commits.

When you write new things, you really have to respect indentation rules:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-style.html#AEN3233
you will have to configure your editor to respect indentation levels,
and to replace the 1st 8 spaces at the beginning of a line with a tab.

About some changes like s/FreeBSD/&os;, in my opinion &os; should be
used in new content, replacing old FreeBSD with &os; does not bring
something new to the reader.

Please do not take these for you, I'm talking in general.  I just hope
this will help people to send us the greatest contributions, and once
again http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/
should be the reference.

Marc
Comment 4 Lukas Ertl 2003-07-24 11:34:27 UTC
On Thu, 24 Jul 2003, Marc Fonvieille wrote:

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-style.html#AEN3267
>
> (In fact you should only submit content changes, we will handle
> whitespaces/wrapline by ourselves (only if it worth...).)

Ok, now that you pointed this one out it's clear to me, thanks.

> When you write new things, you really have to respect indentation rules:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-style.html#AEN3233
> you will have to configure your editor to respect indentation levels,
> and to replace the 1st 8 spaces at the beginning of a line with a tab.

Were there any indentation/trailing whitespace bugs in my submit? I'm
using the suggested .vimrc.

regards,
le

-- 
Lukas Ertl                             eMail: l.ertl@univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/
Comment 5 Marc Fonvieille freebsd_committer freebsd_triage 2003-07-24 13:28:50 UTC
On Thu, Jul 24, 2003 at 12:34:27PM +0200, Lukas Ertl wrote:
> 
> Were there any indentation/trailing whitespace bugs in my submit? I'm
> using the suggested .vimrc.
>

I did not see any problem of this sort ins your submission.
As I said in my previous message:
> Please do not take these for you, I'm talking in general.

The audit-trail is CCed to freebsd-doc@, I think all our talk can help
people to improve submissions.

Marc
Comment 6 josef freebsd_committer freebsd_triage 2004-01-15 23:35:59 UTC
Responsible Changed
From-To: freebsd-doc->josef

I'll take this one.
Comment 7 josef freebsd_committer freebsd_triage 2004-01-17 19:02:08 UTC
State Changed
From-To: open->closed

Committed with some changes, thanks for your submission.