← Back to issue list

cli: setup gitignore when working from git directory at init.

View original Github issue

Metadata

Project
snapcraft
Number
#1580
Type
pull request
State
closed
Author
msis
Labels
Created
Updated
Closed

Current evaluation

Closed without merging. Maintainers requested additional robustness to prevent error-prone behavior and noted unresolved conflicts, effectively rejecting the contribution.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ---- This adds predefined `.gitignore` if `.git` directory exists.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without merging. Maintainers requested additional robustness to prevent error-prone behavior and noted unresolved conflicts, effectively rejecting the contribution.
qwen3.6-35b-a3b-mtp-q6 Auto-setup .gitignore during init was closed without merging. Maintainers requested refactoring and noted the implementation required additional robustness to prevent errors, leading to abandonment.
qwen3.6-35b-a3b-mtp-q6 Auto-generating .gitignore during init was closed without merging. Maintainers requested restructuring and conflict fixes, but declined the contribution, noting the logic requires additional safeguards to prevent errors.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3918 commands: add init option for git initialization snapcraft closed Closed without merging due to failing tests and merge conflicts. Added --git and --no-vcs options to the init command for automatic git initialization and .gitignore generation. Maintainer closed it pending future updates.
74%