Skip to content

Global configuration #17

@lachmanfrantisek

Description

@lachmanfrantisek

There are several places, where one wants to tweak our TOOL:

  • push behaviour (?force)
  • PR text:
    • It's good for the first time, but next, people always have to remove some text.
    • Name of the pr from the branch? (my_name_of_the_branch -> My name of the branch, my-name-of-the-branch -> My name of the branch)
    • The commit messages, e.g. I'm using this:
["git", "log", "--pretty=format:- %s.",
          "%s..HEAD" % branch]).decode("utf-8").strip()

template = "Title of this PR\n\n{}\n\n".format(commit_msgs)

(I then have no Signed-off-by: line and have the list with the full stop at the end of each line.)


What about some global config with good defaults?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions