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 workflow #75
Git workflow #75
Commits on Oct 19, 2016
-
Use
git stash --keep-index
to enable linting and committing only st……aged changes! Closes #62
-
-
-
-
-
-
-
-
-
Extracted expect extension to a separate file. Added a failing test f…
…or gitWorkflow. Use a .toEventuallyEqual() for git status checks
-
Commits on Oct 20, 2016
-
-
Some progress on git workflow.
- Switched to ghooks instead of pre-commit - Added pre and post scripts that run `git stash` and `git stash pop`
Commits on Mar 14, 2017
Commits on Mar 15, 2017
Commits on Nov 28, 2017
-
Merge branch 'master' into git-worflow
Andrey Okonetchnikov committedNov 28, 2017 -
refactor: Fix ESLint errors, run prettier, remove yarn.lock
Andrey Okonetchnikov committedNov 28, 2017 -
refactor: Use functions and normal modules.export instead of class
Andrey Okonetchnikov committedNov 28, 2017 -
feat: Add git stash and restore workflow
Andrey Okonetchnikov committedNov 28, 2017 -
Move git workflow to runAll and use Listr for running it
Andrey Okonetchnikov committedNov 28, 2017 -
Only stash/unstash files if there are unstaged files found
Andrey Okonetchnikov committedNov 28, 2017
Commits on Nov 29, 2017
-
Use base options for root listr tasks
Andrey Okonetchnikov committedNov 29, 2017
Commits on Nov 30, 2017
-
Andrey Okonetchnikov committed
Nov 30, 2017 -
WIP on better partially staged patch application and conflict resolution
Andrey Okonetchnikov committedNov 30, 2017 -
Andrey Okonetchnikov committed
Nov 30, 2017 -
Add a failing test for partially staged files
Andrey Okonetchnikov committedNov 30, 2017
Commits on Jan 24, 2018
-
refactor: Remove unused jest-stdout-serializer
Andrey Okonetchnikov committedJan 24, 2018 -
Create more git utilities for staged / unsteaged files
Andrey Okonetchnikov committedJan 24, 2018 -
tests: Add a failing test for deletion
Andrey Okonetchnikov committedJan 24, 2018 -
tests: More tests for git workflow
Andrey Okonetchnikov committedJan 24, 2018 -
Andrey Okonetchnikov committed
Jan 24, 2018 -
Andrey Okonetchnikov committed
Jan 24, 2018
Commits on Jan 25, 2018
-
tests: Update test case and comment the conent check for now
Andrey Okonetchnikov committedJan 25, 2018 -
Generate path if there are unstaged files
Andrey Okonetchnikov committedJan 25, 2018 -
Andrey Okonetchnikov committed
Jan 25, 2018 -
Andrey Okonetchnikov committed
Jan 25, 2018 -
Merge branch 'master' into git-worflow
Andrey Okonetchnikov committedJan 25, 2018 -
chore: Use debug instead of console.log
Andrey Okonetchnikov committedJan 25, 2018 -
Andrey Okonetchnikov committed
Jan 25, 2018 -
Remove unused code that fails tests on Node 4
Andrey Okonetchnikov committedJan 25, 2018 -
fixup! chore: Use debug instead of console.log
Andrey Okonetchnikov committedJan 25, 2018 -
Remove unused post.js and pre.js files
Andrey Okonetchnikov committedJan 25, 2018 -
Add stashUnstaged flag to the config
Andrey Okonetchnikov committedJan 25, 2018
Commits on Jan 28, 2018
-
Andrey Okonetchnikov committed
Jan 28, 2018 -
Andrey Okonetchnikov committed
Jan 28, 2018
Commits on Mar 2, 2018
-
Check if there are staged files before stashing
Andrey Okonetchnikov committedMar 2, 2018 -
Andrey Okonetchnikov committed
Mar 2, 2018
Commits on Mar 31, 2018
-
chore: Use Node >=8 to supoort async / await
BREAKING CHANGE Node >= 8.x is required
Andrey Okonetchnikov committedMar 31, 2018 -
chore: Disable prettier eslint plugin in .eslintrc
By disabling it in .eslintrc and enabling as a `--rule` option on npm script allows removing formatting errors in editors but helps keep things formatted with lint-staged and fail on CI
Andrey Okonetchnikov committedMar 31, 2018 -
chore: Use prettier for *.js, *.json and *.md files
Andrey Okonetchnikov committedMar 31, 2018 -
test: Better test for partially-staged files
Andrey Okonetchnikov committedMar 31, 2018 -
Use task context and set hasErrors if linters fail
Andrey Okonetchnikov committedMar 31, 2018 -
Andrey Okonetchnikov committed
Mar 31, 2018 -
Add update index step to runAll which should only be executed if all …
…linters pass
Andrey Okonetchnikov committedMar 31, 2018 -
Andrey Okonetchnikov committed
Mar 31, 2018 -
Andrey Okonetchnikov committed
Mar 31, 2018
Commits on Apr 1, 2018
-
Use async/await for patch strategy
Andrey Okonetchnikov committedApr 1, 2018 -
Andrey Okonetchnikov committed
Apr 1, 2018
Commits on Apr 5, 2018
-
Andrey Okonetchnikov committed
Apr 5, 2018 -
Andrey Okonetchnikov committed
Apr 5, 2018 -
Use async/await for git workflow. Return stdout from execGit
Andrey Okonetchnikov committedApr 5, 2018 -
Andrey Okonetchnikov committed
Apr 5, 2018 -
fixup! Use async/await for git workflow. Return stdout from execGit
Andrey Okonetchnikov committedApr 5, 2018
Commits on Sep 4, 2018
-
tests: Fix tests for gitWorkflow.
Add new lines to partially-staged test.
Andrey Okonetchnikov committedSep 4, 2018 -
Andrey Okonetchnikov committed
Sep 4, 2018 -
Remove patch file after applying it. Add debug message
Andrey Okonetchnikov committedSep 4, 2018 -
When formatted changes could not be applied, we still want to format …
…index
Andrey Okonetchnikov committedSep 4, 2018
Commits on Sep 5, 2018
-
fixup! tests: Fix tests for gitWorkflow.
Andrey Okonetchnikov committedSep 5, 2018 -
Andrey Okonetchnikov committed
Sep 5, 2018 -
fix(git): Fix hasUnstagedFiles check + add test
Andrey Okonetchnikov committedSep 5, 2018 -
Make the partially staged test more realistic
Andrey Okonetchnikov committedSep 5, 2018 -
Fix the partially staged case by adding a EOF to patch file
Andrey Okonetchnikov committedSep 5, 2018
Commits on Sep 6, 2018
-
Merge branch 'master' into git-worflow
Andrey Okonetchnikov committedSep 6, 2018 -
Andrey Okonetchnikov committed
Sep 6, 2018
Commits on Sep 7, 2018
-
fix: only run stash/unstash sequence when partially staged files dete…
…cted
Andrey Okonetchnikov committedSep 7, 2018 -
fix: Add cleanup function and use named variables for refs
Andrey Okonetchnikov committedSep 7, 2018 -
refactor: Remove unneded tree check
Andrey Okonetchnikov committedSep 7, 2018 -
refactor: remove unused
stashUnstaged
optionAndrey Okonetchnikov committedSep 7, 2018 -
fix: check if
git status
returns a stringAndrey Okonetchnikov committedSep 7, 2018
Commits on Sep 8, 2018
-
Andrey Okonetchnikov committed
Sep 8, 2018
Commits on Sep 9, 2018
-
test: mock gitWorkflow module in runAll tests
Andrey Okonetchnikov committedSep 9, 2018
Commits on Sep 11, 2018
-
fix: Do not display skip message for stashing step if stashed
Since it was missing the explicit return after stashing, it was marking the task as skipped. Fixes #490
Andrey Okonetchnikov committedSep 11, 2018 -
tests: Add more tests for stashing and restoring
Andrey Okonetchnikov committedSep 11, 2018 -
tests: Mock gitWorkflow in index.spec. Test non-zero exitCode
Andrey Okonetchnikov committedSep 11, 2018
Commits on Sep 13, 2018
-
feat: Add whitespace between errors and make error messages stand out
Andrey Okonetchnikov committedSep 13, 2018 -
feat: Better task name and message for update stash step
Andrey Okonetchnikov committedSep 13, 2018 -
fix: use the forked version of listr-update-renderer until the fix is…
… merged in
Andrey Okonetchnikov committedSep 13, 2018
Commits on Sep 14, 2018
-
Andrey Okonetchnikov committed
Sep 14, 2018 -
refactor: Cleanup gitWorkflow module
Andrey Okonetchnikov committedSep 14, 2018 -
feat: detect SIGINT termination for linter tasks and exit appropriately
Andrey Okonetchnikov committedSep 14, 2018 -
fix: do not exit main Listr process on SIGINT
Fixes #386
Andrey Okonetchnikov committedSep 14, 2018 -
refactor: add a return from the main process
Andrey Okonetchnikov committedSep 14, 2018
Commits on Sep 24, 2018
-
Andrey Okonetchnikov committed
Sep 24, 2018
Commits on Oct 11, 2018
-
tests: Move mock file to /test
Andrey Okonetchnikov committedOct 11, 2018
Commits on Oct 19, 2018
-
fixup! chore: Use Node >=8 to supoort async / await
Andrey Okonetchnikov committedOct 19, 2018 -
Andrey Okonetchnikov committed
Oct 19, 2018 -
refactor(gitWorkflow): Use g-status and remove custom partially stage…
…d files detection
Andrey Okonetchnikov committedOct 19, 2018 -
refactor(gitWorkflow): Remove redundant gitDir option
Andrey Okonetchnikov committedOct 19, 2018 -
fix(gitWorflow): Make the copy for partially staged case more clear
Andrey Okonetchnikov committedOct 19, 2018
Commits on Oct 21, 2018
-
tests(windows): Use mock of log-symbols to match snapshots on Mac/Win…
…dows
Andrey Okonetchnikov committedOct 21, 2018 -
Merge branch 'snapshots-win' into git-worflow
Andrey Okonetchnikov committedOct 21, 2018 -
Andrey Okonetchnikov committed
Oct 21, 2018 -
tests: Replace CLRF with LF in tests to normalize on Windows
Andrey Okonetchnikov committedOct 21, 2018 -
fix: Fix fail message when termination signal is detected
Andrey Okonetchnikov committedOct 21, 2018 -
fix: Fix the case where failure message could reach impossible state
Andrey Okonetchnikov committedOct 21, 2018 -
fixup! chore: Use Node >=8 to supoort async / await
Andrey Okonetchnikov committedOct 21, 2018 -
Andrey Okonetchnikov committed
Oct 21, 2018 -
refactor: Use
skip
instead ofenabled
for stashing taskAndrey Okonetchnikov committedOct 21, 2018 -
chore: Remove fs-promise in favor of pify and native fs
Andrey Okonetchnikov committedOct 21, 2018 -
chore: Do not use debug flag for lint-staged
Andrey Okonetchnikov committedOct 21, 2018 -
tests: Restore execa mock and remove redundant code
Andrey Okonetchnikov committedOct 21, 2018 -
tests: Remove unnecessary stash checks since we don't rely on git stash
Andrey Okonetchnikov committedOct 21, 2018 -
Merge remote-tracking branch 'origin/master' into git-worflow
Andrey Okonetchnikov committedOct 21, 2018 -
tests: Switch some tests to inline snapshots
Andrey Okonetchnikov committedOct 21, 2018 -
tests: Add more tests for renamed and untracked files
Andrey Okonetchnikov committedOct 21, 2018
Commits on Oct 22, 2018
-
Andrey Okonetchnikov committed
Oct 22, 2018
Commits on Oct 25, 2018
-
refactor: Use stdin for patch instead of writing a the file
Andrey Okonetchnikov committedOct 25, 2018 -
fixup! chore: Use Node >=8 to supoort async / await
Andrey Okonetchnikov committedOct 25, 2018 -
chore: Remove unused dependency
Andrey Okonetchnikov committedOct 25, 2018 -
Andrey Okonetchnikov committed
Oct 25, 2018 -
fix(git): Always add a newline to the end of the patch.
This fixes a case when the patch would fail with `error: fatal: corrupt parch at line XX` caused by git
Andrey Okonetchnikov committedOct 25, 2018 -
Andrey Okonetchnikov committed
Oct 25, 2018
Commits on Oct 27, 2018
-
fix(git): Fix hasPartiallyStagedFiles return true for untracked files
Andrey Okonetchnikov committedOct 27, 2018
Commits on Oct 28, 2018
-
Andrey Okonetchnikov committed
Oct 28, 2018 -
Andrey Okonetchnikov committed
Oct 28, 2018 -
test: Add jest-snapshot-serializer-ansi
Andrey Okonetchnikov committedOct 28, 2018 -
refactor: Remove impossible case handling from makeErr
Andrey Okonetchnikov committedOct 28, 2018
Commits on Oct 29, 2018
-
refactor: Rename function to match exports
Andrey Okonetchnikov committedOct 29, 2018 -
chore: Revert version in package.json
Andrey Okonetchnikov committedOct 29, 2018