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

Refactoring #275

Merged
merged 45 commits into from
Jun 17, 2022
Merged

Refactoring #275

merged 45 commits into from
Jun 17, 2022

Conversation

mrexox
Copy link
Member

@mrexox mrexox commented Jun 9, 2022

This refactoring is aimed to the following:

  • Reorganized the code for convenience
  • Make the code testable, increase test coverage
  • Make the code easier to maintain
  • Create config structure and make working with configuration less chaotic

skryukov and others added 30 commits October 12, 2021 10:38
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
* Implement config loading and add tests

Signed-off-by: Valentin Kiselev <[email protected]>

* Use viper for merging configs and also keep handling {cmd}

Signed-off-by: Valentin Kiselev <[email protected]>

* Bump libgit2 and refactor load.go

Signed-off-by: Valentin Kiselev <[email protected]>

* Improve extends algorithm, remove dummy func replaceCmd

Co-authored-by: Svyatoslav Kryukov <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
markovichecha and others added 9 commits June 9, 2022 10:25
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
Signed-off-by: Valentin Kiselev <[email protected]>
* master:
  Account for GOAMD64 suffix in directory names in NPM and GEM packages [ci skip]
  Include version into RPM/DEB packages on release [ci skip]
  0.8.0: Skip hooks in merge/rebase, hide summary, NPM installer package
  Split NPM package to two: bundled and installer (#273)
  Include archived binaries in the releases (#189)
  docs: s/agrs/args (#265) [ci skip]
  chore(lint): Fix golangci-lint complains
  docs(usage): Add commitlint example in full_guide (#201)
  Fix unreachable conditional in hook template (#242)
  fix(hook.tmpl): adds cpu arch and os arch to `lefthook`'s filepath (#260)
  Replace deprecated `File.exists?` with `exist?` for Ruby wrapper (#263)
  Fix typo in docs/full_guide.md (#256)
  0.7.7: Fix arguments passing and various NPM-related fixes
  Fix incorrect npx command in git hook script template (#236)
  Update project URLs in NPM package.json (#235)
  Pass all arguments to downstream hooks (#231)
  Allows lefthook to work when node_modules is not in root folder for npx (#224)
  Do not initialize git config on `help` and `version` commands (#209)
  node: fix postinstall: process.cwd is a function and should be called

Signed-off-by: Valentin Kiselev <[email protected]>
@mrexox mrexox marked this pull request as ready for review June 9, 2022 07:49
@mrexox mrexox requested a review from skryukov June 9, 2022 07:49
@mrexox mrexox merged commit bfed65c into master Jun 17, 2022
@mrexox mrexox deleted the refactoring branch June 18, 2022 12:01
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.

3 participants