dmainou opened a new issue, #6386:
URL: https://github.com/apache/hop/issues/6386

   ### What would you like to happen?
   
   ### Summary
   
   Extend the Explorer (file browser) so that move, rename, and delete actions 
performed in the GUI automatically translate into the correct Git operations 
(git mv, git rm) in the background, preserving file history and ensuring clean, 
accurate version control.
   
   ### Problem
   
   Currently, when users:
   - Rename a file in the Explorer
   - Move a file between folders
   - Delete a file
   the GUI performs filesystem-level operations only.
   
   From Git’s perspective this becomes:
   - A file deleted
   - A new file created
   
   Instead of:
   ```
   git mv old_file new_file
   git rm deleted_file
   ```
   This causes:
   - Loss of file history
   - No traceability across renames or moves
   - Messy diffs
   - Poor blame and auditability
   - Friction for teams using Git as their source-of-truth
   
   This is especially painful for pipelines, workflows and other reusable 
components in regulated or audited environments 
   
   ### Proposed Behaviour
   
   When the user performs file operations in the Explorer:
   GUI Action | Git Command
   -- | --
   Rename file | git mv old new
   Move file | git mv old_path new_path
   Delete file | git rm file
   
   This ensures:
   
   File history is preserved
   - Git diff is clean
   - Git blame continues to work
   - Reviews and audits remain meaningful
   
   ### Why this matters
   
   Modern data and pipeline development is Git-first.
   
   Users expect:
   - Version history
   - Clean diffs
   - Accurate lineage across refactors
   - Safe collaboration
   
   Today, GUI-driven refactoring silently breaks Git semantics.
   This feature would make the Explorer:
   **A Git-aware refactoring tool instead of a dumb file browser**
   
   ### Scope
   
   This should apply whenever:
   - The project is a Git repository
   - The working directory is clean or staged
   
   If Git is not present:
   - Fall back to current filesystem behaviour
   
   ### Impact
   
   This enables:
   - Safe refactoring
   - Better audits
   - Proper lineage
   - Professional Git workflows for no-code / low-code users
   - With zero change to how users interact with the UI.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to