-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fixes Documentation issue #245 #339
Fixes Documentation issue #245 #339
Conversation
docs/tutorial/installation.rst
Outdated
|
||
Ensure the following steps are taken to configure `passive_declares`: | ||
|
||
1. **Access Configuration File**: Locate the `config.toml` file for Fedora Messaging. This file is typically found at `config.toml.example`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That part is not correct, applications will usually have their Fedora Messaging config file at /etc/fedora-messaging/config.toml". The
.example` file is just what is provided by the library as an example, that's not what client applications will actually use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it fine now ?
06a795a
to
877da47
Compare
@abompard i have made the necessary changes, could you please review ? |
This setting is actually only necessary for clients of Fedora's restricted broker. Please add it to the appropriate section at the bottom of |
0248b17
to
72f8dc1
Compare
@abompard i have done the required changes as per your instructions. Kindly review it. |
docs/user-guide/quick-start.rst
Outdated
|
||
**Note:** It is essential to configure the ``passive_declares`` option correctly in the ``/etc/fedora-messaging/config.toml`` file. This setting is mandatory for users of Fedora's ``/pubsub`` vhost and should be set to ``true``. It controls the declaration of queues and exchanges. | ||
|
||
Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the text above, I don't think this example brings a lot of value.
docs/user-guide/quick-start.rst
Outdated
@@ -145,3 +145,11 @@ Connecting the Fedora's private virtual host requires working with the Fedora | |||
infrastructure team. The current process and configuration for this is | |||
documented in the `infrastructure team's development guide | |||
<https://fedora-infra-docs.readthedocs.io/en/latest/dev-guide/messaging.html>`_. | |||
|
|||
**Note:** It is essential to configure the ``passive_declares`` option correctly in the ``/etc/fedora-messaging/config.toml`` file. This setting is mandatory for users of Fedora's ``/pubsub`` vhost and should be set to ``true``. It controls the declaration of queues and exchanges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the line length convention of this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @abompard i have made the changes kindly review it.
4a4dc2b
to
6da2195
Compare
@abompard I have made the changes according to the line length convention and removed the example section as you said, Kindly review it if further any changes are required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Ah there's just one small thing, we have a linter that detected something wrong with the files not ending in a newline. Please setup pre-commit: |
9d7162e
to
68abaf7
Compare
68abaf7
to
6f35e05
Compare
Summary
Fixes #245
This pull request aims to improve the documentation for configuring Fedora Messaging by adding a reminder regarding the
passive_declares
option to be settrue
.Changes Made
passive_declares
totrue
in the Fedora Messaging configuration.config.toml
file and set thepassive_declares
option.Purpose
By enhancing the documentation with this reminder, we aim to reduce potential issues for users of Fedora's
/pubsub
vhost who might forget to configurepassive_declares
. Ensuring thatpassive_declares
is correctly set totrue
is essential for proper functioning of queues and exchanges in Fedora Messaging.Here is the preview of the changes made: