-
Notifications
You must be signed in to change notification settings - Fork 43
DOCSP-35821: link to jar download #518
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
Conversation
source/quick-start.txt
Outdated
.. tip:: Download ``.jar`` File | ||
|
||
You can directly download the ``.jar`` file for the {+driver-short+} |
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.
Suggestion:
I think JAR is usually not referenced by it's filename extension, but rather by the file format "JAR". See https://en.wikipedia.org/wiki/JAR_(file_format)
E.g.
tip:: Download the JAR 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.
Thanks for picking up this ticket. I think this accomplishes the goal of the ticket, but I think the information might cause confusion without additional details.
I think the content might change after confirming with the DBX team, so requesting changes so I can look again after that.
source/quick-start.txt
Outdated
@@ -50,6 +50,12 @@ If you are using `Gradle <https://gradle.org/>`__, add the following to your | |||
|
|||
.. include:: /includes/quick-start/gradle-versioned.rst | |||
|
|||
.. tip:: Download the JAR File | |||
|
|||
You can directly download the JAR file for the {+driver-short+} |
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.
Suggestion:
I think "directly" could provide contrast when compared with another option, but I think omitting it when there isn't a comparison being made would be better.
"You can download..."
source/quick-start.txt
Outdated
You can directly download the JAR file for the {+driver-short+} | ||
from the `Maven MongoDB Driver artifact entry | ||
<https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync/{+full-version+}>`__. | ||
|
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.
Suggestion:
I think this could use similar wording as this download mention:
"You can download the JAR file for the MongoDB Java Driver from the Maven repository."
source/quick-start.txt
Outdated
@@ -50,6 +50,12 @@ If you are using `Gradle <https://gradle.org/>`__, add the following to your | |||
|
|||
.. include:: /includes/quick-start/gradle-versioned.rst | |||
|
|||
.. tip:: Download the JAR 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.
Issue/Suggestion:
Could you confirm whether you might need to make the following changes in a technical review?
My guess is that the goal of the ticket is to provide a download location so that the user can download and add them to their app classpath so that they can perform MongoDB operations.
However, I think the mongodb-driver-sync JAR file has these dependencies which means it won't work without them. For context, there used to be another JAR file that contained all the dependencies (called the Uber JAR), but the DBX team no longer provides builds for that.
The current quick start instructions depend on Maven or Gradle to manage all the dependencies of the mongodb-driver-sync JAR.
I think one of the following solutions could improve the usefulness of this info:
- Point the user to the Sonatype repository and mention that they'll need to download the dependencies https://central.sonatype.com/artifact/org.mongodb/mongodb-driver-sync/
- Provide links to each of the dependency JAR files that they would need to download and add to their classpath to run the app.
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.
I'll check what DBX and the ticket creator prefer!
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.
A couple suggestions, but do not need to review again unless requested.
source/quick-start.txt
Outdated
@@ -50,6 +50,13 @@ If you are using `Gradle <https://gradle.org/>`__, add the following to your | |||
|
|||
.. include:: /includes/quick-start/gradle-versioned.rst | |||
|
|||
.. note:: | |||
|
|||
We recommend that you use a package manager to install the |
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.
Suggestion:
I think Maven and Gradle are more often described as "build tools" or "dependency managers" based on the specific part of the functionality that's being described.
For example:
- Gradle Build Tool (newsletter page)
- Apache Maven 3.x description
Maven is a project development management and comprehension tool. Based on the concept of a project object model: builds, dependency management, documentation creation, site publication, and distribution publication are all controlled from the pom.xml declarative file. Maven can be extended by plugins to utilise a number of other development tools for reporting or the build process.
source/quick-start.txt
Outdated
and dependency packages, you can find the JAR files in the `Maven | ||
repository <https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync/>`__. |
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.
Issue:
The current link only contains the mongodb-driver-sync JAR and not any of the dependencies.
Suggestion:
I think it could be more helpful to specify the group (which references all org.mongodb JARs) and which ones are necessary.
and dependency packages, you can find the JAR files in the `Maven | |
repository <https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync/>`__. | |
and its dependencies, you can find the JAR files in the `MongoDB Group Maven | |
repository <https://mvnrepository.com/artifact/org.mongodb/>`__. The Java Sync | |
driver requires the ``mongodb-driver-core``, ``bson``, and ``mongodb-driver-sync`` | |
JAR files. |
* DOCSP-35821: link to jar download * remove trailing slash * change file fmt * CC PR fixes 1 * redo after discussion * small fixes * CC suggestions * small fixes * small fix * wording fix (cherry picked from commit 8a643e1)
* DOCSP-35821: link to jar download * remove trailing slash * change file fmt * CC PR fixes 1 * redo after discussion * small fixes * CC suggestions * small fixes * small fix * wording fix (cherry picked from commit 8a643e1)
* DOCSP-35821: link to jar download * remove trailing slash * change file fmt * CC PR fixes 1 * redo after discussion * small fixes * CC suggestions * small fixes * small fix * wording fix (cherry picked from commit 8a643e1)
* DOCSP-35821: link to jar download * remove trailing slash * change file fmt * CC PR fixes 1 * redo after discussion * small fixes * CC suggestions * small fixes * small fix * wording fix (cherry picked from commit 8a643e1)
* DOCSP-35821: link to jar download * remove trailing slash * change file fmt * CC PR fixes 1 * redo after discussion * small fixes * CC suggestions * small fixes * small fix * wording fix (cherry picked from commit 8a643e1)
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-35821
Staging - https://preview-mongodbrustagir.gatsbyjs.io/java/DOCSP-35821-link-jar-file/quick-start/#add-mongodb-as-a-dependency
Self-Review Checklist