alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zoekt
/
internal
/
e2e
/
at
ee3d17d13d4fdeaad412543f6fe841af19836f70
1 folder
3 files
Stefan Hengl
sourcegraph: fix wrong git config (#841)
2y ago
6755eca6
testdata
scoring: use repo freshness as tiebreaker (#832) We ignore priority and instead use the latest commit date as repo rank. This has a big impact for Sourcegraph because it means we switch from star count to repo freshness as tiebreaker. As a minor tweak, we also separate query based scores from tiebreakers. To achieve this we reserve the last 7 digits of a score for tiebreakers: - 5 digits (maxUint16) for repo rank - 2 digits ([0,10]) for file order (2 digits). Example: Before: score: 8775.35 <- atom(2):200, fragment:8550.00, repo-rank: 19, doc-order:6.35 After: score: 8750_00019_06.35 <- atom(2):200, fragment:8550.00, repo-rank: 19, doc-order:6.35
2 years ago
doc.go
sourcegraph: fix wrong git config (#841) Turns out git config doesn't support "_" in the keys. https://git-scm.com/docs/git-config/2.22.0#_configuration_file "The variable names are case-insensitive, allow only alphanumeric characters and -, and must start with an alphabetic character." Test plan: New unit test
2 years ago
e2e_rank_test.go
sourcegraph: fix wrong git config (#841) Turns out git config doesn't support "_" in the keys. https://git-scm.com/docs/git-config/2.22.0#_configuration_file "The variable names are case-insensitive, allow only alphanumeric characters and -, and must start with an alphabetic character." Test plan: New unit test
2 years ago
e2e_test.go
zoekt-archive-index: split out ranking tests and archive indexing (#712) We had ranking e2e tests living in the zoekt-archive-index cmd for convenience since that contained useful functions for indexing a remote tarball from the GitHub API. This commit splits the archive functionality into a new internal/archive package and the ranking tests into a new internal/e2e package. The zoekt-archive-index code is now quite minimal. This is similiar to how zoekt-git-index mostly just calls out to the gitindex package. What is different is that archive package is marked internal, unlike gitindex. gitindex should also be internal, but the code predates go's support for internal. I suspect more of our e2e tests will end up in this package. Test Plan: go test ./...
2 years ago