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

feat: add logging to decrypt.py #18

Merged
merged 7 commits into from
Jul 3, 2024
Merged

feat: add logging to decrypt.py #18

merged 7 commits into from
Jul 3, 2024

Conversation

athith-g
Copy link
Collaborator

@athith-g athith-g commented Jun 27, 2024

Adds logging messages to decrypt.py

Summary by Sourcery

This pull request introduces logging to the decrypt.py script, providing debug-level messages to track key identification, file decryption, file movement, and file removal processes.

  • New Features:
    • Added logging messages to track the progress and actions within decrypt.py.

Copy link

sourcery-ai bot commented Jun 27, 2024

Reviewer's Guide by Sourcery

This pull request adds logging messages to the decrypt.py script to provide better visibility into the script's operations. The changes include initializing a logger and adding debug-level logging statements at various points in the code to track the progress and outcomes of key operations.

File-Level Changes

Files Changes
middleware/decrypt.py Added logging statements to track the progress and outcomes of key operations such as identifying private keys, decrypting files, moving files, and removing files.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @athith-g - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 7 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
@athith-g athith-g requested a review from uniqueg July 1, 2024 19:36
middleware/decrypt.py Outdated Show resolved Hide resolved
middleware/decrypt.py Outdated Show resolved Hide resolved
@athith-g athith-g merged commit 95e1be3 into main Jul 3, 2024
1 check passed
@athith-g athith-g deleted the add_logging branch July 3, 2024 17:33
athith-g added a commit that referenced this pull request Jul 5, 2024
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.

2 participants