liip / liip/RMT

VCS commit should allow selecting files

Open
#128 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
459
Forks
45
PR merge metrics
No merged PRs in 30d

Description

I have a workflow in which I have plenty of non-committed files in my working directory: project files for my IDE, ngrok copy, WIP for stuff, etc.

Running `git add --all` in https://github.com/liip/RMT/blob/master/src/Liip/RMT/VCS/Git.php#L70 is _bad_ and should be discouraged.

Please at least permit a list of files to be provided.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/Liip/RMT/VCS/Git.php around line 70, where `git add --all` is invoked. Trace how commit files are selected and how VCS options are passed into the release workflow; done means the workflow can receive an explicit file list without adding unrelated working-directory files.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.