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

all: fix grammar, typos, reformat tables #586

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

J4bbi
Copy link
Contributor

@J4bbi J4bbi commented Sep 29, 2023

Description

This PR fixes obvious grammatical mistakes, typos and reformats some tables to make the markdown more readabe/correct.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

Copy link
Collaborator

@fenekku fenekku left a comment

Choose a reason for hiding this comment

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

Thank you so much for this! This must have been a gradual investment over time and we really appreciate it.

There is a couple of further adjustments I added. I will take another look after and then merge.

This will really level up the professionalism of the project. Thanks so much again!

@@ -5,7 +5,7 @@ institution's logo. We are going to change InvenioRDM's default logo to your log

## Step-by-step

**Step 1** - Take an *svg* file and copy it to your **local** static files.
**Step 1** - Take a *svg* file and copy it to your **local** static files.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hehe this is a tricky one 😺 , but an is probably the right one. "a" / "an" is actually based on "sound" of consonant / vowel rather than based on actual consonant / vowels. And this is especially true for acronyms. So we write "an FBI file", because "eff-bee-eye" and we should write "an svg file" because "ess-vee-gee"

See: https://www.merriam-webster.com/grammar/is-it-a-or-an

@@ -1,6 +1,6 @@
# Deployment

This guide is meant to give an high-level overview of deployment techniques and tips
This guide is meant to give a high-level overview of deployment techniques and tips
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 hard "h" for "high"

@@ -23,11 +23,11 @@ projects, prior history and practices.

**Evolving**

InvenioRDM is no different. The architecture is largely a by product our past
InvenioRDM is no different. The architecture is largely a byproduct our past
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
InvenioRDM is no different. The architecture is largely a byproduct our past
InvenioRDM is no different. The architecture is largely a byproduct of our past

and remove "we've faced" in next line as it's redundant.

@@ -43,7 +43,7 @@ By no means have we solved all of these, and any software project out there is l

### Why not X?

InvenioRDM is a monolith application using something as old as an relational
InvenioRDM is a monolith application using something as old as a relational
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
InvenioRDM is a monolith application using something as old as a relational
InvenioRDM is a monolithic application using something as old as a relational

Grammar-wise this is probably the most correct. Tech discussions around this usually talk about the nouns directly ("monoliths"! "micro-services"!) rather than "x application". It does sound a little bit "harsher" because the reader spends more time on a bigger word that describes a bigger thing, so the effect is compounded. But that's just how it sounds. 🤷

@@ -90,7 +90,7 @@ are usually highly reliable as compared to some NoSQL solutions.

**Primary key lookups**

Most access from Invenio to the database is via primary key look ups, which
Most access from Invenio to the database is via primary key look-ups, which
Copy link
Collaborator

Choose a reason for hiding this comment

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

"lookups" is good too. I want to say "lookups" is more common in computer science lingo, but unsure. So this one is a take it or leave it.


To use the command you can follow the next steps:
- Add the statement in your code e.g
- Add the statement in your code e.g.
Copy link
Collaborator

@fenekku fenekku Oct 2, 2023

Choose a reason for hiding this comment

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

Suggested change
- Add the statement in your code e.g.
- Add the statement in your code e.g.,

Won't do this for all, but you get the drift.

@@ -24,7 +24,7 @@ programs (i.e. a distribution provides the ``python`` command).
### Distribution version

Each distribution comes in multiple versions that's able to interpret the
Python programming language - e.g Python 3.8, 3.9 etc.
Python programming language - e.g. Python 3.8, 3.9 etc.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Python programming language - e.g. Python 3.8, 3.9 etc.
Python programming language - e.g., Python 3.8 and 3.9

also won't re-highlight those

@@ -6,7 +6,7 @@ This guide is intended for maintainers and developers of InvenioRDM itself.

**Scope**

The guide covers the how we use the GitHub sprint boards during development.
The guide covers how we use the GitHub sprint boards during development.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
The guide covers how we use the GitHub sprint boards during development.
The guide covers how we use the GitHub sprint boards during development.

@@ -86,7 +86,7 @@ For modules in ``vX.Y.Z``, the new version is ``v(X+1).0.0.dev0``.
- Release Invenio-App-RDM (removing the pre-release suffix - e.g. ``dev0``).
- Cookiecutter-Invenio-RDM:
- Merge everything to ``master``.
- Create new version branch from ``master`` using the pattern ``vX.Y`` (e.g if Invenio-App-RDM is v1.0.0, the branch should be named ``v1.0``).
- Create new version branch from ``master`` using the pattern ``vX.Y`` (e.g. if Invenio-App-RDM is v1.0.0, the branch should be named ``v1.0``).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- Create new version branch from ``master`` using the pattern ``vX.Y`` (e.g. if Invenio-App-RDM is v1.0.0, the branch should be named ``v1.0``).
- Create a new version branch from ``master`` using the pattern ``vX.Y`` (e.g., if Invenio-App-RDM is v1.0.0, then the branch should be named ``v1.0``).

| ``pid`` | Object level information about the identifier needed for operational reasons. |

Concept version PID:

| Field | Description |
|:-----:|:----------------|
| Field | Description |
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's not bother with the centering. It's centered on display already, we can let the machine deal with it. This won't last the churn of editing I can tell you 😸 .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've left the centering, just because it's more faff to revert it if that's okay

@J4bbi
Copy link
Contributor Author

J4bbi commented Oct 3, 2023

@fenekku , thanks for the review, I've responded to all your comments, and I also changed a couple of other thing I noticed

I removed the last sentence
"All of this can be further complicated if you run container images or virtual machines" from virtualenvs.md because I didn't think it added much value.

Copy link
Collaborator

@fenekku fenekku left a comment

Choose a reason for hiding this comment

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

Some last things and we can merge. Thanks again 👍 !

@@ -76,7 +76,7 @@ A request is conceptually modelled over the following state diagram:
- **Expired** - The request expired without the creator or receiver taking action.
- **Accepted** - The receiver accepted the request.
- **Declined** - The receiver declined the request.
- **Deleted** - The unsubmitted request was deleted by the creator or system.
- **Deleted** - The draft request was deleted by the creator or system.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's actually keep "unsubmitted" here to tie it back to "not yet submitted" above and sidestep any confusion with the concept of "drafts" elsewhere (invenio requests use a different mechanism than record drafts).

into the indexed request, and when searching, you filter requests to the grants
provided by the identity.

## Views

Views over requests is a search filter applied in a given context. Currently we have the following views:
Views over requests is a search filter applied in a given context. Currently, we have the following views:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Views over requests is a search filter applied in a given context. Currently, we have the following views:
Requests can be viewed in different contexts which map to appropriate search filters. Currently, we have the following "views":

@@ -194,7 +194,7 @@ We imagine that requests can later be extended with features such as:

A lot of the inspiration to the requests module comes from collaborative source code platforms like GitHub and GitLab and their pull/merge requests features. Other inspiration comes from user support systems like UserVoice.

There are however notable differences between between pull/merge requests and requests in InvenioRDM.
There are however notable differences between pull/merge requests and requests in InvenioRDM.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
There are however notable differences between pull/merge requests and requests in InvenioRDM.
There are, however, notable differences between pull/merge requests and requests in InvenioRDM.

@@ -24,13 +24,13 @@ The diagram below shows a simplified view of the data flow in the architecture.

![Architecture layers](../img/architecture.svg)

*The presentation layer* parses incoming requests and routes them to service layer. This involves sending and receiving data in multiple different formats and translating these into an internal representation, as well as e.g. parsing arguments from an HTTP request (e.g parsing the query string parameters).
*The presentation layer* parses incoming requests and routes them to service layer. This involves sending and receiving data in multiple different formats and translating these into an internal representation, as well as e.g., parsing arguments from an HTTP request (e.g., parsing the query string parameters).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
*The presentation layer* parses incoming requests and routes them to service layer. This involves sending and receiving data in multiple different formats and translating these into an internal representation, as well as e.g., parsing arguments from an HTTP request (e.g., parsing the query string parameters).
*The presentation layer* parses incoming requests and routes them to service layer. This involves sending and receiving data in multiple different formats and translating these into an internal representation. For instance, this includes parsing arguments from an HTTP request e.g., parsing the query string parameters.


*The data access layer* is responsible for ensuring data integrity, harmonizing data access to different storages as well as fetching and storing the data in the underlying systems.

The data flow between the layers is strictly limited to some few well-defined objects to ensure a clean separation of concerns. The presentation layer communicates with the service layer via a e.g. a record projection (i.e. a view of a record localised to a specific identity). The service layer communicates with the data access layer via e.g. a record entity that provides data abstraction, syntactic data validation, and a strong programmatic API.
The data flow between the layers is strictly limited to some few well-defined objects to ensure a clean separation of concerns. The presentation layer communicates with the service layer via a record projection (i.e. a view of a record localised to a specific identity). The service layer communicates with the data access layer via a record entity that provides data abstraction, syntactic data validation, and a strong programmatic API.

!!! tip "Tip: Where do you belong?"

Copy link
Collaborator

Choose a reason for hiding this comment

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

Just below is another fix to do: "where you code belongs" -> "where your code belongs"

Comment on lines 26 to 27
Each distribution comes in multiple versions that's able to interpret the
Python programming language - e.g Python 3.8, 3.9 etc.
Python programming language - e.g., Python 3.8 and 3.9
Copy link
Collaborator

Choose a reason for hiding this comment

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

Each distribution supports multiple version of the Python programming language e.g., Python 3.8 and Python 3.9

(can't create a suggestion for unmodified line, but let's reword it too)


This means that a virtual environment has it's own ``python`` and ``pip``
This means that a virtual environment has its own ``python`` and ``pip``
commands that are *enhanced aliases* to the distributions ``python`` and ``pip``
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't know too much about that enhanced aliases business to be honest... I think cutting it at:

This means that a virtual environment has its own ``python`` and ``pip`` commands.

is good enough.

@@ -86,7 +86,7 @@ For modules in ``vX.Y.Z``, the new version is ``v(X+1).0.0.dev0``.
- Release Invenio-App-RDM (removing the pre-release suffix - e.g. ``dev0``).
- Cookiecutter-Invenio-RDM:
- Merge everything to ``master``.
- Create new version branch from ``master`` using the pattern ``vX.Y`` (e.g if Invenio-App-RDM is v1.0.0, the branch should be named ``v1.0``).
- Create a new version branch from ``master`` using the pattern ``vX.Y`` (e.g. if Invenio-App-RDM is v1.0.0, then the branch should be named ``v1.0``).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- Create a new version branch from ``master`` using the pattern ``vX.Y`` (e.g. if Invenio-App-RDM is v1.0.0, then the branch should be named ``v1.0``).
- Create a new version branch from ``master`` using the pattern ``vX.Y`` (e.g., if Invenio-App-RDM is v1.0.0, then the branch should be named ``v1.0``).

@J4bbi
Copy link
Contributor Author

J4bbi commented Oct 3, 2023

@fenekku , further comments addressed

@fenekku
Copy link
Collaborator

fenekku commented Oct 3, 2023

image

@fenekku fenekku merged commit d085a2c into inveniosoftware:master Oct 3, 2023
1 check passed
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