List for cgit developers and users
 help / color / mirror / Atom feed
From: jamie.couture at gmail.com (Jamie Couture)
Subject: [PATCH 2/8] changed wording of deprecated options
Date: Wed, 21 Mar 2012 09:09:28 -0400	[thread overview]
Message-ID: <CAH-DoZ4aH9nG+9kbM0NHLvX5bb5YJmaR0zgJ6Nx42hNMfeFcqQ@mail.gmail.com> (raw)
In-Reply-To: <4F697FFB.4030007@hupie.com>

On Wed, Mar 21, 2012 at 3:15 AM, Ferry Huberts <mailings at hupie.com> wrote:

>
>
> On 21-03-12 02:07, Jamie Couture wrote:
>
>> Signed-off-by: Jamie Couture<jamie.couture at gmail.**com<jamie.couture at gmail.com>
>> >
>> ---
>>  cgitrc.5.txt |   23 +++++++++--------------
>>  1 file changed, 9 insertions(+), 14 deletions(-)
>>
>> diff --git a/cgitrc.5.txt b/cgitrc.5.txt
>> index 971d960..2329087 100644
>> --- a/cgitrc.5.txt
>> +++ b/cgitrc.5.txt
>> @@ -457,26 +457,21 @@ DEPRECATED OPTIONS
>>  ------------------
>>
>>  index-header::
>> -       The content of the file specified with this option will be
>> included
>> -       verbatim above the repository index. This setting is deprecated,
>> and
>> -       will not be supported by cgit-1.0 (use root-readme instead).
>> Default
>> -       value: none.
>> +       Use `root-readme` instead. Deprecated since _v1.0_. The content
>> of the
>> +       file specified with this option will be included verbatim above
>> the
>> +       repository index. Default value: none.
>>
>>
>
> I think you didn't read it well enough :-)
> The option is deprecated _now_, and _unsupported_ in 1.0
>
> No, I certainly didn't look in history to say at which version these
options have been deprecated. index-info is dead code and will never be
executed, whereas index-header, nocache and repo.group are still possible
to reach.

Sister patches in this series remove this respective code completely,
I figured the messaging could be changed to explicitly point that out,
but arguably there is no need. One could skip this patch.

I'll add that I didn't bother submitting patches to remove 'nocache' or
repo.group
since '--noacache' is useful for command line and debugging purposes, and
repo.group
is legacy and didn't want to break anyone's configuration.

Same for the other options, so no need to change the texts IMHO
>
>

>
>   index-info::
>> -       The content of the file specified with this option will be
>> included
>> -       verbatim below the heading on the repository index page. This
>> setting
>> -       is deprecated, and will not be supported by cgit-1.0 (use
>> root-desc
>> -       instead). Default value: none.
>> +       Use `root-desc` instead. Deprecated since _v1.0_. The content of
>> the file
>> +       specified with this option will be included verbatim below the
>> heading on
>> +       the repository index page. Default value: none.
>>
>>  nocache::
>> -       If set to the value "1" caching will be disabled. This settings is
>> -       deprecated, and will not be honored starting with cgit-1.0.
>> Default
>> -       value: "0".
>> +       Deprecated since _v1.0_. If set to the value "1" caching will be
>> +       disabled. Default value: "0".
>>
>>  repo.group::
>> -       Legacy alias for "section". This option is deprecated and will
>> not be
>> -       supported in cgit-1.0.
>> -
>> +       Deprecated since _v1.0_. Legacy alias for "section".
>>
>>
>>  REPOSITORY-SPECIFIC CGITRC FILE
>>
>
> --
> Ferry Huberts
>
>



  reply	other threads:[~2012-03-21 13:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  1:07 [PATCH] Some Documentation Changes jamie.couture
2012-03-21  1:07 ` [PATCH 1/8] cgitrc.5.txt: move deprecated options jamie.couture
2012-03-21  7:12   ` mailings
2012-03-21  1:07 ` [PATCH 2/8] changed wording of " jamie.couture
2012-03-21  7:15   ` mailings
2012-03-21 13:09     ` jamie.couture [this message]
2012-03-21  1:07 ` [PATCH 3/8] deprecate option index-header jamie.couture
2012-03-21  1:07 ` [PATCH 4/8] deprecate option index-info jamie.couture
2012-03-21  1:07 ` [PATCH 5/8] cgitrc.5.txt: change 'formatstring' to two words jamie.couture
2012-03-21  7:15   ` mailings
2012-03-21  1:07 ` [PATCH 6/8] cgitrc.5.txt: correct a few typos jamie.couture
2012-03-21  7:16   ` mailings
2012-03-21  1:07 ` [PATCH 7/8] correct usage of 'webinterface' jamie.couture
2012-03-21  7:17   ` mailings
2012-03-21  1:07 ` [PATCH 8/8] cgitrc.5.txt: one vs. two word changes jamie.couture
2012-03-21  7:19 ` [PATCH] Some Documentation Changes mailings
2012-03-21  8:27   ` larsh
2012-03-21  8:25     ` mailings

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=CAH-DoZ4aH9nG+9kbM0NHLvX5bb5YJmaR0zgJ6Nx42hNMfeFcqQ@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /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;
as well as URLs for NNTP newsgroup(s).