Page MenuHomeFreeBSD

Add "Pull Request" to the devel/subversion commit template
AbandonedPublic

Authored by asomers on Nov 21 2017, 2:37 AM.
Tags
None
Referenced Files
F82028892: D13179.diff
Wed, Apr 24, 6:16 PM
Unknown Object (File)
Mar 23 2024, 3:01 AM
Unknown Object (File)
Jan 29 2024, 11:47 AM
Unknown Object (File)
Jan 15 2024, 3:39 AM
Unknown Object (File)
Dec 22 2023, 11:14 PM
Unknown Object (File)
Nov 6 2023, 4:03 AM
Unknown Object (File)
Oct 31 2023, 12:55 PM
Unknown Object (File)
Oct 5 2023, 2:57 AM
Subscribers

Details

Reviewers
emaste
imp
bjk
Summary

Add "Pull Request" to the devel/subversion commit template

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12898
Build 13160: arc lint + arc unit

Event Timeline

rpokala added inline comments.
devel/subversion/files/extra-patch-fbsd-template
93

This looks like a gratuitous whitespace change...? It's not from D13178 at any rate.

devel/subversion/files/extra-patch-fbsd-template
93

I generated the patch with "make makepatch". Notice that the effect of the patch is the same; there is no change to the patched file. The difference is just a matter of which blank line diff thinks is new, and which diff thinks is context.

Switch order of "Pull Request" and "Differential Revision"

while here can you add 'tested by' and 'discussed with'?

You should also add it to the various hooks/scripts/log-police.py in all the svnadmin repositories.

In D13179#275428, @mat wrote:

You should also add it to the various hooks/scripts/log-police.py in all the svnadmin repositories.

Good idea. I've done that in my working copy, but I can't upload it to phabricator because phabricator diffs are anchored to /head/, not /. Here's what the svnadmin portion of the diff looks like:

Index: svnadmin/hooks/scripts/log-police.py
===================================================================
--- svnadmin/hooks/scripts/log-police.py        (revision 454858)
+++ svnadmin/hooks/scripts/log-police.py        (working copy)
@@ -57,6 +57,7 @@
     if line == "Changes:": continue
     if line == "With hat:": continue
     if line == "Sponsored by:": continue
+    if line == "Pull Request:": continue
     if line == "Differential Revision:": continue
     s = s + line + "\n"
   s = s.rstrip() + "\n"
In D13179#274381, @mjg wrote:

while here can you add 'tested by' and 'discussed with'?

I would rather do that in a separate commit, if that's ok with you.

This revision is now accepted and ready to land.Dec 5 2017, 9:49 PM

@emaste, did you mean to approve D13178 instead? That's the review for the src repo. This review is for ports.

Mmmm, I don't really know. The ports tree does not support patches from pull requests, only from our bugzilla, it would be much better to have the pull-request -> bugzilla gateway finally working.

In that case, @mat, would you like me to commit the part to devel/subversion (so it can be used with base), but not the part to svnadmin?

In D13179#289885, @mat wrote:

Mmmm, I don't really know. The ports tree does not support patches from pull requests, only from our bugzilla, it would be much better to have the pull-request -> bugzilla gateway finally working.

Note that many FreeBSD src committers use the svn port, it's not used only for commits to the ports tree. And although there is no direct tooling for handling pull requests, it's relatively straightforward for any committer who is already using a git-based workflow to bring in changes from pull requests, and when those arrive in FreeBSD they should have consistent metadata.

Overcome by events. RIP SVN.

We do have Pull Request in the new git template