swellaby / captain-githook Goto Github PK
View Code? Open in Web Editor NEWgit hook utility for Go codebases
License: MIT License
git hook utility for Go codebases
License: MIT License
Hi Devs,
Consider contributing to https://github.com/gabyx/githooks. Disclaimer it was orginally not written by me but ported and rewritten to Go by me.
Contribution is highly welcome as it could get more aswesome etc.
BR
Switch from Mage to Task now that we know about gotestsum.
While Mage is a decent solution for running tasks in Go projects, we were only using it here due to our need to generate multiple test result format files (for Sonar, Azure DevOps, etc.) which needs to be done programmatically. gotestsum
however provides a great CLI for handling all that work which means we no longer need our own Go code using exec.Command
from the os
package.
Task allows us to utilize a configuration file (yaml) to define scripts, much like npm scripts
defined in the package.json
file, and allows to avoid some of the challenges mage creates with *-on-save features and placing *.go
source files in the root of the repo.
We should add support for skipping the installation of hooks, as this is very helpful in many circumstances and also a commonly supported feature in other git hook utils.
Set up CI services
Should help reduce the size of the test files and make them more succinct/readable
Need to setup a release pipeline to build various platform binaries, validate, and publish them to GitHub releases
Cobertura coverage is showing a different coverage value than the other formats, not sure why
Incorporate Goreleaser to simplify and facilitate the compilation/packaging/etc. process of the release artifacts
Pretty self-explanatory, need to figure out how we should best use golint in conjunction with a revive and/or golangci-lint
Add functionality to set up a repo (create git hooks, config file, etc.)
Implement functionality to remove hook files from repo
Add various status badges
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (@swellaby)
Renovate support for Go modules has just landed, so we can now configure this repo accordingly.
This issue provides visibility into Renovate updates and their statuses. Learn more
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Configure builds in the newly dubbed "Azure DevOps" pipelines
happy 2021
Can disable AppVeyor and need to incorporate Coverage publishing step into AZP now that duplicative Circle job has been disabled
Add various scripts, utils, etc. for contributors to get set up to work in this repo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.