-
Notifications
You must be signed in to change notification settings - Fork 10
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
Technologies and Frameworks: General project features #1
Comments
I'd say GitReleases and ESLint. |
Great options, gonna start from the top. As someone looking to learn and coming from a beginner's point of view:
|
Also, nothing was said about CI/CD? |
CI/CD is something we can only think about once the final toolset is decided. Only then we can choose the right CI tool for us based on pricing, integration and required features. I listed some tools on #2 as it seemed appropriate to discuss the Continuous Delivery on the backend (aka. the thing that actually needs deployment). Versioning-wise I'd use git-semver + GitReleases for our projects. It can be semi-automated with a working CI and reasonably easy to use. Only caveat would be that pull requests would need to document their changes in the |
In regards to ESLint it could be worth doing a poll of which features people want enabled or disabled and then have our own version with community choices by frequency of votes. |
I like the Github Releases from first glance. I also have been using AirBnB for eslint for the last handful of projects as well. No experience using CI myself, yet. But ive heard good recommendations about CircleCI. |
Here's a list of all the ESLint Style Guides and some commonalities and differences to pick from.Commonalities
Google JavaScript Style Guide
AirBnB
Standard
References: |
Good work! A nice list of comparables. I am partial to the AirBnB standard over the google standard. |
@Sharpie360 me too. |
@mjmardini @Sharpie360 me too |
@Sharpie360 @mjmardini @aronhoyer same |
Hello together,
This issue is to hold a discussion about which frameworks to use.
The scope of this issue is to decide on features all projects (currently backend and mobile app) should have.
Versioning and Release note management
We will be using Semantic Versioning for all projects.
Summary of Semantic Versioning:
As all npm packages and modules use this system, so will we. For more information on Semantic Versioning check out the specs.
There are several tools to automate and assist with a semver workflow. Al of the following tools can bump versions and create release notes more or less automated.
GitHub Releases
GitHub has this feature that allows you to tag specific commits to create a release. Whichever tool we decide on, all versions should be here too.
Using GitHub Releases without another tools consists of manually creating the tag and version string and after that uploading the build artifacts or other binary files.
git-semver
This works on either just a npm
package.json
file to get the current version and bump it, or it will look for aCHANGELOG.md
file in the repository root. Using this tool one needs to manually run a script to bump the version and doing that decide, if this is just a patch, a minor or major release.Reno
This is a release note management that is used in OpenStack. This framework can be dismissed easily, since it is far too complex for small projects and - far more important - it doe not work well with the Git Flow.
semantic-release
As last framework for release note and version management has the capability to create both without any manual configuration. If one merges to master this tool will run a job and determine which version to bump (path, micor, major) and the release notes that go with this version. It does this on tthe basis of all the commits. Using this tool we are constrained to use only commits according to the Angular Commit Message Conventions.
Last words about version management
Which ever tool we use, we will always publish to GitHub Releases, since many developers take this as the source of truth for the appication code and binaries. We could even add a changelog to every version on that platform.
So we need to think about how we will create a new version. Either we could do some things manual or completely automated. On the manual route it is possible to run a CI script when a git tag is created. Between manual and automated is the git-semver approach: Writing a
CHANGELOG.md
and running the script manually to bump a version. The completely automated way would be using semantic-release, but I don't like this very much because of the strict commit message guidelines. They will likely scare of first time contributors and add an overhead to the code review process.Linting
As all projects will be written in ECMAScript ESLint will be used.
Documentation
Feel free to comment on this issue and start a discussion on which framework / program to use.
If I missed any app just leave a comment, I will add it as soon as possible.
Cheers, Semjon
The text was updated successfully, but these errors were encountered: