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 Request: Optionally Include Unstaged/Untracked Changes #2

Open
5 tasks
atxtechbro opened this issue Sep 13, 2024 · 0 comments
Open
5 tasks
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@atxtechbro
Copy link
Owner

Description:

We are considering adding support for optionally including unstaged and untracked changes when running Siphon. This feature will allow users to extract the context of a repository, including not only the committed files but also the files that are yet to be committed or tracked by Git.

Purpose:

  • The community has expressed interest in ensuring that incomplete changes (those that haven’t been staged or committed) can be captured by Siphon for testing or context purposes.
  • This option will be disabled by default to avoid accidental inclusion of untracked/unstaged changes, but we want to gather feedback on how users would prefer this feature to be implemented.

Details:

  • CLI Argument: We’ll add a flag like --include-unstaged or --include-untracked that users can pass when they want to include these types of changes.
  • Documentation: We'll update all relevant documentation, including the CLI help (--help) and README to explain how this feature works.
  • Next Release: This feature is planned for inclusion in the next release, but before finalizing the implementation, we want feedback on:
    • Preferred CLI flag syntax.
    • Whether this option should handle unstaged and untracked changes separately or as one unified flag.
    • Any potential edge cases to consider.

Request for Community Input:

  1. How often do you find yourself wanting to include unstaged or untracked changes in an extraction?
  2. Should these be handled as separate options (e.g., --include-unstaged and --include-untracked), or would you prefer a single flag that covers both cases?
  3. Any other feedback or suggestions?

We encourage everyone to comment with their use cases, thoughts, and suggestions so we can build this feature in a way that benefits the community most!

Tasks:

  • Implement CLI flags for including unstaged/untracked changes.
  • Update CLI help (--help).
  • Modify README with usage instructions.
  • Ensure the feature is optional and well-documented.
  • Thoroughly test the implementation with both small and large repositories.

@atxtechbro atxtechbro added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant