Skip to content

Commit bc9772b

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into detect-build-gradle
2 parents d981a1c + d29ba12 commit bc9772b

File tree

141 files changed

+4040
-4301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+4040
-4301
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# make sure end of lines are always lf
2-
* text eol=lf
3-
*.bat text eol=crlf
1+
# Ignore all Git auto CR/LF line endings conversions
2+
* -text
3+
pyproject.toml export-subst
44

55
# data in the tests should be kept as is
66
**/data/** binary

.github/workflows/ci-about-files.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
run: ./configure --dev
2525

2626
- name: Activate VirtualEnv
27-
run: source bin/activate
27+
run: source venv/bin/activate
2828

2929
#- name: Check About Files in thirdparty
30-
# run: ./bin/about check thirdparty/
30+
# run: ./venv/bin/about check thirdparty/
3131

3232
- name: Check About Files in thirdparty
33-
run: ./bin/about check src/
33+
run: ./venv/bin/about check src/
3434

3535
- name: Check About Files in thirdparty
36-
run: ./bin/about check etc/
36+
run: ./venv/bin/about check etc/
3737

3838
- name: Check About Files in thirdparty
39-
run: ./bin/about check scancode-toolkit.ABOUT
39+
run: ./venv/bin/about check scancode-toolkit.ABOUT

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
# Python compiled files
55
*.py[cod]
66

7-
# do not commit thriparty cache of wheels
7+
# do not commit thirdparty cache of wheels
88
/thirdparty
99

1010
# virtualenv and other misc bits
1111
/src/*.egg-info
12+
*.egg-info
1213
/dist
1314
/build
1415
/bin
@@ -18,6 +19,7 @@
1819
/Lib
1920
/pip-selfcheck.json
2021
/tmp
22+
/venv
2123
.Python
2224
/include
2325
/Include
@@ -83,6 +85,9 @@ lib64
8385
tcl
8486
/.env
8587

88+
# Ignore Jupyter Notebook related temp files
89+
.ipynb_checkpoints/
90+
8691
*.orig
8792
/release*
8893
/00-*.txt

.readthedocs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Where the Sphinx conf.py file is located
9+
sphinx:
10+
configuration: docs/source/conf.py
11+
12+
# Setting the python version and doc build requirements
13+
python:
14+
install:
15+
- method: pip
16+
path: .
17+
extra_requirements:
18+
- docs

AUTHORS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ The following organizations or individuals have contributed to ScanCode:
3333
- Horie Issei @is2ei
3434
- James Ward @jamesward
3535
- Jelmer Vernooij @jelmer
36+
- Kunal Chhabra @kunalchhabra37
3637
- Jillian Daguil @jdaguil
3738
- Jiri Popelka @jpopelka
3839
- Jiyeong Seok @dd-jy
3940
- Johannes Najjar @joshovi
4041
- Jose Nazario @paralax
42+
- Kevin Ji @KevinJi22
4143
- Lemo Shi @lemoshi
4244
- Li Ha @linexb
4345
- Mankaran Singh @MankaranSingh

CHANGELOG.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
Changelog
22
=========
33

4+
45
31.0.0 (next, roadmap)
56
-----------------------
67

7-
8-
98
Important API changes:
109
~~~~~~~~~~~~~~~~~~~~~~~~
1110

12-
- Main package API function `get_package_infos` is now deprecated, and is replaced by
13-
`get_package_manifests`.
11+
- Adopt the new skeleton from https://github.com/nexB/skeleton
12+
The key change is the location of the virtual environment. It used to be
13+
created at the root of the scancode-toolkit directory. Its is now created
14+
instead under the ``venv`` subdirectory.
15+
16+
- Main package API function `get_package_infos` is now deprecated, and is
17+
replaced by `get_package_manifests`.
1418

1519
- The data structure of the JSON output has changed for copyrights, authors
1620
and holders: we now use proper name for attributes and not a generic "value".
@@ -142,6 +146,12 @@ Changes:
142146
- add top-level attribute `packages`.
143147

144148

149+
Documentation Update
150+
~~~~~~~~~~~~~~~~~~~~~~~~
151+
- Various documentations have been updated to reflects API changes and
152+
correct minor documentation issues.
153+
154+
145155
30.1.0 - 2021-09-25
146156
--------------------
147157

CONTRIBUTING.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ For other questions, discussions, and chats, we have:
4848
Gitter also has an IRC bridge at https://irc.gitter.im/
4949
This is the main place where we chat and meet.
5050

51-
- an official #aboutcode IRC channel on freenode (server chat.freenode.net)
51+
- an official #aboutcode IRC channel on liberachat (server web.libera.chat)
5252
for scancode and other related tools. You can use your
53-
favorite IRC client or use the web chat at https://webchat.freenode.net/ .
53+
favorite IRC client or use the web chat at https://web.libera.chat/?#aboutcode .
5454
This is a busy place with a lot of CI and commit notifications that makes
5555
actual chat sometimes difficult!
5656

@@ -142,15 +142,15 @@ To set up ScanCode for local development:
142142

143143
Then activate the virtual environment::
144144

145-
source bin/activate
145+
source venv/bin/activate
146146

147147
or
148148

149-
. bin/activate
149+
. venv/bin/activate
150150

151151
On Windows use::
152152

153-
Scripts\activate
153+
venv\Scripts\activate
154154

155155
When you create a new terminal/shell to work on ScanCode rerun the activate step.
156156

INSTALL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Advanced installation: pip install a Python PyPI package
4747

4848
- Create a virtual environment for Python 3.x and activate it::
4949

50-
virtualenv -p python3 venv-scancode && source venv-scancode/bin/activate
50+
virtualenv -p python3 venv && source venv/bin/activate
5151

5252
- Run ``pip install scancode-toolkit[full]``
5353

MANIFEST.in

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
graft src
2+
23
graft thirdparty
34
recursive-include etc configure.py
45
graft etc/thirdparty
@@ -7,19 +8,20 @@ recursive-include etc/thirdparty *
78
include *.LICENSE
89
include NOTICE
910
include *.ABOUT
10-
11+
include *.toml
12+
include *.yml
13+
include *.rst
1114
include setup.*
1215
include configure*
1316
include requirements*
14-
include *.toml
17+
include .git*
1518

1619
include extractcode*
1720
include scancode*
1821

1922
# path to executable used by a built app
2023
include PYTHON_EXECUTABLE
2124

22-
include *.rst
2325
include Dockerfile
2426
include .VERSION
2527

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ For discussions and chats, we have:
198198
Gitter is also accessible via an `IRC bridge <https://irc.gitter.im/>`_.
199199
There are other AboutCode project-specific channels available there too.
200200

201-
* an official `#aboutcode` IRC channel on freenode (server chat.freenode.net).
201+
* an official `#aboutcode` IRC channel on liberachat (server web.libera.chat).
202202
This channel receives build and commit notifications and can be noisy.
203203
You can use your favorite IRC client or use the `web chat
204-
<https://webchat.freenode.net/>`_.
204+
<https://web.libera.chat/?#aboutcode>`_.
205205

206206

207207
Source code and downloads

0 commit comments

Comments
 (0)