Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

I keep disappearing #3

Open
franciskim opened this issue Nov 9, 2015 · 14 comments
Open

I keep disappearing #3

franciskim opened this issue Nov 9, 2015 · 14 comments
Labels

Comments

@franciskim
Copy link

I would appear on the site one day with 3 modules registered under my name, then next day I would have 2 modules, then 1 then I completely drop off the list. I can't see myself in the json dump. Is the script possibly hitting API rate limits?

@SomeoneWeird
Copy link
Member

Potentially. @rvagg any ideas?

@MauriceButler
Copy link
Member

Seems to be that any modules that are shared maintained with people sometimes dont get counted.

ie. I currently have 86 on npm and 76 on http://nodejs.org.au/

Possible not related but sounds like the same issue. I have been meaning to have a look but havnt had a chance.

I believe the problem is going to be the data being processed (from npm) has changed shape.

@franciskim
Copy link
Author

It's possible that npm has gotten so big that it does not return everything asked for intermittently. Most my modules have been registered relatively recently.

@franciskim
Copy link
Author

@MauriceButler is it possible the modules that aren't showing are your more recent modules?

@MauriceButler
Copy link
Member

No, many have been around for a while, the defining factor appears to be more than 1 maintainer.

@franciskim
Copy link
Author

Many of s1w's listed modules have multiple maintainers... and mine have just 1 maintainer.

@MauriceButler
Copy link
Member

Hrmm will have to look deeper then.

@MauriceButler
Copy link
Member

OK sooo this module needs some work as a fresh install breaks because of an npm api change...

That was expected though with > 3 years since last major change.

Not sure if should update or just get working... :philipjfry:

Ill see how far I get and will report back

@franciskim
Copy link
Author

Thanks @MauriceButler!

@MauriceButler
Copy link
Member

Hrrmmm OK

npm is all grown up now and the endpoints have changed / work differently due to size of data / number of packages

Which means based on random paging / timeouts number of packages appear to "disappear"

I think I worked out a what to do what we need using some other endpoints but am currently working tethered to my phone and this pulls a ton of data so I am going to leave this till I get back to civilization.

@franciskim
Copy link
Author

D: yeah doing that on a tethered phone is like playing with fire!! $_$ Thanks for looking into it though @MauriceButler

@MauriceButler
Copy link
Member

Sorry took me ages to get to this.

The pull request should address this problem.

Just need it merged and deployed.

ping @rvagg

@franciskim
Copy link
Author

wow great work @MauriceButler - looking forward to this being merged in.

@franciskim
Copy link
Author

Any updates on this guys? I recently published a new npm module - I appeared on the site again with '1' registered next to my name, then I dropped off again completely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants