Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

feat: improved documentation site and release process #40

Merged
merged 13 commits into from
Oct 26, 2018
Merged

feat: improved documentation site and release process #40

merged 13 commits into from
Oct 26, 2018

Conversation

maoo
Copy link
Contributor

@maoo maoo commented Oct 19, 2018

@rikoe
Copy link
Contributor

rikoe commented Oct 22, 2018

@maoo can you provide a bit more context as to the reason for/changes in this PR?

Do you have an example of how the output will look? It is a bit hard to review without that.

Copy link
Member

@ColinEberhardt ColinEberhardt left a comment

Choose a reason for hiding this comment

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

All looks good to me - nice job. The only thing I'd like to debate changing is the package scope.

package.json Outdated
@@ -1,17 +1,40 @@
{
"name": "fdc3-api",
"version": "1.0.0",
"name": "@finos/fdc3-api",
Copy link
Member

Choose a reason for hiding this comment

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

I know you'd like to have this under @finos, however, this project provides TypeScript definitions which are conventionally released under the @types scope. The TypeScript compiler has special behaviours that rely on this convention, so we should try to keep to it.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Ok, I'll use the @types scope. We can still add finos npmjs user as collaborator, which will show up the package in the FINOS Org homepage.


On every commit, [semantic release](https://semantic-release.gitbook.io/semantic-release/) will be executed by Travis CI and - based on the commit message - will decide to trigger a release or not.

Release managers can use [commitizen](http://commitizen.github.io/cz-cli/) to simplify their commit process; simply install `npm install -g commitizen` and use `git cz` (instead of `git commit`) to commit your changes.
Copy link
Member

Choose a reason for hiding this comment

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

It's probably worth noting that if you 'squash and merge' pull requests you have the opportunity to fix commit messages that do not follow the convention.

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'll add some more text.

@maoo
Copy link
Contributor Author

maoo commented Oct 22, 2018

@maoo can you provide a bit more context as to the reason for/changes in this PR?

Do you have an example of how the output will look? It is a bit hard to review without that.

@rikoe, sure! http://fdc3-api.finos.org

I also notice a conflict with Specification-Draft.MD. I'll resolve that too and add commits within this Pull Request.

@rikoe
Copy link
Contributor

rikoe commented Oct 23, 2018

@maoo Looks great. What does the version number on the site signify? (1.1.5).

Arguably the current version of the API spec is 1.0.0-beta or 1.0.0-rc (in semver terms), as it is currently in the review period before 1.0.0 ratification.

@maoo
Copy link
Contributor Author

maoo commented Oct 23, 2018

Thanks @rikoe , glad to hear you like it.

The tagging is the latest tag being released and refers to my personal fork, see https://github.com/maoo/API/releases ; you will also notice that package.json does NOT have a version field anymore, as it's all managed by semantic release; also the Changelog (what you read in https://fdc3-api.finos.org/CHANGELOG.html) is automatically generated by commit history.

More docs on the release process can be found on https://github.com/maoo/API/blob/master/README.md ; please let me know if there's anything missing there.

The way Travis CI is currently configured is that the website gets updated only when a release occurs; this means that, after merging this PR, there should be few manual configuration steps (documented on ODP-52) and a pre-release (ie 0.9.9) to publish the documentation.

Hope this clarifies a bit more.

@nkolba nkolba merged commit f0634fd into FDC3:master Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants