-
Notifications
You must be signed in to change notification settings - Fork 2.2k
improve README, move bulk of info to main CrateDB docs #891
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
Conversation
tianon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this needs to be rebased, and I've got a few comments on the content, but overall I'm definitely +1 on the idea of redirecting folks to upstream docs for more details. 👍
crate/README-short.txt
Outdated
| @@ -1 +1,2 @@ | |||
| Crate is an open source, highly scalable, shared-nothing distributed SQL database. | |||
| CrateDB is a distributed SQL database that makes it simple to store and analyze | |||
| massive amounts of machine data in real-time. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be a single line, and needs to be less than 100 characters (as seen in the Travis output).
crate/content.md
Outdated
|
|
||
| ## Open Files | ||
| [CrateDB](github.com/crate/crate) is a distributed SQL database that makes it | ||
| simple to store and analyze massive amounts of machine data in real-time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a single line -- see Travis output (there's a markdownfmt.sh script in the root of this repo that can be used to test locally).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused by what you mean here
I ran the script and it gave me some output, but no errors
what am I looking for?
also, as you commented, I don't see any travis stuff because it didn't run!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tianon I am also noticing that the markdownfmt.sh script produces a strange output. it's the whole of README.md plus the auto generated stuff. I removed the README.md and the output looks good. but I am not sure I should be removing the README.md from git
if I leave the README.md in git, am I right in assuming that the docker hub scripts will update that file properly?
sorry, I'm new to this whole thing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh, sorry for not being more specific -- ./markdownfmt.sh is just an interface to the particular markdownfmt tool we use. If you use -d, it'll show you a "diff" of the formatting changes it expects. If you use -w, it'll write the suggested changes directly to the files for you (which you'll want to review afterwards -- it doesn't always get the intent 100% right). Leaving the README.md completely alone is perfect -- @docker-library-bot will update it (and the Docker Hub description) automatically after this PR merges. 👍
crate/user-feedback.md
Outdated
| - Check [StackOverflow](https://stackoverflow.com/tags/crate) for common | ||
| problems | ||
| - Chat with us on [Slack](https://crate.io/docs/support/slackin/) | ||
| - Get [paid support](https://crate.io/pricing/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This entire user-feedback.md file was removed over in #888, especially to streamline the long content (similar in intent to this PR). If you want to customize the content in that new "Quick reference" section, you probably want to modify crate/get-help.md to point to these other resources (see any of .template-helpers/get-help.md, ibmjava/get-help.md, neo4j/get-help.md, oraclelinux/get-help.md, silverpeas/get-help.md, solr/get-help.md, websphere-liberty/get-help.md, or xwiki/get-help.md for examples).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay done that in my updated code ty
|
Shoot, Travis didn't even run on this PR for some reason 😞 |
|
@tianon oh! I think I made this pr by mistake, or else I don't understand how this particular function of github works. I have crate#3 which is where I was planning to get review from other Crate.io employees, and then was planning to pr against this repo I can certainly address your comments here in the above pr. but not sure if I should close this one, or if they're the same or something haha 😅 |
|
@tianon also, I noticed a README-short.md in our github repository for this image (i.e. nothing to do with the docs repository). I take it this can be removed? (I think it's here just bcus someone mirrored it over for some reason, but it serves no purposes here as far as I can tell) https://github.com/crate/docker-crate/blob/master/README-short.txt |
|
Huh, that's some odd PR work -- they wouldn't be the same PR, but they might be pointing at the same source branch (meaning they'll have the same contents). You likely want to do a rebase on this, which is easiest to perform via |
|
Oh, and the |
f2061e7 to
e69230e
Compare
|
@tianon thanks so much for all your help. I have made fixes and forced pushed an update to this branch. can you take another look? thanks!! |
f6200ee to
0d4ccc1
Compare
|
@tianon update: I got an ack from my colleague. so this is good to go from our perspective. how does it look from your pov? |
| @@ -1 +0,0 @@ | |||
| Crate is an open source, highly scalable, shared-nothing distributed SQL database. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do need this file in our repo; it populates the "Short Description" on the Docker Hub. It needs to be a single line, and less than 100 characters.
| @@ -1 +1,20 @@ | |||
| [the public Crate community on Slack](https://crate.io/docs/support/slackin/) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is inserted in the "quick reference" section under "where to get help". It is designed for a short message, so it is going to look strange with new headers inside the current bulleted list. Sorry we haven't documented this file yet.
crate/content.md
Outdated
| # What Is CrateDB? | ||
|
|
||
| Starting with 0.55.0, Crate does no longer support providing custom configuration files. However it is still possible to mount Crate's configuration into `/crate/config/crate.yml`. | ||
| [CrateDB](github.com/crate/crate) is a distributed SQL database that makes it simple to store and analyze massive amounts of machine data in real-time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This URL should have https:// in front ([CrateDB](https://github.com/crate/crate)).
crate/content.md
Outdated
| - Extremely fast distributed query execution. | ||
| - Auto-partitioning, auto-sharding, and auto-replication. | ||
| - Self-healing and auto-rebalancing. | ||
| - CrateDB offers the scalability and flexibility typically associated with a NoSQL database and is designed to run on inexpensive commodity servers and can be deployed and run across any sort of network. From personal computers to multi-region hybrid clouds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tabs are reversed: (should be hypen<tab>text)
- Standard ...(Likely being treated as a code-block as-is)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure I follow!
I added the tabs bcus that's what the script asked me to add
how do you mean "reversed"?
crate/content.md
Outdated
|
|
||
| By Default, Crate uses multicast for node discovery. This means nodes started in the same multicast zone will discover each other automatically. Docker multicast support between containers on different hosts depends on an overlay network driver. If that does not support multicast, you have to [enable unicast in a custom*crate.yml*](https://crate.io/docs/reference/best_practice/multi_node_setup.html) file. | ||
| - [Getting Started With CrateDB on Docker](https://crate.io/docs/install/containers/docker/) | ||
| - [CrateDB Docker Best Practices](https://crate.io/docs/reference/best_practice/docker.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, should be -<tab>text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhh okay
wow. is that standard markdown? ugly!! haha
|
Once it's good, we'll merge and the docs at https://hub.docker.com/_/crate/
will be automatically updated. Thanks for your persistence!
|
No description provided.