Comments (9)
started failing for us
after an upgrade of anything, or just out of the blue?
from zoekt.
Not an upgrade, just out of the blue. But we figured it out: foo/foo-incident-starter
is a completely empty repo, without any commits. If we delete it or add a commit, indexing works again.
from zoekt.
@hanwen Any ideas if this could be fixed?
from zoekt.
I added a test for indexing an empty repo in https://gerrit-review.googlesource.com/c/zoekt/+/313865
the test passes. I suspect something else is wrong. Can you delve a little bit deeper?
from zoekt.
Thanks! Changes in zoekt might have improved things since I opened this issue. I haven't actually seen this lately, but I'll investigate some more.
from zoekt.
I'll close this for now. Please reopen when you find something.
from zoekt.
@hanwen This failed for us again because of a new/empty repo. I haven't got any more debug data than the reference not found
message above. We run zoekt againt Github Enterprise (v3.1.4), I don't know it that has anything to do with it.
from zoekt.
@hanwen This still fals. I'm not able to reopen this issue, should I make a new one?
from zoekt.
Maybe it actually works, but exits with a non-zero exit code when the indexGitRepo has been encountered? Because it continues indexing after the error has occured.
Our indexing script fails on non-zero exit codes, and thus aborts deployment of the new index. We would need to differentiate between an actual error and a non-error like this.
from zoekt.
Related Issues (20)
- Feature: Directory listing HOT 1
- Change Bitbucket Default Clone URL HOT 1
- zoekt-mirror-gitiles doesn't delete stale repos.
- support exact match for definitions like `sym:^create$` HOT 1
- installation of zoekt-indexer fails HOT 4
- Make line reference format in url hash formattable HOT 6
- zoekt cannot list enough search results HOT 3
- git:// url in submodule trips up web template rendering
- Revive REST functionality with what conditions? HOT 6
- Q: Show context HOT 6
- zoekt-webserver: Work With Empty Index Directory HOT 1
- Problem when using ctags: "write |1: file already closed" HOT 2
- Occasional Invalid JSON From Ctags HOT 7
- zoekt-mirror-github doesn't update existing repository cache
- Error for all repos: `subrepository branch mismatch` HOT 3
- Need to exempt certain file types from being treated as binary due to trigram count HOT 1
- Error parsing regexp when escaped square brackets are quoted
- Feature request: filtering on whether code is in an archived repository HOT 1
- zoekt-indexserver: Support Per-Repository Branch Selection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoekt.