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

Git: Merge develop branch to master #14

Merged
merged 55 commits into from
Apr 11, 2020
Merged

Git: Merge develop branch to master #14

merged 55 commits into from
Apr 11, 2020

Conversation

yanyi
Copy link
Owner

@yanyi yanyi commented Apr 11, 2020

Overview

Follow up of PR #13, this Pull Request merges all commits made on the develop branch into the master branch to follow a new branching strategy.

From post-merge of this PR, all features/hotfixes/etc. should be made off master branch. master branch will serve as the staging environment.

Notes

The develop branch will be removed after merging. Also, the default branch will be changed from develop to master.

yanyi and others added 30 commits April 9, 2020 18:14
GitHub: Update CI workflow + add PR template
Making use of cobra pkg in order to create the CLI with ease.
As we want to generate multiple mutations or queries for GraphQL, the
given examples should reflect that: making use of GraphQL aliases.

https://graphql.org/learn/queries/#aliases
FormattedInput formats the given input and append two spaces to the
front of every line. This allows this formatted input to be fed into the
generator.
yanyi and others added 25 commits April 10, 2020 00:29
mutations: Integrate CLI command with generate pkg
Since this tool is for GraphQL, it can be used with a `queries` or
`mutations` command like:

- generate-multifields queries
- generate-multifields mutations

There was no need for a `-gql`. Just to shorten the CLI's name a
_slight_ bit.
Rename to drop -gql from CLI name
Was previously only concentrating on the Go parts.
There is an issue trying to pull from GitHub when working in a private
repository when Go tries to get a module/pkg. Since we are working in
relative path (be it development or Dockerfile), we can make use of the
replace directive to point to the relative path.

https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive
Docker: Dockerize the CLI into a Docker image
Instead of working off a `develop` branch, make use of the `master`
branch as staging. Afterwards, release process should be based off the
`master` branch.
Git: Migrate to `master` branch as staging
@yanyi yanyi merged commit 96defd2 into master Apr 11, 2020
@yanyi yanyi deleted the develop branch April 11, 2020 02:38
This was referenced Apr 11, 2020
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

1 participant