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

Add sql subcommand for gitbase mysql client #45

Merged
merged 1 commit into from
Jun 13, 2019
Merged

Add sql subcommand for gitbase mysql client #45

merged 1 commit into from
Jun 13, 2019

Conversation

smacker
Copy link
Contributor

@smacker smacker commented Jun 12, 2019

Signed-off-by: Maxim Sukharev max@smacker.ru

@smacker smacker requested a review from a team June 12, 2019 08:57
Copy link
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing docs, entry in changelog

)

type sqlCmd struct {
Command `name:"sql" short-description:"Open a mysql client connected for gitbase" long-description:"Open a mysql client connected for gitbase"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Command `name:"sql" short-description:"Open a mysql client connected for gitbase" long-description:"Open a mysql client connected for gitbase"`
Command `name:"sql" short-description:"Open a MySQL client connected to gitbase" long-description:"Open a MySQL client connected to gitbase"`

@carlosms
Copy link
Contributor

Will it work on windows?

@smacker
Copy link
Contributor Author

smacker commented Jun 12, 2019

Thanks! Re-pushed with updated documentation.

It should work on windows. (at least docker exec -it worked as expected) I can test tomorrow.

@smacker
Copy link
Contributor Author

smacker commented Jun 13, 2019

works as a charm (srcd was inited without repos):
Screenshot 2019-06-13 at 11 52 15

CHANGELOG.md Outdated
@@ -16,6 +16,7 @@ The `sourced` binary is a wrapper for Docker Compose that downloads the `docker-
- `stop`: Stop running containers
- `start`: Start stopped containers
- `web`: Open the web interface in your browser
- `sql`: Open a MySQL client connected for gitbase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `sql`: Open a MySQL client connected for gitbase
- `sql`: Open a MySQL client connected to gitbase

README.md Outdated
sourced sql
```

Open a MySQL client connected for gitbase.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Open a MySQL client connected for gitbase.
Open a MySQL client connected to gitbase.

)

type sqlCmd struct {
Command `name:"sql" short-description:"Open a MySQL client connected for gitbase" long-description:"Open a MySQL client connected for gitbase"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Command `name:"sql" short-description:"Open a MySQL client connected for gitbase" long-description:"Open a MySQL client connected for gitbase"`
Command `name:"sql" short-description:"Open a MySQL client connected to gitbase" long-description:"Open a MySQL client connected to gitbase"`

Copy link
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 after the for/to text change

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@smacker
Copy link
Contributor Author

smacker commented Jun 13, 2019

for/to changed

@smacker smacker merged commit 6ae41a6 into src-d:master Jun 13, 2019
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.

2 participants