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

Improve packagecode and other release prep #2992

Merged
merged 85 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
e38ed76
init
orsinium Nov 11, 2019
c777451
+examples
orsinium Nov 11, 2019
c0b12b2
+poeytry's static
orsinium Nov 11, 2019
2a21119
+cfg reader
orsinium Nov 11, 2019
5902aa1
refactor static parser
orsinium Nov 11, 2019
14c4479
test on a few more examples
orsinium Nov 11, 2019
98f6798
+base reader
orsinium Nov 12, 2019
3fc49ed
+subprocess based readers skeleton
orsinium Nov 12, 2019
a6e8652
make cmd reader work
orsinium Nov 12, 2019
8a83f96
simplify type convertion for static parser
orsinium Nov 12, 2019
0540a6b
put all keyword args into static result
orsinium Nov 12, 2019
77bfea9
make static parser really short and smart
orsinium Nov 12, 2019
9e162a1
use setuptools for cfg reader
orsinium Nov 12, 2019
9722d6d
reuse fields
orsinium Nov 12, 2019
80f7dbd
+cli
orsinium Nov 12, 2019
4e5fa9e
do normalization
orsinium Nov 13, 2019
e9b6bef
provide interface
orsinium Nov 13, 2019
e686539
add metainfo and ci
orsinium Nov 13, 2019
1b61d12
release
orsinium Nov 13, 2019
2a5c88a
build ci only once
orsinium Nov 13, 2019
23a662d
sort imports
orsinium Nov 13, 2019
5da30a7
fix flake8
orsinium Nov 13, 2019
2ef82d9
check more pythons
orsinium Nov 13, 2019
0477166
trigger ci
orsinium Nov 13, 2019
f94b2e2
py 3.5 compat
orsinium Nov 13, 2019
104ad4a
Merge pull request #1 from dephell/ci
orsinium Nov 13, 2019
9ff032b
release
orsinium Nov 13, 2019
de4257a
check type annotations
orsinium Nov 14, 2019
97e3aef
Merge pull request #2 from dephell/typing
orsinium Nov 14, 2019
b5762b1
fix a few details and release
orsinium Nov 14, 2019
7d21e4f
_pkginfo: Improve error handling
jayvdb Dec 14, 2019
762b283
Merge pull request #6 from jayvdb/fix-pkginfo
orsinium Dec 18, 2019
d9946bd
bump version to 0.2.2
orsinium Dec 18, 2019
4b1e995
Fix 'CommandReader' on Windows
espdev Dec 27, 2019
8b3bae0
Merge pull request #7 from espdev/win
orsinium Dec 27, 2019
1054bcc
bump version to 0.2.3
orsinium Dec 30, 2019
02c1939
Better reporting of command failures
jhermann Feb 3, 2020
13ae64c
fix CI
orsinium May 28, 2020
2031e40
Merge pull request #9 from dephell/fix-ci
orsinium May 28, 2020
97c4b2b
Merge remote-tracking branch 'origin/master' into patch-1
orsinium May 28, 2020
ea9c7e3
format
orsinium May 28, 2020
444487e
Merge pull request #8 from jhermann/patch-1
orsinium May 28, 2020
b43cc29
set tag format and change email
orsinium May 28, 2020
1586bc4
bump version to 0.2.4
orsinium May 28, 2020
c273002
Improve Gradle script handling
pombredanne May 24, 2022
eb93183
Improve searching for a thirdparty dir with wheels
pombredanne May 25, 2022
e8e4322
Format code
pombredanne May 29, 2022
22ffa1e
Format code
pombredanne May 29, 2022
ba481ba
Fetch sources from native first
pombredanne Jun 4, 2022
242d0c3
Yield a package Resource earlier
pombredanne Jun 4, 2022
26be981
Use SCANCODE_DEBUG_PACKAGE_API for tracing
pombredanne Jun 4, 2022
76b4915
Add missing ABOUT file
pombredanne Jun 4, 2022
25e9a07
Use SCANCODE_DEBUG_PACKAGE_API for tracing
pombredanne Jun 4, 2022
e4621f8
Improve handling of NO_INDEX
pombredanne Jun 4, 2022
0cdd4f6
Load optionally nested requirement files
pombredanne Jun 4, 2022
4665969
Reorg setup.py test files
pombredanne Jun 5, 2022
5d0e249
Test files do not need to be executable
pombredanne Jun 5, 2022
b66be3b
Remove unused code
pombredanne Jun 6, 2022
9c30d8a
Remove unused code
pombredanne Jun 6, 2022
06b47ee
Improve PyPI packages handling
pombredanne Jun 7, 2022
8ed97a6
Add more Python tests
pombredanne Jun 8, 2022
426a039
Also consider non-string in setup.py
pombredanne Jun 8, 2022
d24acbc
Move modules to match ScanCode locations
pombredanne Jun 8, 2022
49f069f
Remove unused code
pombredanne Jun 8, 2022
39f975b
Use only subset of code to parser setup.*
pombredanne Jun 8, 2022
5edb581
Improve handling of setup.py
pombredanne Jun 8, 2022
5578104
Improve detecetion of setup()* and other minor improvements
pombredanne Jun 8, 2022
7b1de9c
Imporva validation of license keys
pombredanne Jun 10, 2022
ac0d145
Correct expected results for Composer JSON
pombredanne Jun 10, 2022
1182264
Remove unused test file
pombredanne Jun 10, 2022
465f4e7
Force x86-64 mode on macOS M1/ARM
pombredanne Jun 12, 2022
d84b106
Improve ABOUT files
pombredanne Jun 12, 2022
fcc26fc
Only parse setup.py files
pombredanne Jun 12, 2022
34b4b9b
Merge remote-tracking branch 'dephell/master' into improve-gradle
pombredanne Jun 12, 2022
d8aadb5
Use new parser for setup.py
pombredanne Jun 12, 2022
05f93c4
Add more setup.py tests
pombredanne Jun 12, 2022
9dbbccd
Merge latest develop
pombredanne Jun 12, 2022
aa5c662
Adapt PyPI tests with correct requirements
pombredanne Jun 12, 2022
40d6e1d
Correct test expectations
pombredanne Jun 13, 2022
6687b6f
Add more PyPI tests
pombredanne Jun 13, 2022
dc82d18
Correctly compute path depth in PyPI
pombredanne Jun 13, 2022
5c653ad
Support conversion from YAML to JSON to CSV
pombredanne Jun 13, 2022
4b827d1
Fix typo in comment
pombredanne Jun 13, 2022
49f434a
Remove unused imports
pombredanne Jun 13, 2022
03193c0
Add docstring to pypi.is_setup_call()
pombredanne Jun 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing ABOUT file
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Jun 4, 2022
commit 76b49159de9b8e1508511c34da5f6fb73243db2e
13 changes: 13 additions & 0 deletions src/packagedcode/pypi.py.ABOUT
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
about_resource: pypi.py
name: pyserial
namespace: pyserial
package_url: pkg:github/pyserial/pyserial@d867871e6aa33301#setup.py
attribute: yes
copyright: Copyright (c) 2001-2020 Chris Liechti <[email protected]>
download_url: https://github.com/pyserial/pyserial/blob/d867871e6aa333014a77498b4ac96fdd1d3bf1d8/setup.py#L34
license_expression: bsd-new
notice_file: pypi.py.NOTICE
primary_language: Python
notes: The functions find_pattern(), find_dunder_version(),
find_setup_py_dunder_version() are inspired and heavily modified from Pyserial
setup.py
39 changes: 39 additions & 0 deletions src/packagedcode/pypi.py.NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Copyright (c) 2001-2020 Chris Liechti <[email protected]>
All Rights Reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

---------------------------------------------------------------------------
Note:
Individual files contain the following tag instead of the full license text.

SPDX-License-Identifier: BSD-3-Clause

This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/