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

[feature]: Add Update Available Message to keploy #1486

Open
wants to merge 485 commits into
base: main
Choose a base branch
from

Conversation

Akash-Singh04
Copy link
Contributor

@Akash-Singh04 Akash-Singh04 commented Feb 4, 2024

Related Issue

  • Added the update available message to Keploy CLI

Closes: #1485

Describe the changes you've made

  • Added Update Available message to notify users about new updates
  • Message only shows up if current version of keploy is not updated
  • Message does not show up on dev versions

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Please let us know if any test cases are added

NIL

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NIL

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Screenshots (if any)

image

ChinmayaSharma-hue and others added 30 commits December 13, 2023 13:48
…y#1174)

Signed-off-by: Chinmay <chinmaysharma1020@gmail.com>
Co-authored-by: Neha Gupta <gneha21@yahoo.in>
* add:adding passthorugh for certain hosts

* refactor:pass through in test mode
* feat: create a keploy config file

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add keploy-config.yaml

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add testset entry in keploy-config.yaml

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: added code for fetching noise config

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: build

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add regex code

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: keploy commands failing when no config file

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: update keploy-config

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: added the removed function

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: noise field in graphql

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: refactor to correct flow of code

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add new flag for config-path

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: changed noise to globalNoise in config yaml

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: build

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add cmd for generate keploy config

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* feat: add comments in keploy config yaml

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: removed keploy-config

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: address comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: comparsion logic

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: refactor

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix: updated example

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix build

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix build

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix workflow

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* check config

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* remove cat

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* remove test-set parameter from config file

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

---------

Signed-off-by: Akash Kumar <meakash7902@gmail.com>
* fix bug

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* replaced return with continue

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* address review comments

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* list files in testreports

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* fix workflow error

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

* remove ls from workflow file

Signed-off-by: Akash Kumar <meakash7902@gmail.com>

---------

Signed-off-by: Akash Kumar <meakash7902@gmail.com>
* refactor:updating return time of report

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>

---------

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
* fix: generate config returns after logging error
* refactor: keploy examples
* fix: remove unused code
Signed-off-by: Akash Kumar <meakash7902@gmail.com>
* add serve command in workflow
* refactor: removed replay related unused files
* add:workflow to test single test suites
* fix: added extra fields for sentry

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed unnecessary changes

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: fix merge conflicts

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: addressed the comments

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed unnecessary files

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: fix indentation

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: remove binary

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

---------

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
* refactor: logs in record and test commands
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
* feat: added pipeline test for docker

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: made changes according to the comments

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: added apiTimeout

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed api timeout from record mode

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: update java linux

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: updated java linux and python docker

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

---------

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: Arindam Majumder <arindammajumder2020@gmail.com>
Co-authored-by: Animesh Pathak <53110238+Sonichigo@users.noreply.github.com>
Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
* initial commit

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP generic matching algo

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Fixed Handshake-Response Decoding

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* minor fix

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* WIP

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Bug fixes

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Dotnet and java fixes

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* refactor:indent (keploy#1213)

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Removed replay directory  (keploy#1217)

* refactor: removed replay related unused files

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* add:workflow to test single test sets (keploy#1220)

* add:workflow to test single test suites

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* feat: Added extra fields for sentry (keploy#1203)

* fix: added extra fields for sentry

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed unnecessary changes

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: fix merge conflicts

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: addressed the comments

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed unnecessary files

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: fix indentation

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: remove binary

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

---------

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Updated README

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Fix dco

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Fix in resultSet Decoding

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Removed logs

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Minor Change in Decode

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* refactor:indent (keploy#1213)

* [refactor]: remove unused files (keploy#1218)

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* refactor: logs in record and test commands (keploy#1228)

* refactor: logs in record and test commands

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* feat: add repo options in issue template (keploy#1229)

Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Update --feature-request.yaml (keploy#1232)

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* feat: added pipeline tests for docker (keploy#1226)

* feat: added pipeline test for docker

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: made changes according to the comments

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: added apiTimeout

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: removed api timeout from record mode

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: update java linux

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: updated java linux and python docker

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

---------

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* Updated Documentation.

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* fix: updated docker alias in keploy.sh (keploy#1242)

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* refactor:concat strings for error logs(keploy#1248)

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* feat: added writers-program repo. (keploy#1243)

Signed-off-by: Arindam Majumder <arindammajumder2020@gmail.com>
Co-authored-by: Animesh Pathak <53110238+Sonichigo@users.noreply.github.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* refactor:add keploy generated tests in gitignore (keploy#1249)

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* changed logger to debug for config error

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* debug statement instead of Warn

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

---------

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
Signed-off-by: Arindam Majumder <arindammajumder2020@gmail.com>
Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
Co-authored-by: Shivam Sourav Jha <60891544+shivamsouravjha@users.noreply.github.com>
Co-authored-by: Asish Kumar <87874775+officialasishkumar@users.noreply.github.com>
Co-authored-by: Pranshu Srivastava <37413698+PranshuSrivastava@users.noreply.github.com>
Co-authored-by: Shubham Bajpai <shbajpai@vmware.com>
Co-authored-by: Anjali Anupam <2019024@iiitdmj.ac.in>
Co-authored-by: Animesh Pathak <53110238+Sonichigo@users.noreply.github.com>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
Co-authored-by: Arindam Majumder <109217591+Arindam200@users.noreply.github.com>
Co-authored-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
…xits (keploy#1256)

* fix: ignore the eof logs occuring after exiting user app

Signed-off-by: Sarthak160 <rocksarthak45@gmail.com>

* refactor: change name of the hook function

Signed-off-by: Sarthak160 <rocksarthak45@gmail.com>

---------

Signed-off-by: Sarthak160 <rocksarthak45@gmail.com>
* feat: Docker support for Keploy installation on Darwin

Signed-off-by: ananupam <2019024@iiitdmj.ac.in>

* refactor: oneClick and example

Signed-off-by: ananupam <2019024@iiitdmj.ac.in>

* refactor: checker for docker volume

Signed-off-by: ananupam <2019024@iiitdmj.ac.in>

* refactor:check for docker context

* refactor:context fix

---------

Signed-off-by: ananupam <2019024@iiitdmj.ac.in>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
* debug: adds debug logs for the filter mocks

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>

---------

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
Signed-off-by: ananupam <2019024@iiitdmj.ac.in>
* solved halting execution due to keploy config error

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

* solved halting execution due to errors in keploy-config

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

* solved halting execution due to errors in keploy-config

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

* implemented passthrough in postgres parser

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

* added continue

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

* removed unnecessary packages

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>

---------

Signed-off-by: EraKin575 <tejaskumar574@gmail.com>
Co-authored-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
* fix: runs the commands using the -c flag of sh

the sh shell provides a flag to run multiple commands from a single shell cmd. So using this we will be able to use the parsing of script cmds of shell

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>

---------

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
@Akash-Singh04
Copy link
Contributor Author

@PranshuSrivastava Your requested changes have been made

…he update prompt or not

Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
…he update prompt or not

Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
@Akash-Singh04
Copy link
Contributor Author

@nehagup Your requested changes have been made. Kindly test the functionality and let me know what improvements can be made to the UX

PranshuSrivastava and others added 13 commits May 23, 2024 00:52
Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
Signed-off-by: Shubham Jain <shubhamkjain@outlook.com>
* add:redis parser
---------

Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
* docker env fix

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>

* chore: remove envs

---------

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
* refactor: move dockerClient to platform

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>

* fix: make config reference type

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
---------

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
* adding viper default key

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>

* add: struct bind in releaser

* chore: remove build from unwanted file

---------

Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
* refactor: remove binary matching for sorted mocks

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* refactor: remove unused code

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* chore: make info to debug log

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* chore: fix linting issue

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* chore: fix linting issue

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* chore: fix linting issue

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

* chore: make info to debug log

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>

---------

Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
Signed-off-by: Yash Khare <yash2010118@akgec.ac.in>
Signed-off-by: dxtym <dilmurod.abdusamadov2004@gmail.com>
Signed-off-by: shivamsouravjha <shivamsouravjha@gmail.com>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
@nehagup nehagup requested a review from Sonichigo June 4, 2024 16:52
@nehagup
Copy link
Member

nehagup commented Jun 4, 2024

@Sonichigo please review

Akash-Singh04 and others added 5 commits June 4, 2024 22:46
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
* feat: add support for global passthrough in test mode

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>

* chore: change flag name and refactor

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>

---------

Signed-off-by: gouravkrosx <gouravgreatkr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature]: Add New Version Available Message to keploy