Package Details: semgrep-bin 1.97.0-1

Git Clone URL: https://aur.archlinux.org/semgrep-bin.git (read-only, click to copy)
Package Base: semgrep-bin
Description: Fast and syntax-aware semantic code pattern search for many languages: like grep but for code
Upstream URL: https://github.com/returntocorp/semgrep
Keywords: code grep
Licenses: LGPL2.1
Provides: semgrep
Submitter: aloxaf
Maintainer: username227 (ejedev)
Last Packager: username227
Votes: 7
Popularity: 0.79
First Submitted: 2020-05-23 02:08 (UTC)
Last Updated: 2024-11-20 05:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

dkasak commented on 2020-10-24 07:52 (UTC)

There's a conflict with python-hypothesis happening now:

python-hypothesis: /usr/lib/python3.8/site-packages/tests/__init__.py exists in filesystem (owned by semgrep-bin)
python-hypothesis: /usr/lib/python3.8/site-packages/tests/__pycache__/__init__.cpython-38.opt-1.pyc exists in filesystem (owned by semgrep-bin)
python-hypothesis: /usr/lib/python3.8/site-packages/tests/__pycache__/__init__.cpython-38.pyc exists in filesystem (owned by semgrep-bin)
python-hypothesis: /usr/lib/python3.8/site-packages/tests/__pycache__/conftest.cpython-38.opt-1.pyc exists in filesystem (owned by semgrep-bin)
python-hypothesis: /usr/lib/python3.8/site-packages/tests/__pycache__/conftest.cpython-38.pyc exists in filesystem (owned by semgrep-bin)
python-hypothesis: /usr/lib/python3.8/site-packages/tests/conftest.py exists in filesystem (owned by semgrep-bin)

Also, 0.28.0 is out.

dkasak commented on 2020-09-19 15:19 (UTC)

It's working great, thanks a lot!

aloxaf commented on 2020-09-19 14:52 (UTC)

@dkasak Thanks again!

How about now?

dkasak commented on 2020-09-19 12:30 (UTC)

@aloxaf Unfortunately, I just realized this doesn't fix the issue.

The problem is that semgrep is actually semgrep-core + the semgrep Python package from PyPI. Both are needed for semgrep to work correctly, as the Python package actually provides semgrep, the high-level user-facing CLI tool. Yet upstream releases seem to only package semgrep-core in the Github releases.

This means this package is not a correct package for semgrep currently. If you'd like some help, I can try to throw together a correct PKGBUILD when I get the time, unless you get to it sooner.

aloxaf commented on 2020-09-15 11:47 (UTC)

@dkasak Fixed. Thanks for reporting.

dkasak commented on 2020-09-11 13:29 (UTC)

The file /usr/bin/semgrep installed by the package is a broken symlink to a non-existent file /usr/lib/semgrep-files/semgrep.