Skip to content

Commit 662ae64

Browse files
committed
Review comments
1 parent 434c826 commit 662ae64

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
**DFetch can manage dependencies**
2121

2222
We make products that can last 15+ years; because of this we want to be able to have all sources available
23-
to build the entire project from source not being dependent on the existence of the remote resource.
23+
to build the entire project from source without depending on external resources.
2424
For this, we needed a dependency manager that was flexible enough to retrieve dependencies as plain text
2525
from various sources. `svn externals`, `git submodules` and `git subtrees` solve a similar
2626
problem, but not in a VCS-agnostic way or completely user-friendly way.
2727
We want self-contained code repositories without any hassle for end-users.
2828
Dfetch must promote upstreaming changes, but allow for local customizations.
29-
The problem is described thoroughly [managing external dependencies](https://embeddedartistry.com/blog/2020/06/22/qa-on-managing-external-dependencies/) and sometimes
29+
The problem is described thoroughly in [managing external dependencies](https://embeddedartistry.com/blog/2020/06/22/qa-on-managing-external-dependencies/) and sometimes
3030
is also known as [*vendoring*](https://stackoverflow.com/questions/26217488/what-is-vendoring).
3131
See [vendoring](https://dfetch.readthedocs.io/en/latest/vendoring.html) for more information about vendoring.
3232

dfetch/manifest/project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@
176176
177177
VCS type
178178
########
179-
*DFetch* does it best to find out what type of version control system (vcs) the remote url is, for
180-
instance by trying a simple call to the remote repository. But sometimes both is possible, for example,
181-
in the past GitHub provided an `svn and git interface the same url`_.
179+
*DFetch* does its best to find out what type of version control system (vcs) the remote url is, for
180+
instance by trying a simple call to the remote repository. But sometimes both are possible, for example,
181+
in the past GitHub provided an `svn and git interface at the same url`_.
182182
183183
.. _`svn and git interface at the same url`:
184184
https://docs.github.com/en/github/importing-your-projects-to-github/support-for-subversion-clients

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
autosectionlabel_maxdepth = 3
9090

9191
# Suppress warnings about duplicate labels from argparse directive
92-
suppress_warnings = ["autosectionlabel.*"]
92+
suppress_warnings = ["autosectionlabel.manual"]
9393

9494
# -- Options for HTML output ----------------------------------------------
9595

doc/manual.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ Import
149149

150150
.. automodule:: dfetch.commands.import_
151151

152-
Cheatsheet
153-
----------
152+
CLI Cheatsheet
153+
--------------
154154

155155
A source-only, no-hassle project-dependency aggregator.
156156
It uses a **manifest file** to describe your project's dependencies and fetches them into your codebase.
157-
Also called vendoring. More info: <https://dfetch.readthedocs.io/en/latest/getting_started.html>.
157+
Also called vendoring. More info: `<https://dfetch.readthedocs.io/en/latest/getting_started.html>`_.
158158

159159
- Start a new manifest (`dfetch.yaml`) with placeholder content:
160160

@@ -168,17 +168,17 @@ Also called vendoring. More info: <https://dfetch.readthedocs.io/en/latest/getti
168168
169169
dfetch import
170170
171-
- Check for newer versions of dependencies and create a machine parseable report:
171+
- Check for newer versions of dependencies and create a machine parseable report for your CI:
172172

173173
.. code-block:: console
174174
175-
dfetch check [--jenkins-json] [--sarif] [--code-climate] {{[project]}}
175+
dfetch check [--jenkins-json] [--sarif] [--code-climate] [project]
176176
177-
- Download a or all projects from the manifest:
177+
- Download one or all projects from the manifest:
178178

179179
.. code-block:: console
180180
181-
dfetch update [-f] {{[project]}}
181+
dfetch update [-f] [project]
182182
183183
- Freeze all projects to their current version:
184184

@@ -190,4 +190,4 @@ Also called vendoring. More info: <https://dfetch.readthedocs.io/en/latest/getti
190190

191191
.. code-block:: console
192192
193-
dfetch report [-o <filename>] [-t {sbom,list}] {{[project]}}
193+
dfetch report [-o <filename>] [-t {sbom,list}] [project]

doc/vendoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ They *mitigate* vendoring risks; they do not eliminate them.
265265
* Dependency and CVE scanning
266266
* SBOM generation
267267
268-
**Rationale** By copy-pasting a dependency, there may maybe silent security degradation since there is no automatic updates.
268+
**Rationale** By copy-pasting a dependency, there maybe silent security degradation since there is no automatic updates.
269269
270270
*Dfetch* addresses this by providing a ``dfetch check`` (:ref:`Check`) command to see if vendored dependencies are out-of-date and
271271
various report formats (including SBoM) to check vulnerabilities.

0 commit comments

Comments
 (0)