Move test-related detail from INSTALL.md to new test/README.md#12232
Move test-related detail from INSTALL.md to new test/README.md#12232DDvO wants to merge 2 commits intoopenssl:masterfrom
Conversation
091c31b to
08dbeb1
Compare
|
Two points:
|
|
Travis doesn't seem relevant. |
|
With the hyperlinks, going across to the other file is easy. I'm fine with this. @levitte, dismiss my review if you feel strongly. |
Ah, yes! I somehow recalled that there was a README already, but then I overlooked it. BTW, would be good if #12109 gets approved soon..
I agree with @paulidale that due to the hyperlinks going to the other file should be convenient to do. Moreover, many users will expect info on using the tests in |
|
Yesterday I had started cleaning up of references and code/symbol quotation layout in |
When you get a tarball and there's an |
I do not know what users you speak for. To me, that signals that testing isn't that important. |
Me too.
Agreed.
If I use Firefox for file browsing with a URL like this: Yet when browsing the file via GitHub, e.g., via |
When I as a user wanna know details about testing, I'd expect them in the We do still stress the importance of running the tests in and and Note also that I did not remove any of these sections regarding tests but just moved the details (namely on selecting specific tests and choosing verbosity) to |
|
@romen since you brought up the idea for such a change, WDYT about the current state of this PR? |
No, please, that's a maintenance issue waiting to happen.
Yeeeeeah, and the user will intuitively know to go there when they see INSTALL.md in their source tree. Right. |
Good that we agree here.
Sure 😉 Of course this is not what we can always expect. There is the inherent problem after we started switching to |
Please stop. We announce tarballs when releasing, they are downloadable from https://www.openssl.org/source/, that's what most users are going to go for. From that point of view, there's nothing "natural" about the github repo. |
Well, I was not thinking about the way users obtain the sources (I agree that for most of them it will be via the sources linked from https://www.openssl.org/, but could also be via git etc.), You are right we cannot generally expect people to use the online browsing approach. |
Why not? They are still readable as plain text, that's actually the most central feature with MarkDown! |
Ok, for most part they are pretty well readable. |
|
It's a matter of taste... the titles in the table of contents match the headings further down, and it's true that we have separate NOTES files for the non-common stuff. This still doesn't change my opinion on moving the test specific stuff (which is common for all platforms, I might add) |
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
romen
left a comment
There was a problem hiding this comment.
Left some comments
Also, maybe we should rename the old test/README as test/AUTHORING_TESTS.md or something similar, and add a link somewhere in the new test/README.md that is more user oriented.
INSTALL.md
Outdated
There was a problem hiding this comment.
Not sure about adding / as for non Unix users it might be confusing
There was a problem hiding this comment.
Possibly, but at least for Unix users it immediately makes clear that this is a directory name.
There was a problem hiding this comment.
Isn't "The name of the directory" clear enough?
There was a problem hiding this comment.
In this case it would be clear enough.
INSTALL.md
Outdated
There was a problem hiding this comment.
/ is not universally the dir separator
There was a problem hiding this comment.
I'm not so sure about this. Even on Windows one can use / (as a less well-known alternative to that terrible backslash notation \).
Also note that we already use the forward slash universally in many places, such as include/openssl/configuration.h.
There was a problem hiding this comment.
Even on Windows one can use
/
That totally depends. In CMD, you cannot necessarily do so, it very much depends on the program that's being invoked.
There was a problem hiding this comment.
Also note that we already use the forward slash universally in many places, such as
include/openssl/configuration.h.
CL is one of those programs
There was a problem hiding this comment.
That totally depends. In CMD, you cannot necessarily do so, it very much depends on the program that's being invoked.
What you cannot do with CMD is path completion involving a / (using the Tab key).
Yet you can do, e.g., cd include/openssl/.
There was a problem hiding this comment.
So even Windows users should not be too surprised about a trailing /,
and if so, they can learn something new about their wonderful OS 😉
There was a problem hiding this comment.
I was under the impression than in most non-platform-specific sections there was a deliberate intent to avoid using platform-specific things, like path separators.
But then again, as you noted we are not consistent about this and I don't think this should block this PR!
So unless @levitte feels strongly otherwise I would approve it as it is.
|
Re: hyperlinks I might be weird, but even when reading markdown on the terminal, if I find an hyperlink to another file in the Repo I have no problem in pointing my editor/viewer/pager to the file I am pointed to, and actually I prefer to have logical separation among different files (when it is worth it) instead of a monolithic single long file. E.g. I'd rather avoid to merge the current content of test/README or test/NOTES.VALGRIND into test/README.md and I would rather provide links. My preference for individual files is that I tend to read the whole file only once (case in which split files is annoying) and many more times I am more likely to be looking for some details about a specific topic. In the latter case having separate files means that I can still use |
Interesting - with which offline tool does this work for you?
Me too. This is another reason I don't like all those details on tests in
Fine by me.
Good point. |
Let's put that to the test, shall we?
|
Two very different audiences. I would rather not. |
All right. |
That's because you misunderstand. [link text itself]: http://www.reddit.comNote that we have external links in this form |
Got it - thanks @levitte for the clarification! |
|
I am sorry for the confusion and the extra work I caused about implicit links! I was clearly mistaken! |
Thanks @romen for your further comments and approval. I just changed the compiler name references as mentioned above, |
|
What still remains open here: @levitte, you questioned the idea of moving (as I clarified, just the details of) the information about testing out of |
|
24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually. |
ad5e11a to
8af13bb
Compare
|
I've rebased this PR to solve merge conflicts on Could any OTC member please re-approve. |
I haven't changed my mind, but am clearly a minority, and I don't care enough to fight harder. Que sera, sera... |
Thanks - so I'm taking this as an implicit approval, or at least no objection against the two existing ones :) |
…/symbol quotation layout
…g references Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Nicola Tuveri <[email protected]> (Merged from #12232)
…/symbol quotation layout Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Nicola Tuveri <[email protected]> (Merged from #12232)
|
Rebased, solved conflicts, and merged. |
as discussed in #12175 (comment).