commands: add init option for git initialization
Metadata
Current evaluation
PR #3918’s --git/--no-vcs init options were abandoned unmerged after tests failed and merge conflicts arose; a maintainer closed it on 2023-05-17.
Resolution: closed stale
Reason: No commit was merged. Maintainer @sergiusens closed the PR because tests had not passed and the branch had conflicts, stating they were closing it for now.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Add --no-vcs and --git options for the init subcommand to allow initialization of git and generation of a default .gitignore file in the project directory.
- [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/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | PR #3918’s --git/--no-vcs init options were abandoned unmerged after tests failed and merge conflicts arose; a maintainer closed it on 2023-05-17. | |
| stealth/space-bunny-alpha | — | closed stale | Closed unmerged after failing tests and merge conflicts blocked the proposed `snapcraft init --git` and `--no-vcs` options; no resolving commit was found. | |
| stealth/space-bunny-alpha | — | closed stale | PR #3918 proposed --git and --no-vcs options for snapcraft init, but closed unmerged after failing tests and merge conflicts. | |
| stealth/space-bunny-alpha | — | closed stale | Git initialization options for snapcraft init were not merged: PR #3918 was closed after failing tests and merge conflicts. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Adding --no-vcs and --git options to the init command was closed due to failing tests and merge conflicts. A maintainer rejected the contribution, leaving the feature abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1149 feat(init): git init features | craft-application | merged | Merged PR #1149 as commit 9c74d1fd, introducing a prototype for Git initialization features in the init command (CRAFT-5060). |