Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Son 84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Daylon Wilkins b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Aaron Son 5fc6fd5d6a go: Update for dolt at root of repository. 2019-07-24 10:28:54 -07:00
Aaron Son 732086a9c7 dolt/go: Add copyright notices to every file. For files from noms, retain and reference the previous copyright notice as well. 2019-07-22 17:06:35 -07:00
Matt Jesuele c83472fba6 dolt/{bats,go}: git dolt install finds the .git directory even if it's in a parent directory (#1715)
Closes #1701.

* dolt/go/cmd/git-dolt/utils/find_git_config_dir*.go: Add util for finding git directory in parent directory structure

* dolt/bats/git-dolt.bats: Add test for git dolt install working in subdirectories of git repos

* dolt/go/cmd/git-dolt/commands/install.go: Find the .git directory even if it's in a parent of the working directory

* dolt/bats/git-dolt.bats: Fix indentation

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Omit extraneous type annotation like a good Gopher

* dolt/go/cmd/git-dolt: Use filesystem root instead of home directory as terminal path for .git search

* dolt/bats/git-dolt.bats: Unskip no-longer-hanging test

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Add method docs

* dolt/go/cmd/git-dolt/utils/find_git_config_dir_test.go: Create all test files in a temp directory

* dolt/go/cmd/git-dolt/utils/find_git_config_dir*.go: Return an error instead of hanging when currentPath is not a descendent of terminalPath

* dolt/go/cmd/git-dolt: Gofmt

* dolt/go/cmd/git-dolt/utils/find_git_config_dir.go: Actually, if these are always absolute paths, we can simplify things a bit
2019-07-09 17:44:28 -07:00
Matt Jesuele c7664b0eb9 dolt/{bats,go}: Improve output and README for git-dolt (#1682)
* dolt/{bats,go}: Improve output for git dolt update command

* dolt/go/cmd/git-dolt/README.md: Add install and update commands

* dolt/go/cmd/git-dolt/README.md: Add example of usage
2019-07-05 12:48:21 -07:00
Matt Jesuele bd212a8260 dolt/go/cmd/git-dolt{,-smudge}: Add git smudge filter for git-dolt (#1651)
* dolt/go/cmd/git-dolt/config/config.go: Add package comment

* dolt/go/cmd/git-dolt: Factor CloneToRevision function out of Fetch command

* dolt/go/cmd/git-dolt: Factor AppendToFile out of Link command

* dolt/go/cmd/git-dolt: Add install command

* dolt/go/cmd/git-dolt-smudge: Create git-dolt-smudge command to use as a git smudge filter

* dolt/go/cmd/git-dolt/git-dolt.go: Cleanup

* dolt/bats/git-dolt.bats: Add bats test for git dolt install

* Jenkinsfile: Add git-dolt-smudge to dolt/bats stage

* dolt/bats/git-dolt.bats: Add test for git-dolt smudge filter

* dolt/bats/git-dolt.bats: Configure fake name and email in test git repos so that committing works on Jenkins

* dolt/{bats,go}: Improve git-dolt cloning behavior (especially streaming output from dolt clone); refactor

* dolt/{bats,go}: Small tweaks to git-dolt output
2019-07-01 11:46:02 -07:00
Matt Jesuele 02cf3c1d61 dolt/go/cmd/git-dolt/commands/link.go: Use GitDoltConfig's String method to format the config file contents 2019-06-25 19:50:17 -07:00
Matt Jesuele ba173837aa dolt/{bats,go}: Factor git-dolt into several packages 2019-06-25 14:18:01 -07:00