Skip to content

Use git log to minimize Pyf-testing time #2

@spirillen

Description

@spirillen

To minimize how much time PyFunceble is using to check only newly submitted records, I was thinking about using git blame

However @funilrys came up with another idea... git log

After looking at the manual of the git-log I made the following as example for the PyFunceble version.yaml file:

$ git log --word-diff=porcelain -1 -p  -- version.yaml | grep -e "^+" | tail -1
$ git log --word-diff=porcelain -1 -p  -- version.yaml | grep -e "^+" | tail -1
+3.0.7.dev

This could work well in the hands of a submit branch and then let Travis run in travis-ci

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions