alanshaw / david-www

:eyeglasses: David helps keep your Node.js project dependencies up to date.
https://david-dm.org
MIT License
729 stars 131 forks source link

Badge is stuck 'pending' #419

Open MikeKovarik opened 6 years ago

MikeKovarik commented 6 years ago

I've tried to use david on couple of my projects throughout this year and it only ever worked for a couple of days. I tried to refresh the page and badge couple of times, come back in a day or two, login to david's homepage and all the usual things i could come up with. With no result.

For example I haven't updated rage-edit for couple of months now and it only has three dev-deps so i don't understand why is it still pending after all this time.

EDIT: It was pending for who knows how long but got resolved after i posted this issue. Though I updated the module in the evening and the badge is still outdated the day after.

Am I doing something wrong? Why does David hate me? :D

twofactorauth1 commented 6 years ago

I am facing the same issue as well

erayhanoglu commented 5 years ago

Me too

tr1s commented 5 years ago

Same here. Any word on this being fixed?

alanshaw commented 5 years ago

Depending on the queue of badges to create it can take some time. If you have a badge stuck in "pending" then you need to post a link to it so that I can investigate.

erayhanoglu commented 5 years ago

Here is some examples. This problem occurs frequently. https://david-dm.org/panates/putil-promisify?type=dev https://david-dm.org/panates/putil-waterfall https://david-dm.org/panates/sqb-serializer-pg https://david-dm.org/panates/sqb-serializer-pg?type=peer

tr1s commented 5 years ago

@alanshaw yeah just took a couple days I guess. Seems fine now!

Borewit commented 5 years ago

Duplicate of bug #368 and #402.

EricLambrecht commented 5 years ago

I have the same problem. Didn't update for 14 days now, yet it's still pending:

dependencies Status devDependencies Status

My package.json

Borewit commented 5 years ago

It looks like the pending badge shields turned into a proper status to me.

buskerone commented 5 years ago

this is a recurrent problem

YasharF commented 5 years ago

Yes, from what I have captured this is recurring perhaps for when the badges are not called often enough.

https://github.com/pugjs/pug/pull/3146#issuecomment-498301700. From earlier today:

At 8:28 PDT image

At 8:33 PDT image

ilyakam commented 5 years ago

If you have a badge stuck in "pending" then you need to post a link to it so that I can investigate.

Here's the link: https://david-dm.org/ilyakam/gulp-pug-linter?type=dev

It has been stuck like this for many months (possibly even years) now.

ferrao commented 5 years ago

Same thing here: https://david-dm.org/academia-de-codigo/noire-server

iansan5653 commented 5 years ago

Same here https://github.com/iansan5653/unraw And here https://github.com/iansan5653/compress-tag

renemadsen commented 5 years ago

I get an Internal Server Error:

https://david-dm.org/microting/eform-angular-frontend/eform-client/

Is it because david-dm does not support package.json being placed in a subfolder? That would be awesome, since the package.json cannot be moved, since the repository contains mixed content.

Repository in question is https://github.com/microting/eform-angular-frontend

YasharF commented 5 years ago

@renemadsen, you would need to use the path query parameter if package.json is not in the root. aka https://david-dm.org/microting/eform-angular-frontend?path=eform-client

[![Dependencies Status](https://david-dm.org/microting/eform-angular-frontend/status.svg?path=eform-client)](https://david-dm.org/microting/eform-angular-frontend?path=eform-client) Dependencies Status

[![Dependencies Status](https://david-dm.org/microting/eform-angular-frontend/dev-status.svg?path=eform-client)](https://david-dm.org/microting/eform-angular-frontend?path=eform-client&type=dev) Dependencies Status

renemadsen commented 5 years ago

@YasharF Thanks,

Where in the documentation is it possible to find this, maybe I'm not looking the right place.

KingDarBoja commented 4 years ago

@YasharF This approach doesn't work for me, had to use for the main dependencies: [![Dependencies Status](https://david-dm.org/org/repo.svg?path=subrepo/path)](https://david-dm.org/org/repo?path=subrepo/path)

But for the dev ones, I have no idea how to accomplish the same. Your approach only displays the devDepencency on pending status too.

UPDATE For some reason now the above approach is working, looks like it was a server-related issue.

YasharF commented 4 years ago

@KingDarBoja See https://github.com/alanshaw/david-www/issues/419#issuecomment-498310597 The service takes some time to update the badges. Right after calling a badge for the first time it will show as pending. If the badge hasn't been displayed for a while (aka no one visited the page), then the server may forget the badge and it will show as pending at the page view again.

KingDarBoja commented 4 years ago

@YasharF So I do have to visit the url for each one in order to trigger the queue so the badges can be updated once again? Seems to be a bit annoying.

YasharF commented 4 years ago

@KingDarBoja I am not a maintainer for this package, please don't tag me on postings.

plastikfan commented 4 years ago

Not sure what I'm missing, but how do I get my package on david-dm website? I've linked david-dm to my github account, but I don't lnow what to do next. If you go to david-dm.org/plastikfan/zenobia-ts, you just see an internal server error message instead the the page showing the state of dependencies. I also created a github token, but I don't know which rights its needs so I guessed, but its not working. What else do I need to do?

alanshaw commented 4 years ago

Add a package.json file to your repo https://github.com/plastikfan/zenobia-ts