Review Request 121586: Restore upload functionality to git.reviewboard.kde.org

Kevin Funk kfunk at kde.org
Fri Dec 19 07:58:46 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121586/#review72283
-----------------------------------------------------------



plugins/git/gitplugin.h
<https://git.reviewboard.kde.org/r/121586/#comment50417>

    Maybe document that => Something along: "Whether to use 'git --no-prefix' or not"



plugins/git/gitplugin.cpp
<https://git.reviewboard.kde.org/r/121586/#comment50413>

    ```
    *job << "git" << "diff" << "--no-color" << "--no-ext-diff";
    if (!usePrefix()) {
            // ReviewBoard now requires p1 patchfiles, so we can no longer do `git diff --no-prefix` ...
            *job << "--no-prefix";
    }
    ```
    
    ... is more simple.



plugins/git/gitplugin.cpp
<https://git.reviewboard.kde.org/r/121586/#comment50414>

    Good use-case for the ternary operator => `diff.setDepth(cond ? 1 : 0)`



plugins/reviewboard/reviewboardjobs.cpp
<https://git.reviewboard.kde.org/r/121586/#comment50416>

    Remove



vcs/vcsdiff.cpp
<https://git.reviewboard.kde.org/r/121586/#comment50415>

    Please initialize (here or in the ctor)


- Kevin Funk


On Dec. 18, 2014, 9:59 p.m., René J.V. Bertin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121586/
> -----------------------------------------------------------
> 
> (Updated Dec. 18, 2014, 9:59 p.m.)
> 
> 
> Review request for KDE Software on Mac OS X and KDevelop.
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> A change was made on git.reviewboard.kde.org on December 13th a bit before 22h Europe/Paris time, ending support for p0 patch files. This broke the upload functionality in the current/stable version KDevelop's patchreview plugin.
> 
> The patch under review is a workaround (`*`) that restores this functionality by invoking the git helper process which generates the patchfiles with the correct arguments.
> 
> `*`) The real bug is in the reviewboard software, and should be addressed at that level. I work with a software distribution system that requires p0 patches, for which I created patches with KDevelop, something which will now require an additional step.
> 
> 
> Diffs
> -----
> 
>   plugins/reviewboard/reviewboardjobs.cpp 007a6e0 
>   plugins/reviewboard/reviewboardplugin.cpp 1dd3bcb 
>   vcs/vcsdiff.h 573ec1b 
>   vcs/vcsdiff.cpp 01eb73c 
>   vcs/widgets/vcsdiffpatchsources.h 6a2f934 
>   vcs/widgets/vcsdiffpatchsources.cpp c3e2dae 
>   plugins/git/gitplugin.h e930423 
>   plugins/git/gitplugin.cpp f38dc71 
>   plugins/patchreview/patchreview.cpp 18b63db 
> 
> Diff: https://git.reviewboard.kde.org/r/121586/diff/
> 
> 
> Testing
> -------
> 
> Under OS X 10.9; this RR has been created from a patched copy of KDevelop 4.7 .
> 
> 
> Thanks,
> 
> René J.V. Bertin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20141219/c5d74d1a/attachment-0001.html>


More information about the KDevelop-devel mailing list