Skip to content

Commit ed17dbd

Browse files
authored
Merge pull request #1571 from aboutcode-org/improved-export-command
Improve export command
2 parents a7b002f + 55ba9c2 commit ed17dbd

File tree

24 files changed

+1488
-301
lines changed

24 files changed

+1488
-301
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Version (next)
77
- Add Pipeline to flag ghost packages (#1533)
88
- Add logging configuration (#1533)
99
- Drop support for python 3.8 (#1533)
10+
- Drop using docker-compose and use the built-in "docker compose" instead
11+
- Upgrade core dependencies including Django and Rest Framework
1012

1113

1214
Version v34.0.0

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ docs:
129129

130130
docker-images:
131131
@echo "-> Build Docker services"
132-
docker-compose build
132+
docker compose build
133133
@echo "-> Pull service images"
134-
docker-compose pull
134+
docker compose pull
135135
@echo "-> Save the service images to a compressed tar archive in the dist/ directory"
136136
@mkdir -p dist/
137137
@docker save postgres vulnerablecode_vulnerablecode nginx | gzip > dist/vulnerablecode-images-`git describe --tags`.tar.gz

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ Getting started
6666
Run with Docker
6767
^^^^^^^^^^^^^^^^
6868

69-
First install docker and docker-compose, then run::
69+
First install docker, then run::
7070

7171
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
7272
make envfile
73-
docker-compose build
74-
docker-compose up -d
75-
docker-compose run vulnerablecode ./manage.py import --list
73+
docker compose build
74+
docker compose up -d
75+
docker compose run vulnerablecode ./manage.py import --list
7676

7777
Then run an importer for nginx advisories (which is small)::
7878

79-
docker-compose exec vulnerablecode ./manage.py import vulnerabilities.importers.nginx.NginxImporter
80-
docker-compose exec vulnerablecode ./manage.py improve --all
79+
docker compose exec vulnerablecode ./manage.py import vulnerabilities.importers.nginx.NginxImporter
80+
docker compose exec vulnerablecode ./manage.py improve --all
8181

8282
At this point, the VulnerableCode app and API should be up and running with
8383
some data at http://localhost

aboutcode/hashid/README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
aboutcode.hashid
2+
==================
3+
4+
This is a library of utilities to compute ids and file paths for AboutCode using VCID and PURLs.
5+
6+
License
7+
-------
8+
9+
Copyright (c) nexB Inc. and others. All rights reserved.
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
13+
See https://github.com/aboutcode-org/vulnerablecode for support or download.
14+
15+
See https://aboutcode.org for more information about AboutCode OSS projects.

0 commit comments

Comments
 (0)