Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More documentation fixes #367

Merged
merged 10 commits into from Nov 7, 2014
Merged

Conversation

jrha
Copy link
Member

@jrha jrha commented Nov 3, 2014

Fixes all documentation issues open against configuration-modules-core for ncm-cdp, ncm-ccm and ncm-altlogrotate.

Explain how fetch_offset and fetch_smear actually function.
It is not clear whether base_url can actually be used as it does not seem
that it should be possible for profile to not be a valid URL.
It is applied in the perl code of ccm rather than the component.
@hpcugentbot
Copy link

Test PASSed.

@jrha jrha added this to the 14.10 milestone Nov 3, 2014

A named list containing logrotate structures.

=head1 ALTLOGROTATE
Follows the logrotate config format, so see C<< man 8 logrotate >> for a detailed explaination of all options.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in explaination

@stdweird
Copy link
Member

stdweird commented Nov 3, 2014

minor remarks, LGTM otherwise

@@ -13,10 +13,162 @@ The I<altlogrotate> component manages the log rotate configuration files.

=head1 RESOURCES

=head2 /software/components/altlogrotate/entries
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't comment on the line directly because it's not in the diff but please can you fix the @comp on line 8? Also it would be nice to note why this component is called "altlogrotate" rather than logrotate.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why, I was wondering that too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All I can find is a reference in the CERN twiki saying:

ncm-logrotate 1.0.2 obsoleted by ncm-altlogrotate

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the reason. There was an original logrotate component deprecated a while ago in favor of a new one called altlogrotate... This was a long while ago, I think before I actively joined in 2005...

@hpcugentbot
Copy link

Test PASSed.

1 similar comment
@hpcugentbot
Copy link

Test PASSed.

@jrha
Copy link
Member Author

jrha commented Nov 4, 2014

I was unable to find out what context is supposed to be used for by reading through the ccm and ncm-cdispd code. I have therefore stated that it is unsupported until we either remove it or figure out what it was for. It seems to be related to preprocessor which also states "Currently not used.".

@hpcugentbot
Copy link

Test PASSed.

@jouvin
Copy link
Contributor

jouvin commented Nov 4, 2014

I don't know either but I don't use this configuration module. It would be good to get feedback from somebody using ncm-cdp. Anyway your wording is fine with me.

@jrha
Copy link
Member Author

jrha commented Nov 5, 2014

I have removed references to the schema validation rules.
@ned21, what are your feelings on documenting the types?

In an ideal world I guess we would be generating this documentation from Pan annotations...

@hpcugentbot
Copy link

Test PASSed.

1 similar comment
@hpcugentbot
Copy link

Test PASSed.

@ned21
Copy link
Contributor

ned21 commented Nov 5, 2014

@jrha - I think the types change sufficiently infrequently that it's not a problem to include it, although as you say, ideally this should come from PAN.

I am OK with merging this.

@hpcugentbot
Copy link

Test PASSed.

@jrha
Copy link
Member Author

jrha commented Nov 7, 2014

As I mentioned at the stand-up yesterday, I won't merge my own PR, so when everyone is happy please merge!

@jouvin
Copy link
Contributor

jouvin commented Nov 7, 2014

I thought I did it!

jouvin added a commit that referenced this pull request Nov 7, 2014
@jouvin jouvin merged commit b6e3ece into quattor:master Nov 7, 2014
@jrha jrha deleted the more-documentation-fixes branch November 7, 2014 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants