Skip to content

Commit f70aefa

Browse files
committed
docs: update outdated repository URLs and installation guide
* Update legacy nexB repository URLs to aboutcode-org across documentation, setup.cfg, templates, settings, and views * Fix typo in importer file references in reference_importer_overview.rst * Update python version example in installation.rst to python3.12 Signed-off-by: Adnan9-63 <muhammad1414114@gmail.com>
1 parent faab557 commit f70aefa

9 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Build and tests status
3535
|Build Status| |Code License| |Data License| |Python 3.8+| |stability-wip| |Gitter chat|
3636

3737

38-
.. |Build Status| image:: https://github.com/nexB/vulnerablecode/actions/workflows/main.yml/badge.svg?branch=main
39-
:target: https://github.com/nexB/vulnerablecode/actions?query=workflow%3ACI
38+
.. |Build Status| image:: https://github.com/aboutcode-org/vulnerablecode/actions/workflows/main.yml/badge.svg?branch=main
39+
:target: https://github.com/aboutcode-org/vulnerablecode/actions?query=workflow%3ACI
4040
.. |Code License| image:: https://img.shields.io/badge/Code%20License-Apache--2.0-green.svg
4141
:target: https://opensource.org/licenses/Apache-2.0
4242
.. |Data License| image:: https://img.shields.io/badge/Data%20License-CC--BY--SA--4.0-green.svg

‎docs/source/installation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Install the required dependencies::
148148
You can specify the Python version during the ``make dev`` step using the following
149149
command::
150150

151-
make dev PYTHON_EXE=python3.8.10
151+
make dev PYTHON_EXE=python3.12
152152

153153
When ``PYTHON_EXE`` is not specified, by default, the ``python3`` executable is
154154
used.

‎docs/source/reference_importer_overview.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ and for storing the scraped information in a structured fashion. The structured
88
importer then provides input to an improver (see :ref:`improver-overview`), which is responsible
99
for creating a relational model for advisories, affected packages and fixed packages.
1010

11-
All importer implementation-related code is defined in :file:`vulnerabilites/importer.py`.
11+
All importer implementation-related code is defined in :file:`vulnerabilities/importer.py`.
1212

1313
In addition, the framework-related code for actually invoking and processing the importers is
14-
located in :file:`vulnerabilites/import_runner.py`.
14+
located in :file:`vulnerabilities/import_runner.py`.
1515

1616
The importers, after scraping, provide ``AdvisoryData`` objects. These objects are then
1717
processed and inserted into the ``Advisory`` model.
@@ -23,7 +23,7 @@ modifications.
2323

2424
Given that a lot of advisories publish version ranges of affected
2525
packages, it is necessary to store those ranges in a structured manner. *Vers* was designed to
26-
solve this problem. It has been implemented in the `univers <https://github.com/nexB/univers>`_
26+
solve this problem. It has been implemented in the `univers <https://github.com/aboutcode-org/univers>`_
2727
library whose development goes hand in hand with VulnerableCode.
2828

2929
The data imported by importers is not useful by itself: it must be processed into a relational

‎docs/source/soc_gsoc21.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ over any unnecessary files for deployment.
7171
Add Makefile
7272
^^^^^^^^^^^^^
7373
Makefile usage is prevalent in sister projects like `ScanCodeIO
74-
<https://github.com/nexB/scancode.io>`_. It gives VulnerableCode a consistent
74+
<https://github.com/aboutcode-org/scancode.io>`_. It gives VulnerableCode a consistent
7575
behavior and provides a very friendly interface for invocations. This also
7676
avoids security risks like having a default django ``SECRET_KEY`` as it can be
7777
easily generated by a make target. I added a Makefile which has a similar

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = Apache-2.0 AND CC-BY-SA-4.0
77
description = VulnerableCode is a free and open database of open source software package vulnerabilities because open source software vulnerabilities data and tools should be free and open source themselves.
88
long_description = file:README.rst
99
long_description_content_type = text/x-rst
10-
url = https://github.com/nexB/vulnerablecode
10+
url = https://github.com/aboutcode-org/vulnerablecode
1111

1212
author = nexB. Inc. and others
1313
author_email = info@aboutcode.org

‎vulnerabilities/templates/navbar.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
</li>
5151
<li>
5252
Source code and support at <a
53-
href="https://github.com/nexB/vulnerablecode">https://github.com/nexB/vulnerablecode</a>
53+
href="https://github.com/aboutcode-org/vulnerablecode">https://github.com/aboutcode-org/vulnerablecode</a>
5454
</li>
5555
<li>
56-
Docs at <a href=https://vulnerablecode.readthedocs.org />
57-
https://vulnerablecode.readthedocs.org/</a>
56+
Docs at <a href="https://vulnerablecode.readthedocs.io/">
57+
https://vulnerablecode.readthedocs.io/</a>
5858
</li>
5959
<li>
6060
Sponsored by NLnet <a href="https://nlnet.nl/project/vulnerabilitydatabase/">

‎vulnerabilities/views.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,8 @@ def get(self, request):
805805
and the tools to aggregate and correlate these vulnerabilities.
806806
807807
Chat at https://gitter.im/aboutcode-org/vulnerablecode
808-
Docs at https://vulnerablecode.readthedocs.org/
809-
Source code and issues at https://github.com/nexB/vulnerablecode
808+
Docs at https://vulnerablecode.readthedocs.io/
809+
Source code and issues at https://github.com/aboutcode-org/vulnerablecode
810810
"""
811811

812812

‎vulnerablecode/settings.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
<pre>User-Agent: {VCIO_USER_AGENT} </pre>
288288
Requests without this exact header value will be rejected.
289289
<p><strong>VulnerableCode</strong> is open data and free software by
290-
<a href="https://github.com/nexB/vulnerablecode"> nexB Inc. and others.</a>
290+
<a href="https://github.com/aboutcode-org/vulnerablecode"> nexB Inc. and others.</a>
291291
</p>
292292
<p>API is throttled for anon users it is 10/minute and 30/minute for user with API key </p>
293293
<p>Please refer to <a href="https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html" target="_blank">urllib3 documentation</a> and set <code> respect_retry_after_header </code> as True to respect the Retry-After header.</p>
@@ -326,7 +326,7 @@
326326
},
327327
"LICENSE": {
328328
"name": "Source code: Apache-2.0 | Data: CC-BY-SA-4.0",
329-
"url": "https://github.com/nexb/vulnerablecode#license",
329+
"url": "https://github.com/aboutcode-org/vulnerablecode#license",
330330
},
331331
"SERVE_INCLUDE_SCHEMA": False,
332332
# shorthand to use the sidecar instead

‎vulntotal/datasources/vulnerablecode.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
class VulnerableCodeDataSource(DataSource):
2626
spdx_license_expression = "CC-BY-SA-4.0"
27-
license_url = "https://github.com/nexB/vulnerablecode/blob/main/cc-by-sa-4.0.LICENSE"
27+
license_url = "https://github.com/aboutcode-org/vulnerablecode/blob/main/cc-by-sa-4.0.LICENSE"
2828

2929
global_instance = "https://public.vulnerablecode.io/"
3030
vc_purl_search_api_path = "api/packages/bulk_search/"

0 commit comments

Comments
 (0)