This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/davidwalter0/60f41b53732656c5c546cc8b0a739d11 | |
// x/vgo: thoughts on selection criteria for non-versioned go repo | |
// Run git branch version selection for non-vgo versioned repository | |
// as if in a wayback machine. | |
// Use the dependency's commit ctime as the wayback ctime. | |
// Commits prior to the wayback ctime in sub-dependencies are eligible. | |
// Use the newest commit prior to the wayback ctime. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"gopkg.in/src-d/go-billy.v3" | |
"gopkg.in/src-d/go-billy.v3/memfs" | |
"gopkg.in/src-d/go-git.v4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"strings" | |
"github.com/aws/aws-lambda-go/events" | |
"github.com/aws/aws-lambda-go/lambda" | |
"github.com/aws/aws-sdk-go/aws/session" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
git "gopkg.in/src-d/go-git.v4" | |
"gopkg.in/src-d/go-git.v4/utils/ioutil" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"os/user" | |
"path/filepath" | |
"strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"gopkg.in/src-d/go-git.v4/plumbing" | |
"gopkg.in/src-d/go-git.v4" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hercules | |
import ( | |
"gopkg.in/src-d/go-git.v4" | |
"gopkg.in/src-d/go-git.v4/plumbing/object" | |
"gopkg.in/src-d/hercules.v4/internal/core" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing/identity" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing/uast" | |
"gopkg.in/src-d/hercules.v4/internal/yaml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hercules | |
import ( | |
"gopkg.in/src-d/go-git.v4" | |
"gopkg.in/src-d/go-git.v4/plumbing/object" | |
"gopkg.in/src-d/hercules.v4/internal/core" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing/identity" | |
"gopkg.in/src-d/hercules.v4/internal/plumbing/uast" | |
"gopkg.in/src-d/hercules.v4/internal/yaml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"runtime" | |
"time" | |
"gopkg.in/src-d/go-git.v4" | |
"gopkg.in/src-d/go-git.v4/config" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package clone | |
import ( | |
"os" | |
"golang.org/x/crypto/ssh" | |
"gopkg.in/src-d/go-git.v4" | |
gitssh "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" | |
"io/ioutil" | |
"testing" |