Skip to content

Conversation

@qarmin
Copy link
Owner

@qarmin qarmin commented Jul 18, 2025

Fixes #1560 (probably - I cannot reproduce problem, but added new validations before deleting

  • Appimage is no longer supported, due random bugs that are not reproducible with any other package format:

Closes #1222
Closes #1512
Closes #861
Closes #375

  • Adds ability to run Krokiet with arguments, that will automatically be used as included/excluded/referenced folders - more info with krokiet --help
  • Added script to find unused fluent translations
  • Changed pdf-rs to lopdf, to handle broken pdf's

@qarmin qarmin requested a review from Copilot July 18, 2025 10:41

This comment was marked as outdated.

@qarmin qarmin requested a review from Copilot July 20, 2025 08:53

This comment was marked as outdated.

@qarmin qarmin force-pushed the fixes_i_dont_know branch from 0118f58 to c9a4b83 Compare July 20, 2025 09:06
@qarmin qarmin requested a review from Copilot July 20, 2025 10:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request addresses several issues in the Krokiet application by adding folder validation, CLI argument support, and library updates. The changes focus on improving empty folder removal safety, adding command-line interface capabilities, and updating dependencies.

  • Adds validation to prevent deletion of folders that are no longer empty since scanning
  • Introduces CLI argument processing to automatically set included/excluded/referenced folders
  • Replaces pdf-rs with lopdf library for better PDF handling and reduced dependencies

Reviewed Changes

Copilot reviewed 26 out of 31 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
krokiet/src/cli.rs New CLI argument parser with folder validation and help/version commands
krokiet/src/settings.rs Modified settings loading to support CLI-provided folders via reserved preset
czkawka_core/src/common.rs Added folder validation function to check if folders contain only empty subfolders
czkawka_core/src/tools/broken_files.rs Replaced pdf-rs with lopdf for PDF validation
misc/find_unused_translations.py New Python script to find unused translation keys
Files not reviewed (4)
  • misc/.idea/czkawka.iml: Language not supported
  • misc/.idea/modules.xml: Language not supported
  • misc/.idea/vcs.xml: Language not supported
  • misc/.idea/workspace.xml: Language not supported
Comments suppressed due to low confidence (1)

krokiet/src/settings.rs:40

  • The constant name has a typo: 'RESERVER' should be 'RESERVED'.
pub const RESERVER_PRESET_IDX: i32 = PRESET_NUMBER as i32 - 1; // 10 normal presets + 1 reserved preset for custom settings

@qarmin qarmin merged commit 63ea7ca into master Jul 20, 2025
36 checks passed
@qarmin qarmin deleted the fixes_i_dont_know branch July 20, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants