Package Details: semgrep-bin 1.66.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: aloxaf
Last Packager: aloxaf
Votes: 6
Popularity: 1.47
First Submitted: 2020-05-23 02:08 (UTC)
Last Updated: 2024-03-21 01:46 (UTC)

Latest Comments

1 2 3 Next › Last »

Kloudignite commented on 2024-04-28 08:41 (UTC) (edited on 2024-04-28 08:41 (UTC) by Kloudignite)

Looks like this needs to be rebuilt following the python 3.12 update because

Failed to find semgrep-core in PATH or in the semgrep package.

shulhan commented on 2023-05-10 16:18 (UTC)

Hi, thanks for the package.

I think the latest PKGBUILD missing python-pip in the makedepends.

PSA: Pre-build package is available at https://build.kilabit.info/

jahway603 commented on 2023-03-27 16:58 (UTC)

@aloxaf can you please update this package? It is at Release v1.15.0 now.

0xdbe commented on 2022-11-02 20:23 (UTC)

Thanks aloxaf for updating to 0.118 🙏

Here is file for 0.120.0: https://pastebin.com/5YAJeAnv

0xdbe commented on 2022-10-21 07:13 (UTC)

File for 0.118.0: https://pastebin.com/ecHfK3Fg

0xdbe commented on 2022-10-13 08:03 (UTC)

File for Semgrep 0.117.0: https://pastebin.com/zLsCSTFJ

0xdbe commented on 2022-10-07 15:34 (UTC) (edited on 2022-10-07 15:34 (UTC) by 0xdbe)

In waiting to be able to update this package, here is the PKGBUILD for Semgrep 0.116.0: https://pastebin.com/y4J3tCr6

0xdbe commented on 2022-09-27 11:56 (UTC)

File for 0.115.0: https://pastebin.com/zwv97SrC

bbrks commented on 2022-08-10 08:34 (UTC) (edited on 2022-08-10 09:02 (UTC) by bbrks)

Needs python-lsp-jsonrpc as a dependency as of 0.98.0

https://github.com/returntocorp/semgrep/pull/5378

$ semgrep --help
Traceback (most recent call last):
  File "/usr/bin/semgrep", line 33, in <module>
    sys.exit(load_entry_point('semgrep==0.104.0', 'console_scripts', 'semgrep')())
  File "/usr/bin/semgrep", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/semgrep/__main__.py", line 4, in <module>
    from semgrep.cli import cli
  File "/usr/lib/python3.10/site-packages/semgrep/cli.py", line 8, in <module>
    from semgrep.commands.lsp import lsp
  File "/usr/lib/python3.10/site-packages/semgrep/commands/lsp.py", line 8, in <module>
    from semgrep.lsp.server import run_server
  File "/usr/lib/python3.10/site-packages/semgrep/lsp/server.py", line 12, in <module>
    from pylsp_jsonrpc.dispatchers import MethodDispatcher
ModuleNotFoundError: No module named 'pylsp_jsonrpc'

0xdbe commented on 2021-11-18 11:44 (UTC)

I tried to update this package for Semgrep 0.73.0: https://pastebin.com/2iWxKPNA

But you have to install python-click-option-group from AUR (https://aur.archlinux.org/packages/python-click-option-group/)

Also, Semgrep uses wcmatch==8.2 and arch linux uses python-wcmatch-8.3-1

Workaround: use a virtualenv