InditexTech / gh-sherpa

Streamline branch and pull request creation for Jira or GitHub issues from command line
Apache License 2.0
48 stars 2 forks source link

Branch Name Length Control Configurable #77

Closed jgomeztac closed 3 months ago

jgomeztac commented 4 months ago

Motivation

The current branch naming validation, which combines the GitHub project name with the branch name, often leads to branch names being unnecessarily short, particularly when the project name is already lengthy. This limitation often limit the ability to put a descriptive name in the branch, making it difficult to adequately convey their purpose or content. To overcome this limitation, it is crucial to provide users with the flexibility to utilize a sufficient number of characters to accurately describe their branches.

Proposed Solution

Implement a configurable variable that enables users to set the maximum length for branch names. This feature would offer users the flexibility to establish a suitable length, thereby ensuring they possess a satisfactory number of characters to precisely name their branches.

Acceptance criteria

jorgegarciarey commented 4 months ago

@jgomeztac , we're going to release a new version in a few days with this feature