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

DBZ-1687 DBZ-1729 Consolidate attributes, Antora process clean-up #1224

Merged
merged 6 commits into from
Jan 28, 2020

Conversation

Naros
Copy link
Member

@Naros Naros commented Jan 23, 2020

This PR covers documentation action items outlined in the following two issues:

https://issues.redhat.com/browse/DBZ-1687
https://issues.redhat.com/browse/DBZ-1729

Copy link
Member

@gunnarmorling gunnarmorling left a comment

Choose a reason for hiding this comment

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

Nice! A few comments inline.

DOCUMENTATION.md Outdated

The general rule is if an attribute changes frequently or is related to a specific version or subset of versions of Debezium, it likely belongs in the `antora.yml` file in this repository. If the attribute changes infrequent or is not specific to a given version of Debezium, its easier to maintain that in the various playbook files in the Debezium website repository.

Lets say we need to add an attribute that points to our JIRA issue for issue links, that would be an example of an attrbute that would be defined in the playbook. But if we needed to add an attribute that points to a specific version of a naven artifact or reference a specific version of a dependency, that's more appropriate for the `antora.yml` component descriptor located in this repository.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Lets say we need to add an attribute that points to our JIRA issue for issue links, that would be an example of an attrbute that would be defined in the playbook. But if we needed to add an attribute that points to a specific version of a naven artifact or reference a specific version of a dependency, that's more appropriate for the `antora.yml` component descriptor located in this repository.
Lets say we need to add an attribute that points to our JIRA issue for issue links,
that would be an example of an attrbute that would be defined in the playbook.
But if we needed to add an attribute that points to a specific version of a Maven artifact or reference a specific version of a dependency,
that's more appropriate for the `antora.yml` component descriptor located in this repository.

Copy link
Member

Choose a reason for hiding this comment

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

Fixed a typo (naven) and also changed to "one thought per line" wrapping style. Let's stick to that for easier diffing in case of future changes.

DOCUMENTATION.md Outdated

* _attributes.adoc
* antora.yml
The `antora.yml` file in the `master` branch always uses version called _master_. It is important right before a release when applying the change log and contributor changes to modify this file to reference the correct major and minor version. It's also important to make any necessary changes to version-specific attributes in this file at the same time.
Copy link
Member

Choose a reason for hiding this comment

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

Same as above: can you change to one thought/sentence per line, avoiding super-long lines? Thanks!

DOCUMENTATION.md Outdated

### Attributes
So when releasing version 2.1 as an example, change `antora.yml` from:
Copy link
Member

Choose a reason for hiding this comment

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

That would better go to the release procedure document.

* Typos and formatting changes.
* Moved release procedure steps from DOCUMENTATION.md to RELEASING.md.
@@ -30,6 +30,21 @@ It currently exists in two versions, one in the main code repo and one on the we
JIRA issues that break backwards compatability for existing consumers, should be marked with the "add-to-upgrade-guide" label.
Search for them using [this query](https://issues.jboss.org/issues/?jql=labels%20%3D%20add-to-upgrade-guide) and describe the implications and required steps for upgrading in the changelog on the website.

## Update antora.yml
Copy link
Member

Choose a reason for hiding this comment

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

@jpechane, are you aware of this procedure?

@gunnarmorling
Copy link
Member

Nice improvement, merging. Let's stick to the "one sentence/thought per line" rule even more strictly going forward. Thanks!

@gunnarmorling gunnarmorling merged commit d43fdbc into debezium:master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants