You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <da...@apache.org> on 2021/04/20 21:02:57 UTC
Missing pilcrows (was: Re: SVN-4874: Avoid foreign repository merge
if repository UUIDs) match
Nathan Hartman wrote on Tue, Apr 20, 2021 at 16:07:58 -0400:
> On Tue, Apr 20, 2021 at 3:29 PM Daniel Shahaf <da...@apache.org> wrote:
> > (Aside: those <h4/>'s don't have the self-link pilcrows that all other <h{1..4}/>'s do.)
>
> Good catch! That's fixed in r1889033 now :-)
Thank you!
I have now looked for other instances of this omission:
% ag -B1 '<h\d' | grep -xv -- '--' | vim - # and run 'g/class="h\d/.,+d' interactively
1 pronunciation/index.html:19-
2 pronunciation/index.html:20:<h1>How To Pronounce "Subversion"</h1>
3 contributing.html:17-
4 contributing.html:18:<h1>Getting Involved with Apache Subversion and the Community</h1>
5 roadmap.html:18-
6 roadmap.html:19:<h1>Apache Subversion Roadmap</h1>
7 roadmap.html:136-
8 roadmap.html:137:<h3>Transition to LTS and Regular Releases</h3>
9 news.html:17-
10 news.html:18:<h1>Apache Subversion News Archives</h1>
11 features.html:18-
12 features.html:19:<h1>Apache Subversion Features</h1>
13 download.html:17-
14 download.html:18:<h1>Download Source Code</h1>
15 opw.html:17-
16 opw.html:18:<h1>Apache Subversion and the Outreach Program for Women</h1>
17 index.html:17-
18 index.html:18:<h1>Apache<span class="ss">®</span> Subversion<span class="ss">®</span></h1>
19 dev/index.html:17-
20 dev/index.html:18:<h1>Resources for Developers</h1>
21 packages.html:23-
22 packages.html:24:<h1>Apache Subversion Binary Packages</h1>
23 faq.zh.html:17-
24 faq.zh.html:18:<h1>Subversion FAQ(常见问题解答)</h1>
25 faq.zh.html:29-</p>
26 faq.zh.html:30:<h4>常见问题:</h4>
27 faq.zh.html:53-
28 faq.zh.html:54:<h4>如何使用:</h4>
29 faq.zh.html:98-
30 faq.zh.html:99:<h4>疑难解答:</h4>
31 faq.zh.html:157-
32 faq.zh.html:158:<h4>开发者问题</h4>
33 faq.zh.html:164-
34 faq.zh.html:165:<h4>说明:</h4>
35 faq.html:17-
36 faq.html:18:<h1>Apache Subversion FAQ</h1>
37 faq.html:28-
38 faq.html:29:<h4>General questions:</h4>
39 faq.html:67-
40 faq.html:68:<h4>How-to:</h4>
41 faq.html:151-
42 faq.html:152:<h4>Troubleshooting:</h4>
43 faq.html:262-
44 faq.html:263:<h4>Developer questions:</h4>
45 faq.html:274-
46 faq.html:275:<h4>References:</h4>
47 faq.html:764- of the anchor -->
48 faq.html:765:<h3>How is Subversion affected by SHA-1 hash collisions?
49 faq.html:3957-
50 faq.html:3958:<h3>When performing Subversion operations
51 faq.html:4003-
52 faq.html:4004:<h3>After importing files to my repository,
53 faq.html:4041-
54 faq.html:4042:<h3>When does <tt>svn copy</tt> create <tt>svn:mergeinfo</tt> properties?
55 faq.html:4088-
56 faq.html:4089:<h3> Passwords which contain some special characters do not seem to be working?
57 faq.html:4114-
58 faq.html:4115:<h3>Why does an HTTP(S) URL-to-URL copy or branch/tag operation
59 faq.html:4153-
60 faq.html:4154:<h3>When performing Subversion operations
61 faq.html:4483:<h4>Troubleshooting:</h4>
62 faq.html:4490-
63 faq.html:4491:<h4>BDB questions:</h4>
64 faq.ja.html:17-
65 faq.ja.html:18:<h1>Subversion FAQ</h1>
66 faq.ja.html:29-
67 faq.ja.html:30:<h4>General questions:</h4>
68 faq.ja.html:52-
69 faq.ja.html:53:<h4>How-to:</h4>
70 faq.ja.html:94-
71 faq.ja.html:95:<h4>Troubleshooting:</h4>
72 faq.ja.html:142-
73 faq.ja.html:143:<h4>Developer questions:</h4>
74 faq.ja.html:149-
75 faq.ja.html:150:<h4>References:</h4>
76 mailing-lists.html:17-
77 mailing-lists.html:18:<h1>Apache Subversion Mailing Lists</h1>
78 security/CVE-2015-3184-advisory.txt:842-+<body>
79 security/CVE-2015-3184-advisory.txt:843:+ <h2>repos - Revision 1: /A/D</h2>
80 security/CVE-2015-3184-advisory.txt:852-+<body>
81 security/CVE-2015-3184-advisory.txt:853:+ <h2>repos - Revision 1: /A/D</h2>
82 security/CVE-2015-3184-advisory.txt:863-+<body>
83 security/CVE-2015-3184-advisory.txt:864:+ <h2>repos - Revision 1: /A/D/H</h2>
84 security/CVE-2015-3184-advisory.txt:2923-+<body>
85 security/CVE-2015-3184-advisory.txt:2924:+ <h2>repos - Revision 1: /A/D</h2>
86 security/CVE-2015-3184-advisory.txt:2933-+<body>
87 security/CVE-2015-3184-advisory.txt:2934:+ <h2>repos - Revision 1: /A/D</h2>
88 security/CVE-2015-3184-advisory.txt:2944-+<body>
89 security/CVE-2015-3184-advisory.txt:2945:+ <h2>repos - Revision 1: /A/D/H</h2>
90 security/index.html:17-
91 security/index.html:18:<h1>Apache Subversion Security</h1>
92 security/index.html:35-
93 security/index.html:36:<h2 id="advisories">Previous Security Advisories
94 source-code.html:17-
95 source-code.html:18:<h1>Source Code</h1>
96 quick-start.html:18-
97 quick-start.html:19:<h1>Apache Subversion: Quick Start</h1>
98 reporting-issues.html:17-
99 reporting-issues.html:18:<h1>Apache Subversion Issues</h1>
100 docs/release-notes/1.12.html:23-
101 docs/release-notes/1.12.html:24:<h1 style="text-align: center">Apache Subversion 1.12 Release Notes</h1>
102 docs/release-notes/1.2.html:18-
103 docs/release-notes/1.2.html:19:<h1 style="text-align: center">Subversion 1.2 Release Notes</h1>
104 docs/release-notes/1.14.html:23-
105 docs/release-notes/1.14.html:24:<h1 style="text-align: center">Apache Subversion 1.14 LTS Release Notes</h1>
106 docs/release-notes/1.6.html:18-
107 docs/release-notes/1.6.html:19:<h1 style="text-align: center">Apache Subversion 1.6 Release Notes</h1>
108 docs/release-notes/1.3.html:18-
109 docs/release-notes/1.3.html:19:<h1 style="text-align: center">Subversion 1.3 Release Notes</h1>
110 docs/release-notes/index.html:18-
111 docs/release-notes/index.html:19:<h1>Apache Subversion Releases</h1>
112 docs/release-notes/1.13.html:23-
113 docs/release-notes/1.13.html:24:<h1 style="text-align: center">Apache Subversion 1.13 Release Notes</h1>
114 docs/release-notes/1.6.zh.html:18-
115 docs/release-notes/1.6.zh.html:19:<h1 style="text-align: center">Subversion 1.6发布说明</h1>
116 docs/release-notes/release-history.html:17-
117 docs/release-notes/release-history.html:18:<h2>Subversion Release History</h2>
118 docs/release-notes/1.10.html:23-
119 docs/release-notes/1.10.html:24:<h1 style="text-align: center">Apache Subversion 1.10 Release Notes</h1>
120 docs/release-notes/1.10.html:1069-<a name="serf-svndiff1"></a>
121 docs/release-notes/1.10.html:1070:<h4>RA-serf now compresses deltas when possible
122 docs/release-notes/1.4.html:18-
123 docs/release-notes/1.4.html:19:<h1 style="text-align: center">Subversion 1.4 Release Notes</h1>
124 docs/release-notes/1.5.html:18-
125 docs/release-notes/1.5.html:19:<h1 style="text-align: center">Subversion 1.5 Release Notes</h1>
126 docs/release-notes/1.1.html:18-
127 docs/release-notes/1.1.html:19:<h1 style="text-align: center">Subversion 1.1 Release Notes</h1>
128 docs/release-notes/1.1.html:20:<h2 style="text-align: center">(and State of the Project)</h2>
129 docs/release-notes/1.1.html:28-
130 docs/release-notes/1.1.html:29:<h3>Overview</h3>
131 docs/release-notes/1.1.html:39-
132 docs/release-notes/1.1.html:40:<h3>Compatibility Concerns</h3>
133 docs/release-notes/1.1.html:65-
134 docs/release-notes/1.1.html:66:<h3>New Major Features</h3>
135 docs/release-notes/1.1.html:67-
136 docs/release-notes/1.1.html:68:<h4>Non-database repositories (<em>new server feature</em>)</h4>
137 docs/release-notes/1.1.html:94-
138 docs/release-notes/1.1.html:95:<h4>Symlink versioning (<em>new client feature</em>)</h4>
139 docs/release-notes/1.1.html:111-
140 docs/release-notes/1.1.html:112:<h4>Client follows renames (<em>new client feature</em>)</h4>
141 docs/release-notes/1.1.html:125-
142 docs/release-notes/1.1.html:126:<h4>Command line auto-escaping of URI and IRIs (<em>new client
143 docs/release-notes/1.1.html:145-
144 docs/release-notes/1.1.html:146:<h4>Localized messages (<em>new client feature</em>)</h4>
145 docs/release-notes/1.1.html:164-
146 docs/release-notes/1.1.html:165:<h3>Other Improvements</h3>
147 docs/release-notes/1.1.html:166-
148 docs/release-notes/1.1.html:167:<h4>Speed optimizations: (<em>requires both new client and server</em>)</h4>
149 docs/release-notes/1.1.html:170-
150 docs/release-notes/1.1.html:171:<h4>Shareable working copies: (<em>client fix</em>)</h4>
151 docs/release-notes/1.1.html:178-
152 docs/release-notes/1.1.html:179:<h4>New 'store-passwords' runtime variable: (<em>new client feature</em>)</h4>
153 docs/release-notes/1.1.html:186-
154 docs/release-notes/1.1.html:187:<h4>Bugfixes:</h4>
155 docs/release-notes/1.1.html:191-
156 docs/release-notes/1.1.html:192:<h4>New subcommand switches:</h4>
157 docs/release-notes/1.1.html:238-
158 docs/release-notes/1.1.html:239:<h3>Developer Changes</h3>
159 docs/release-notes/1.1.html:253-
160 docs/release-notes/1.1.html:254:<h3>Testimonials and Roadmap</h3>
161 docs/release-notes/1.11.html:23-
162 docs/release-notes/1.11.html:24:<h1 style="text-align: center">Apache Subversion 1.11 Release Notes</h1>
163 docs/release-notes/1.9.html:23-
164 docs/release-notes/1.9.html:24:<h1 style="text-align: center">Apache Subversion 1.9 Release Notes</h1>
165 docs/release-notes/1.8.html:18-
166 docs/release-notes/1.8.html:19:<h1 style="text-align: center">Apache Subversion 1.8 Release Notes</h1>
167 docs/release-notes/1.7.html:18-
168 docs/release-notes/1.7.html:19:<h1 style="text-align: center">Apache Subversion 1.7 Release Notes</h1>
169 docs/index.html:17-
170 docs/index.html:18:<h1>Apache Subversion Documentation</h1>
171 docs/community-guide/index.html:18-<!--#include virtual="guide-nav.html" -->
172 docs/community-guide/index.html:19:<h1>Apache Subversion Community Guide (aka "HACKING")</h1>
173 docs/community-guide/community-guide.html:28-
174 docs/community-guide/community-guide.html:29:<h1>Subversion Community Guide (aka "HACKING")</h1>
175 docs/community-guide/issues.part.html:412-
176 docs/community-guide/issues.part.html:413:<h3>Security approach in Subversion's Design and Implementation</h3>
177 docs/community-guide/issues.part.html:426-
178 docs/community-guide/issues.part.html:427:<h3>Handling reported security vulnerabilities</h3>
179 docs/community-guide/issues.part.html:442-
180 docs/community-guide/issues.part.html:443:<h4>Mailing Lists</h4>
181 docs/community-guide/issues.part.html:450-
182 docs/community-guide/issues.part.html:451:<h4>Tracking Issues</h4>
183 docs/community-guide/issues.part.html:458-
184 docs/community-guide/issues.part.html:459:<h4>Procedures We Follow</h4>
185 ideas.html:17-
186 ideas.html:18:<h1>Apache Subversion Project Ideas</h1>
%
Most of these seem like false positives, but if anyone wants to go
through the results (doesn't have to be Nathan, of course), feel free.
Cheers,
Daniel
[«.,+d» means "delete from the current line to the following one,
inclusive". Perl isn't the only language that sometimes resembles line
noise ;-)]
Re: Missing pilcrows (was: Re: SVN-4874: Avoid foreign repository
merge if repository UUIDs) match
Posted by Nathan Hartman <ha...@gmail.com>.
On Wed, Aug 4, 2021 at 6:58 AM Bert Huijben <be...@qqmail.nl> wrote:
> Historic note:
> A long time ago we had to be very strict not to do this, as some major
> Subversion hosting provider (of which I don't know the name) just copied a
> blank repository to create new repositories. So all repositories hosted
> there had the same UUID.
> (And they couldn't just 'fix' this, as that would immediately break other
> working copies)
>
>
> I really hope this comment is now long outdated and we can just enable
> this....
>
Which comment are you referring to?
Nathan
Re: Missing pilcrows (was: Re: SVN-4874: Avoid foreign repository
merge if repository UUIDs) match
Posted by Bert Huijben <be...@qqmail.nl>.
Historic note:
A long time ago we had to be very strict not to do this, as some major
Subversion hosting provider (of which I don't know the name) just copied a
blank repository to create new repositories. So all repositories hosted
there had the same UUID.
(And they couldn't just 'fix' this, as that would immediately break other
working copies)
I really hope this comment is now long outdated and we can just enable
this....
Bert
On Mon, Apr 26, 2021 at 8:39 PM Daniel Shahaf <da...@apache.org> wrote:
> Thanks a lot for fixing these! And kudos for giving the case-by-case
> details ☺
>
Re: Missing pilcrows (was: Re: SVN-4874: Avoid foreign repository merge if repository UUIDs) match
Posted by Daniel Shahaf <da...@apache.org>.
Thanks a lot for fixing these! And kudos for giving the case-by-case details ☺
Re: Missing pilcrows (was: Re: SVN-4874: Avoid foreign repository
merge if repository UUIDs) match
Posted by Nathan Hartman <ha...@gmail.com>.
On Tue, Apr 20, 2021 at 5:02 PM Daniel Shahaf <da...@apache.org> wrote:
>
> Nathan Hartman wrote on Tue, Apr 20, 2021 at 16:07:58 -0400:
> > On Tue, Apr 20, 2021 at 3:29 PM Daniel Shahaf <da...@apache.org>
wrote:
> > > (Aside: those <h4/>'s don't have the self-link pilcrows that all
other <h{1..4}/>'s do.)
> >
> > Good catch! That's fixed in r1889033 now :-)
>
> Thank you!
>
> I have now looked for other instances of this omission:
Thanks!
> % ag -B1 '<h\d' | grep -xv -- '--' | vim - # and run
'g/class="h\d/.,+d' interactively
As you suspected, this does produce some false positives by triggering
on the blank line preceding a heading (as well as a few that aren't
heading tags). However the results are still useful as it did correctly
locate numerous actual missing pilcrows.
I left the h1's alone as they are page titles and therefore (I think)
they don't need section links.
Detail of changes:
> 8 roadmap.html:137:<h3>Transition to LTS and Regular Releases</h3>
> 176 docs/community-guide/issues.part.html:413:<h3>Security approach
in Subversion's Design and Implementation</h3>
> 178 docs/community-guide/issues.part.html:427:<h3>Handling reported
security vulnerabilities</h3>
> 180 docs/community-guide/issues.part.html:443:<h4>Mailing Lists</h4>
> 182 docs/community-guide/issues.part.html:451:<h4>Tracking Issues</h4>
> 184 docs/community-guide/issues.part.html:459:<h4>Procedures We
Follow</h4>
> 128 docs/release-notes/1.1.html:20:<h2 style="text-align:
center">(and State of the Project)</h2>
> 130 docs/release-notes/1.1.html:29:<h3>Overview</h3>
> 132 docs/release-notes/1.1.html:40:<h3>Compatibility Concerns</h3>
> 134 docs/release-notes/1.1.html:66:<h3>New Major Features</h3>
> 136 docs/release-notes/1.1.html:68:<h4>Non-database repositories
(<em>new server feature</em>)</h4>
> 138 docs/release-notes/1.1.html:95:<h4>Symlink versioning (<em>new
client feature</em>)</h4>
> 140 docs/release-notes/1.1.html:112:<h4>Client follows renames
(<em>new client feature</em>)</h4>
> 142 docs/release-notes/1.1.html:126:<h4>Command line auto-escaping of
URI and IRIs (<em>new client
> 144 docs/release-notes/1.1.html:146:<h4>Localized messages (<em>new
client feature</em>)</h4>
> 146 docs/release-notes/1.1.html:165:<h3>Other Improvements</h3>
> 148 docs/release-notes/1.1.html:167:<h4>Speed optimizations:
(<em>requires both new client and server</em>)</h4>
> 150 docs/release-notes/1.1.html:171:<h4>Shareable working copies:
(<em>client fix</em>)</h4>
> 152 docs/release-notes/1.1.html:179:<h4>New 'store-passwords' runtime
variable: (<em>new client feature</em>)</h4>
> 154 docs/release-notes/1.1.html:187:<h4>Bugfixes:</h4>
> 156 docs/release-notes/1.1.html:192:<h4>New subcommand switches:</h4>
> 158 docs/release-notes/1.1.html:239:<h3>Developer Changes</h3>
> 160 docs/release-notes/1.1.html:254:<h3>Testimonials and Roadmap</h3>
Fixed in r1889186 and r1889188.
> 93 security/index.html:36:<h2 id="advisories">Previous Security
Advisories
Fixed missing div around the section. This caused the heading, rather
than the section, to be highlighted when the section link was visited.
Detail of non-changes:
> 38 faq.html:29:<h4>General questions:</h4>
> 40 faq.html:68:<h4>How-to:</h4>
> 42 faq.html:152:<h4>Troubleshooting:</h4>
> 44 faq.html:263:<h4>Developer questions:</h4>
> 46 faq.html:275:<h4>References:</h4>
> 61 faq.html:4483:<h4>Troubleshooting:</h4>
> 63 faq.html:4491:<h4>BDB questions:</h4>
> 26 faq.zh.html:30:<h4>常见问题:</h4>
> 28 faq.zh.html:54:<h4>如何使用:</h4>
> 30 faq.zh.html:99:<h4>疑难解答:</h4>
> 32 faq.zh.html:158:<h4>开发者问题</h4>
> 34 faq.zh.html:165:<h4>说明:</h4>
> 67 faq.ja.html:30:<h4>General questions:</h4>
> 69 faq.ja.html:53:<h4>How-to:</h4>
> 71 faq.ja.html:95:<h4>Troubleshooting:</h4>
> 73 faq.ja.html:143:<h4>Developer questions:</h4>
> 75 faq.ja.html:150:<h4>References:</h4>
The above are part of the FAQ TOC, which has an explicit comment: "no
'id' or 'title' attribute for TOC" so I'm leaving them as-is.
> 48 faq.html:765:<h3>How is Subversion affected by SHA-1 hash
collisions?
> 121 docs/release-notes/1.10.html:1070:<h4>RA-serf now compresses
deltas when possible
False positive due to extra anchors for compatibility with older IDs.
> 50 faq.html:3958:<h3>When performing Subversion operations
> 52 faq.html:4004:<h3>After importing files to my repository,
> 54 faq.html:4042:<h3>When does <tt>svn copy</tt> create
<tt>svn:mergeinfo</tt> properties?
> 56 faq.html:4089:<h3> Passwords which contain some special
characters do not seem to be working?
> 58 faq.html:4115:<h3>Why does an HTTP(S) URL-to-URL copy or
branch/tag operation
> 60 faq.html:4154:<h3>When performing Subversion operations
False positives due to long title text or extra newline between div
and heading tags.
> 79 security/CVE-2015-3184-advisory.txt:843:+ <h2>repos - Revision 1:
/A/D</h2>
> 81 security/CVE-2015-3184-advisory.txt:853:+ <h2>repos - Revision 1:
/A/D</h2>
> 83 security/CVE-2015-3184-advisory.txt:864:+ <h2>repos - Revision 1:
/A/D/H</h2>
> 85 security/CVE-2015-3184-advisory.txt:2924:+ <h2>repos - Revision
1: /A/D</h2>
> 87 security/CVE-2015-3184-advisory.txt:2934:+ <h2>repos - Revision
1: /A/D</h2>
> 89 security/CVE-2015-3184-advisory.txt:2945:+ <h2>repos - Revision
1: /A/D/H</h2>
Text files (patches, actually).
Cheers,
Nathan