Skip to content

Feature/quarantine manager#224

Closed
GoatHero wants to merge 257 commits intomainfrom
feature/QuarantineManager
Closed

Feature/quarantine manager#224
GoatHero wants to merge 257 commits intomainfrom
feature/QuarantineManager

Conversation

@GoatHero
Copy link
Copy Markdown
Collaborator

@GoatHero GoatHero commented Mar 24, 2026

Description

Implemented the changes proposed in #151, mostly following the outlined function prototypes and requirements. For all the edges cases I caught them and propagated an error up to the client. I leave implementation of what to do to the CLI. A lot of the code involving permissions is very messy due to the differences between unix and windows. It might be worth looking into a more OS agnostics method to achieve what we want. In implementing this I noticed a problem with how we handle original file permissions as there was no system suggested for restoring windows file permissions which we do edit as part of making a file read only. This required me to implement a very janky system to deal with how we store permissions and should be fixed/changed in a later issue.

Related Issue

Fixes #151

Type of Change

  • Bug fix
  • New feature
  • Refactoring / CI / Docs
  • Other

How to Test

cargo test quarantine_tests

Checklist

  • Code follows project style (cargo fmt + cargo clippy)
  • Tests added/updated and passing (cargo test)
  • Documentation updated (if applicable)

Jordan231111 and others added 30 commits January 10, 2025 16:13
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: ST1543 <sammyt1544@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: QT1543 <quinnt1543@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
Signed-off-by: Jordan Ye <yejordan8888@gmail.com>
@GoatHero GoatHero added this to the MVP Demo - April 2026 milestone Mar 26, 2026
@GoatHero GoatHero self-assigned this Mar 26, 2026
@GoatHero GoatHero marked this pull request as ready for review March 27, 2026 20:22
@GoatHero GoatHero requested a review from Jordan231111 as a code owner March 27, 2026 20:22
Copy link
Copy Markdown
Owner

This PR is superseded by #229. main history was rewritten, which broke the ancestry here and caused GitHub to show an inflated commit list, so please review #229 instead.

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.

Step 11b/23 (Phase 2): Quarantine — Implement QuarantineManager core operations

7 participants