Skip to content

Conversation

@cowutils
Copy link
Contributor

No description provided.

Copy link
Member

@tianon tianon left a 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. 👍

@@ -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.
Copy link
Member

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.
Copy link
Member

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).

Copy link
Contributor Author

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!

Copy link
Contributor Author

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!

Copy link
Member

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. 👍

- 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/)
Copy link
Member

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).

Copy link
Contributor Author

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

@tianon
Copy link
Member

tianon commented Apr 25, 2017

Shoot, Travis didn't even run on this PR for some reason 😞

@cowutils
Copy link
Contributor Author

@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 😅

@cowutils
Copy link
Contributor Author

@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

@tianon
Copy link
Member

tianon commented Apr 27, 2017

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 git pull --rebase https://github.com/docker-library/docs.git master (and will rebase your branch on master of this repo); then, you'll need to force push to update the branch (and then the "This branch has conflicts that must be resolved" from GitHub should go away). If you'd rather, one of us could take over from here (since you left the box checked that gives us push access), or we could wait for further comments from other members of the Crate team on the content? Your choice! (we're happy to help 😄 ❤️)

@tianon
Copy link
Member

tianon commented Apr 27, 2017

Oh, and the README-short.txt over in the docker-crate repo should be totally safe to remove. 👍

@cowutils
Copy link
Contributor Author

@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!!

@cowutils cowutils force-pushed the nomi/improve-docs branch from f6200ee to 0d4ccc1 Compare May 15, 2017 12:15
@cowutils
Copy link
Contributor Author

@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.
Copy link
Member

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/)
Copy link
Member

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.

@cowutils
Copy link
Contributor Author

@yosifkit @tianon I have updated my pr. can you please review? thanks!

if this is okay, what should happen next? thx!

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.
Copy link
Member

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.
Copy link
Member

@tianon tianon May 16, 2017

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)

Copy link
Contributor Author

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)
Copy link
Member

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

Copy link
Contributor Author

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

@tianon
Copy link
Member

tianon commented May 16, 2017 via email

@cowutils
Copy link
Contributor Author

@yosifkit @tianon pushed some fixups!! ty!

@yosifkit yosifkit merged commit d2125ef into docker-library:master May 17, 2017
@cowutils cowutils deleted the nomi/improve-docs branch May 19, 2017 12:11
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.

3 participants