Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/upgrade-breakage: Carefully adjust to the two available heading levels #1160

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

bar-g
Copy link
Contributor

@bar-g bar-g commented Jun 14, 2022

Focused only on a helpful documentation TOC .

See the individual commits for steped details.

Unknown: Is =foo as first-word, is too similar to = foo still relevant after this: dc51f5b

@bar-g bar-g changed the title Carefully adjust to the two available heading levels doc/upgrade-breakage: Carefully adjust to the two available heading levels Jun 14, 2022
@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

Hm, I may understand you might have tried to sort the "syntax now parsed, if not quoted" items from most to least probable?
So things like keyword that are most of the time ok (actually silently enabled in osh, by default already), last? (-> I'll change that back.)

Do I interpret it correctly that bare assignment issue (= argument quoting) will now only apply "within blocks"?

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

BTW As the (...) subshell to forkwait {..} stuff seems to be discouragement/deprecation, not breakage, that might be shortened/left to the link mentioned under "summary"?

@andychu
Copy link
Contributor

andychu commented Jun 14, 2022

As mentioned in the previous thread, I don't agree with promoting those items to a top level heading.

It seems like "making a mountain out of a mole hill", i.e. spending a lot of space on something that's minor.

Also I don't think most of these are wording improvemenets, e.g. the heading

"Syntax Parsed, if not quoted (usually ok)"

is very awkward and hard to read.

@andychu
Copy link
Contributor

andychu commented Jun 14, 2022

I'm still sort of interested in the table change on getting-started, but there were 2 problems there:

  1. It has to be tested and previewed
  2. The prose was also awkward / lengthy

If there was only one problem, I would probably be more excited and help get it into shape ... But since there are 2 different problems, I will just work on all the other important stuff (like hiring the compiler engineer) until something closer comes along, or someone else hits it, etc.

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

It seems like "making a mountain out of a mole hill", i.e. spending a lot of space on something that's minor.

Hm, though my own feeling, when first reading the doc, and having to "spoon collect" the docs, though, has been much more like "what the heck, there's stuff being hidden and not told, to make it look less". Thus rather getting wary about ugly things just waiting to break scripts.

That's where the motivation to fix this comes from. It made me very glad to see the things are harmless, get a nice error message, and are really easy to fix.

"Syntax Parsed, if not quoted (usually ok)" is very awkward and hard to read.

Sure, if you tell me what you find awkward like now, that should be easy for us to work out. And I know you can do nice and short wording, better than me. But naturally, short things may sometimes be understood differently, and could end up better after slight improvements.

For example, what I wondered about was the "more"in "More Quotes May Be Needed" -> how many more, yet?

What about "Some Quotes May Be Needed"? Maybe even adding (in a few/rare occasions)?

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

(The general problem with too short wording seems to be that it can create more questions than answers for people not knowing as much about it as you do.)

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

Ok, found the forkwait and cd block idioms and examples are properly mentioned in: https://www.oilshell.org/release/latest/doc/idioms.html (EDIT: Which is linked at the end)

Better to simply remove those from upgrade-breakage, to not distract/confuse readers, and end up providing a concise overview?

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

After quite some refinements and shortenings, I think it has now started to be a listing that can be shown (linked to) "with a straight face".

@bar-g
Copy link
Contributor Author

bar-g commented Jun 14, 2022

A thing that seems to be contradicting and might need your attention: Extended Globs are disabled by Simple Word Evaluation, but then ,(...) is a substitute for the @(...) ext. glob?

@bar-g
Copy link
Contributor Author

bar-g commented Jun 16, 2022

Why not check how your doc actually answers its question. Just some. Where your document does not list simple word eval (splice/glob/maybe) the document is incomplete, vague at best (no thanks/know-how to use later), where it mentions the oil:upgrade group it's redundant to the initial statement, where it says unconditional it's proofs wrong its "you don't need to read this for osh". The parts dealing with forkwait and blocks are not breakages at all. But I've now read enough feedback in the wild already complaining about that state of the "docs" not giving a proper answer, to know this can't be unknown to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants