Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON data does not update (project.json, projects1.json) #468

Closed
pheix opened this issue Sep 4, 2019 · 3 comments
Closed

JSON data does not update (project.json, projects1.json) #468

pheix opened this issue Sep 4, 2019 · 3 comments
Labels
Bug 🐞 Label for bugs, errors, etc...

Comments

@pheix
Copy link
Contributor

pheix commented Sep 4, 2019

Generic P6 modules database does not update or updates from wrong branch/commit.

Files projects.json and projects1.json are frozen on @Kaiepi modules (that were removed in July).

I have quick investigation and found out, that first ./updatelist.pl works locally (new modules included):

...
https://raw.githubusercontent.com/Demayl/perl6-Sys-IP/master/META6.json 200
https://raw.githubusercontent.com/tmtvl/neural-net/master/META6.json 200
https://raw.githubusercontent.com/antoniogamiz/Perl6-TypeGraph/master/META6.json 200
https://raw.githubusercontent.com/antoniogamiz/Pod-Utilities/master/META6.json 200
https://raw.githubusercontent.com/kjkuan/Proc-Feed/master/META6.json 200
https://raw.githubusercontent.com/dmaestro/Module-Pod/master/META6.json 200
https://raw.githubusercontent.com/oposs/jsonhound/master/META6.json 200
https://gitlab.com/pheix/lzw-revolunet-perl6/raw/master/META6.json 200

Second ./server/updatelist.pl works locally too (new modules included):

https://raw.githubusercontent.com/Demayl/perl6-Sys-IP/master/META6.json 200
https://raw.githubusercontent.com/tmtvl/neural-net/master/META6.json 200
https://raw.githubusercontent.com/antoniogamiz/Perl6-TypeGraph/master/META6.json 200
https://raw.githubusercontent.com/antoniogamiz/Pod-Utilities/master/META6.json 200
https://raw.githubusercontent.com/kjkuan/Proc-Feed/master/META6.json 200
https://raw.githubusercontent.com/dmaestro/Module-Pod/master/META6.json 200
https://raw.githubusercontent.com/oposs/jsonhound/master/META6.json 200
https://gitlab.com/pheix/lzw-revolunet-perl6/raw/master/META6.json 200

The 1st idea: something wrong with ./updatelist.pl on server. This script grabs META.list from github. Maybe it's patched.

The 2nd idea: repo was cloned to server, checked out on exact commit and ./server/updatelist.pl parses this frozen META.list.

The 3rd idea: any other bug source))))


zef uses projects1.json:

===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
----------------------------------------------------
Content Storage                  |Distribution Count
----------------------------------------------------
Zef::Repository::LocalCache      |10                
Zef::Repository::Ecosystems<p6c> |861               
Zef::Repository::Ecosystems<cpan>|1393              
----------------------------------------------------

So, all new modules, added after 21, May are not available via this utility. Strange, that's none noticed that fact.

@pheix pheix added the Bug 🐞 Label for bugs, errors, etc... label Sep 4, 2019
@JJ
Copy link
Contributor

JJ commented Sep 4, 2019 via email

@ugexe
Copy link
Contributor

ugexe commented Oct 15, 2019

The project file used by zef is generated by my own infrastructure/code and thus isn’t affected by this issue.

@ugexe
Copy link
Contributor

ugexe commented Oct 15, 2019

Edit: the above is true for recent versions of zef. It appears you are not using the most recent version from before the infrastructure failures months ago.

@pheix pheix closed this as completed Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Label for bugs, errors, etc...
Projects
None yet
Development

No branches or pull requests

3 participants