Code Monkey home page Code Monkey logo

privado-cli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

privado-cli's Issues

[BUG] SIGSEGV panic from update flow

Experiencing panic on prerelease binaries.

Expected Cause: The repository is private and the flow assumes it to be public and available.

Output:

$ ./privado version
Privado CLI: Version v2.0-prerelease-test (linux-amd64) 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x7dad8a]

goroutine 1 [running]:
github.com/Privado-Inc/privado-cli/cmd.checkForUpdate()
        /github/workspace/cmd/update.go:32 +0x6a
github.com/Privado-Inc/privado-cli/cmd.version(0xc2e940?, {0xc66478?, 0x0?, 0x0?})
        /github/workspace/cmd/version.go:29 +0x135
github.com/spf13/cobra.(*Command).execute(0xc2e940, {0xc66478, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:876 +0x67b
github.com/spf13/cobra.(*Command).ExecuteC(0xc2e1c0)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:918
github.com/Privado-Inc/privado-cli/cmd.Execute()
        /github/workspace/cmd/root.go:23 +0x35
main.main()
        /github/workspace/main.go:29 +0x1c

[BUG]: ScanProcessor$: Error while guessing language

Describe the Bug
Following the instructions of how to scan a directory but it fails
https://docs.privado.ai/tutorials/command-reference

Expected Behavior
Same results as described in the instructions

To Reproduce
Steps to reproduce the behavior:

  1. Specify the OS and version: WIN 11
  2. Specify repository link if possible: https://github.com/saurabh-sudo/BankingSystem-Backend
  3. Detailed steps to reproduce the issue:
curl -o- https://raw.githubusercontent.com/Privado-Inc/privado-cli/main/install.sh | bash
git clone [email protected]:saurabh-sudo/BankingSystem-Backend.git
privado scan BankingSystem-Backend/BankData/

Screenshots
image

Additional Context
Privado CLI Version: v2.2.7
Privado Core Version: 1.1.99
Privado Language Engine Version: 2.0.134

Enhance Telemetry Metrics

Additional metrics to capture end-to-end flow and errors:

  • Display of Cloud Sync Link
  • Success of browser-auto spawn
  • Any errors in spawn

These will help understand if users are facing any errors in the "synchronize" flow. Also, it is essential as the implementation behavior can vary for different terminals and operating systems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.