Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/metacpan/metacpan-api

A free, open API for everything you want to know about CPAN
https://github.com/metacpan/metacpan-api

Merge pull request #750 from metacpan/oalders/config-zomg

s/Config::JFDK/Config::ZOMG/

1a956f729ca23ae3bc09a844753042801cebb35c authored about 7 years ago by Mickey <[email protected]>
Merge pull request #749 from metacpan/oalders/metacpan-client

Make MetaCPAN::Client an explicit test dep.

cd45df41fd33851163d9a4f9a48f374236402b58 authored about 7 years ago by Mickey <[email protected]>
s/Config::JFDK/Config::ZOMG/

098dbb587087baf604eb39e4766faa760b90909b authored about 7 years ago by Olaf Alders <[email protected]>
Make MetaCPAN::Client an explicit test dep.

This is used by OrePAN2. We want the latest version of MetaCPAN::Client
so that it doesn't try t...

678f450139afdeeccfa11af50b05519db66d7ef8 authored about 7 years ago by Olaf Alders <[email protected]>
Use Cpanel::JSON::XS::true() in tests

97471f1bc5156083ad1608d739e1e42c83ad60f3 authored about 7 years ago by Olaf Alders <[email protected]>
Simplify Travis install logic and specify cpm --workers

54b154bcb1e09579b99b48728b0338195a278a63 authored about 7 years ago by Olaf Alders <[email protected]>
Move comments in Travis config

ac9fe5c6e478072a7fbc073121a3c4b2a5b6715e authored about 7 years ago by Olaf Alders <[email protected]>
Allow Travis fast_finish

10a0fbfab84656125d00a4b1cc878d8086a1230f authored about 7 years ago by Olaf Alders <[email protected]>
Start getting coverage reports again

a4c2d007202b313ac583544ad66d652eee8fffb8 authored about 7 years ago by Olaf Alders <[email protected]>
Also cache ~/perl5 on Travis

d920095cc32c826104121024ce337b1772f97bc8 authored about 7 years ago by Olaf Alders <[email protected]>
Start using Travis perl-helpers

a67cc328537be7579b750d25791f397c0d4bb299 authored about 7 years ago by Olaf Alders <[email protected]>
Merge pull request #743 from metacpan/mickey/module_use_fix

JSON --> Cpanel::JSON::XS

773d3fa35d11177bb44d71594a6d11ac6feacaee authored about 7 years ago by Leo Lapworth <[email protected]>
Merge pull request #744 from metacpan/mickey/test_cleanup

removed old diag code

a08083648923bf23b095810b69549e009d93f5fe authored about 7 years ago by Leo Lapworth <[email protected]>
Merge pull request #731 from metacpan/mickey/more_api_refactoring

more api refactoring

c98928d249e10a965f1cbadb2d3ef34bd7860536 authored about 7 years ago by Olaf Alders <[email protected]>
Merge pull request #738 from metacpan/mickey/GH736_fix_param_passing_reverse_deps

Pass missing params to reverse_dependencies

27400c490fdb19cfddf82a148d5342862b4dafd7 authored about 7 years ago by Mickey <[email protected]>
Merge pull request #737 from metacpan/mickey/remove_editor_file

remove editor recovery file

90f60f234ea9ed74c312bad6146c60bb0dc5d31f authored about 7 years ago by Mickey <[email protected]>
Merge pull request #739 from metacpan/mickey/script_cleanup

Removed unused duplicated code

da9e601fb2659dfa05151a9f3b4b7def2895edb0 authored about 7 years ago by Mickey <[email protected]>
removed old diag code

1cfbac651ed653fbc75b7a940306bf7ff09c7975 authored about 7 years ago by Mickey Nasriachi <[email protected]>
JSON --> Cpanel::JSON::XS

b27a52e4487bf2b5493ef2a0b62a18f68e5e306b authored about 7 years ago by Mickey Nasriachi <[email protected]>
Removed unused duplicated code

62ff6f8bae68cee831b863b7ab81a1dddff3546c authored about 7 years ago by Mickey Nasriachi <[email protected]>
Pass missing params to reverse_dependencies

Added the missing page, page_size & sort params passed from the
endpoint to the querying method....

694981697562df5ddb13481fda149476d73f2743 authored about 7 years ago by Mickey Nasriachi <[email protected]>
remove editor recovery file

3df7e111a89883a7085f2c3a0254d4b8e326c254 authored about 7 years ago by Mickey Nasriachi <[email protected]>
(incomplete) test file for the release controller

0baeb16f27301b173413f0b991dcfa2fc67274d0 authored about 7 years ago by Mickey Nasriachi <[email protected]>
some code cleanups

d55664c667de1956ec206a284c74ff20f1b5527c authored about 7 years ago by Mickey Nasriachi <[email protected]>
Release: refactor 'get' to use existing method

d09bdfae05ed0a174b0f5b4d6a0df8406b6a6d54 authored about 7 years ago by Mickey Nasriachi <[email protected]>
Changes: move query logic out from the controller

912161bb4b96f836bc18ed79d075cf53fd0ea0d1 authored about 7 years ago by Mickey Nasriachi <[email protected]>
Author: move query logic out from the controller

76538be16a8c8f5dcf1133f78ca22c954b85ae81 authored about 7 years ago by Mickey Nasriachi <[email protected]>
fix diff path handling for new git

15c18db8c137c937021e53e6088792ca0723dc68 authored about 7 years ago by Graham Knop <[email protected]>
show COPYING in extra files list

385e0e6566bfe7c3b637026f2b5587d8bab60279 authored over 7 years ago by Graham Knop <[email protected]>
Merge pull request #730 from metacpan/mickey/fix_cache_issues

Added missing cdn_max_age setting

604fb7057bd1b786b11a017fb276145fb5a7a332 authored over 7 years ago by Mickey <[email protected]>
Added cdn_max_age to endpoints using add_dist_key

805cbd24c4434e0ac01e255d39d6c7918d551adf authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #729 from metacpan/mickey/fix_caching_issue

Added surrogate key for 'dist' for purging in 2 endpoints

ae8baa38467136e93b009cf5ec9064100ba5d459 authored over 7 years ago by Olaf Alders <[email protected]>
Added surrogate key for 'dist' for purging in 2 endpoints

/release/latest_by_distribution & /release/versions are affected.

This will (hopefully) solve t...

b9fa543ccb965adf2c98f8942fa7e124349733b9 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #725 from metacpan/mickey/refactor_api_data_stashing

Added controller method for improving/simplifying data stashing

a071f8493f555411ff90b3a6d68010809565b713 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #728 from metacpan/mickey/rev_deps_took_and_total

/reverse_dependencies: added took+total info

c6ea7ffbca5406ea4dae4dc89ebbc2b49c70b60b authored over 7 years ago by Mickey <[email protected]>
/reverse_dependencies: added took+total info

This endpoint was missing total+took info which are used in the
template on the WEB.

779b567b2c7d8a41d2abadafbe6cdd94757082c9 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added controller method for improving/simplifying data stashing

To remove the need to copy-paste the same pattern of reading data
and then checking it before st...

d4a633905368d62e232d21fc1994eebc76ee81eb authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #727 from metacpan/mickey/favorite_agg_by_distributions_optional_user_param

favorite/agg_by_distributions: 'user' --> optional param

d07a6015b67298a6856df1a6a9cb7c88738b912d authored over 7 years ago by Mickey <[email protected]>
favorite/agg_by_distributions: 'user' --> optional param

read_param is meant for mandatory params as it detaches when
value is not found.

In this case, ...

7b6608e2341b5489bc1c24276ea9e8d73e42bc52 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #721 from metacpan/mickey/removed_needless_model_method_calls

Removed needless calls to model settings (raw)

1a472ad2b2657195c46c82d9b1888b5f2e23e720 authored over 7 years ago by Olaf Alders <[email protected]>
Removed needless calls to model settings (raw)

Removed calls to 'raw' (ESX::Model) for the new API endpoints
which don't use the model for quer...

75875e2a98a56cefc0f8825dafc9244235069bf5 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #723 from metacpan/mickey/refactor_api_body_params_reading

Added controller method for improving/simplifying param reading

f32ad7934d9213fdcd13e1960d34718f2f8a4639 authored over 7 years ago by Olaf Alders <[email protected]>
Added controller method for improving/simplifying param reading

With a growing use of the same pattern of reading parameters
from either the URL or the body, th...

1daf8e155590f9ac1f05ae2d1c0e707081186fef authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #722 from metacpan/mickey/author_by_user_post_params

/author/by_user: accept POST params

d972488c6df14dfd7b475e4cff828e5674f72596 authored over 7 years ago by Mickey <[email protected]>
/author/by_user: accept POST params

ae1840d61f2ade09eef1d41645cd9584d6dbad5c authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #719 from metacpan/mickey/wip_controllers_return_status_fixup

Added 400/404s for Release endpoints

6a4be47fa11a6b33d4442cddf24e79b62f324a92 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #704 from zakame/dockerize

Dockerize the MetaCPAN

6d73d3ef70ef6c6f2371415a213f4257b81b2f66 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #714 from metacpan/mickey/document_set_to_files

Moved all Document::Set packages to their own files

aab991b794d9b3a0ad14c6e012a7a3a7a08049eb authored over 7 years ago by Olaf Alders <[email protected]>
Moved all Document::Set packages to their own files

800165f995ce1ade6f9271fdf99a7877cec85b4c authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added 400/404s for API endpoints

5d8258b229062583d28e0333482a3f4d67a3e2df authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #720 from metacpan/mickey/tests_index_mirrors

Added mirrors data indexing to tests

3f6ffa50f93ff9256fa1df267c70ae74990a3e5f authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #718 from metacpan/mickey/controller_release_find_refactor

Controller::Release::find - move data handling to Document module

64a64da75b65386b307108910f455c32e7b25411 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #717 from metacpan/mickey/controller_autocomplete_refactor

Controller/Autocomplete - move data handling to Document module

2f74d54c20fdd470b57daa51ba82a1494e948f48 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #716 from metacpan/mickey/controller_downloadurl_refactor

Controller/DownloadURL - move data handling to Document module

8df0a2283b55d50b941b7f16e00579a0b660ec6e authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #711 from metacpan/mickey/search_first_endpoint

Added /search/web/first API endpoint

aacc3277ad7a882fa43d2d4f321142964a00980d authored over 7 years ago by Olaf Alders <[email protected]>
Added mirrors data indexing to tests

4304a0e7295897829d3acc0574ed7c3643fef766 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Controller::Release::find - move data handling to Document module

Keep the controller code concise and unaware of the data structure.

9fde389d1a0c98b83766a16f75f414b208b65f20 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Controller/Autocomplete - move data handling to Document module

Keep the controller code concise and unaware of the data structure.

2a9d2f88a03cb43e5fcd48e61dc846bca59ef339 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Controller/DownloadURL - move data handling to Document module

Keep the controller code concise and unaware of the data structure.

f381ae64bce3a3b0df8f112b855194ef17bb1a2c authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #715 from metacpan/mickey/script_fedora_print_to_log_debug

script/external/fedora: print --> log_debug

98061f25ceb214162cccd47de92ef5f4dde728cf authored over 7 years ago by Mickey <[email protected]>
script/external/fedora: print --> log_debug

de1f1e7c43267d0237f58f4197433807431dc94f authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #713 from metacpan/haarg/show-alienfile

include alienfile in interesting file list

ead56fc113ae32671b6393947c45b7beb444508f authored over 7 years ago by Mickey <[email protected]>
include alienfile in interesting file list

19cfa7dfeb45165ae9dcc05fa2ad5af74594b059 authored over 7 years ago by Graham Knop <[email protected]>
Added /search/web/first API endpoint

This will simplify the reading of /search/web/simple output by
extracting the first element and ...

e6b5c6ee70447e383937f46480f14bfeb4ed4fc8 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Ignore local/ directory properly

Since .dockerignore is symlinked to .gitignore, this also prevents
including the host Carton loc...

b4c90e2b205c6fa594a66150368923b5fa19ee91 authored over 7 years ago by Zak B. Elep <[email protected]>
Improve check for needing output buffering in Docker

It seems that Catalyst::Log is supposed to be able to autoflush by
default, but not in the case ...

d454161a366118c72fcc53c019c4f6d8a3a7ca2b authored over 7 years ago by Zak B. Elep <[email protected]>
Dockerize MetaCPAN API

This adds a `Dockerfile` so that the app can be built as a Docker image.

docker build -t me...

7bb63262d0c649cbccd763e6336add4ab60ca22f authored over 7 years ago by Zak B. Elep <[email protected]>
:lipstick: put `&&` at the start of RUN subcommands

Slightly emphasize its a continuation of previous RUN subcommand.

44efb948afc2d64845157d8d2a9d8db171886ea5 authored over 7 years ago by Zak B. Elep <[email protected]>
Cleanup cpanm/cpm and caches after Docker build

Reduce image disk usage by removing cpan/cpm caches as well as apt
package lists and whatever el...

05b394207f762e8585ad463ff0a0022fcdf707c9 authored over 7 years ago by Zak B. Elep <[email protected]>
Prevent output buffering in Docker containers

Docker encourages logging to STDOUT/STDERR (e.g in docker-compose) so
autoflush those when runni...

3bba4a562f6cf78348ce4352f4d695e032cb2596 authored over 7 years ago by Zak B. Elep <[email protected]>
Allow $ES to be set via $ES_TEST when testing

We can have a separate ElasticSearch container for testing, so let it be
configurable via anothe...

921fe3684b52378e3917bdb771b6662088b8845e authored over 7 years ago by Zak B. Elep <[email protected]>
Don't copy the rest of the repo into the Docker image

Copying in the repo is somewhat unneeded now since we'll use the image
primarily to provide a de...

5e0fafea6cb07b163531d5f728b7bdf47062edb5 authored over 7 years ago by Zak B. Elep <[email protected]>
Merge pull request #710 from metacpan/mickey/rating_by_distributions_to_hash

/rating/by_distributions: change output structure

bb6d24273f6a92072066364d2a4d2833b1b385b4 authored over 7 years ago by Olaf Alders <[email protected]>
/rating/by_distributions: change output structure

Make the distributions output a hash.

ac145df16d05074eec25bffa01dc9b53ebdabd25 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #707 from metacpan/mickey/author_by_ids_endpoint

Added /author/by_ids endpoint

dfd83dd137852f3101c99ebfd084fbe972657ec9 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #706 from metacpan/mickey/ratings_by_distributions_endpoint

Added /rating/by_distributions API endpoint

719440e4f1c663a806eeda2cb20831656975b771 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #708 from metacpan/mickey/fix_release_modules_output_structure

/release/modules: no single-value collapsing on 'modules'

258755320babdfd8c559ca24810027ed5e034db8 authored over 7 years ago by Mickey <[email protected]>
/release/modules: no single-value collapsing on 'modules'

Keep single-value collapsing on data from 'fields', not from
'_source'.

b56b31b7baedd43cc2f2c9f6008c1ddcf7694277 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /author/by_ids endpoint

This endpoint will replace query sending from WEB.

5e85832a3e7b73f7d49faaeee9f0b1c116ccee5f authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /rating/by_distributions API endpoint

This endpoint will replace query sending from WEB

adb3a6e2dccaa0c5965f17a48d01acfa5fbb715f authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #705 from metacpan/mickey/favorite_agg_by_distirbutions_endpoint

/favorite/agg_by_distributions: change result structure

c2bd56c7cd33f5739a7f20e8993ff5deb4bae865 authored over 7 years ago by Mickey <[email protected]>
/favorite/agg_by_distributions: change result structure

For easier adoption by WEB, the returned results are better in
hashes rather than arrays.

29742d2c930c426274dc6f82205881d43ac12b09 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #703 from metacpan/mickey/release_by_author_and_name_return_single_result

/release/by_author_and_name: return one element

b0df91f087f523489370475a1720a7060533926f authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #702 from metacpan/mickey/mirror_search_endpoint

Added /mirror/search API endpoint

2a39a046453767d6535fa94303bcc614e660e5d6 authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #701 from metacpan/mickey/favorite_agg_by_distirbutions_endpoint

Added /favorite/agg_by_distirbutions API endpoint

b1ecd8c83a24085b83362b70382c4e38307425ab authored over 7 years ago by Olaf Alders <[email protected]>
/release/by_author_and_name: return one element

There is no reason to return an arrayref with one element.
Changed the returned structure from:
...

97733441a1612f8e90134b2dd837bac7e452f4fa authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /favorite/agg_by_distirbutions API endpoint

This new endpoint will replace query sending from WEB.

efb33c3bd43c8f36ed78ee77e5a8ad53ca826c09 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #699 from metacpan/mickey/release_by_author_endpoint

Added /release/by_author/PAUSEID endpoint

e7e984528c9f3a951d565f64d845ef14c507cabf authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #700 from metacpan/mickey/release_latest_by_distribution_return_single_element

/release/latest_by_distribution: return one element

948ef6f16c82e1abe951c54051a6a58a94a60387 authored over 7 years ago by Olaf Alders <[email protected]>
Added /mirror/search API endpoint

This endpoint will replace query sending from WEB

2787d3c7db4463d3f0cc82ba4317a11f4af0ed4c authored over 7 years ago by Mickey Nasriachi <[email protected]>
/release/latest_by_distribution: return one element

There is no reason to return an arrayref with one element.
Changed the returned structure from:
...

6e4288093b2f0b8ac4a1f635b373a8a63f07e066 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /release/by_author/PAUSEID endpoint

This endpoint will replace query sending from WEB

f25d38f440781a98c4eec853a809a17b74231c75 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #698 from metacpan/mickey/mapping_add_missing_mirror_type

Script/Mapping: add mirror type mapping

fd47fe0c86e5b5636cb81da72582fbff8ea0ae9b authored over 7 years ago by Olaf Alders <[email protected]>
Merge pull request #697 from metacpan/mickey/release_new_endpoints

release new endpoints

dd3882143b4c3ecd7bc46dba723b22dbc2836759 authored over 7 years ago by Olaf Alders <[email protected]>
Script/Mapping: add mirror type mapping

This will only affect VM.
Apparently I forgot to list Mirror type mapping and we don't
catch thi...

41a6e2f1b812dd540e5bb1484da407cfa846e07e authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /release/by_author_and_name/PAUSEID/RELNAME API endpoint

This new endpoint will be used to replace sent query from WEB.

03afd2a17e318dba43ec539bc7e6d127bbfbfb7b authored over 7 years ago by Mickey Nasriachi <[email protected]>
Added /release/latest_by_distribution/DISTRIBUTION API endpoint

This new endpoint will be used to replace sent query from WEB.

079537448a5889e26760bc051cf12823b8236d00 authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #696 from metacpan/mickey/release_modules_endpoint

Added new /release/modules/PAUSEID/RELNAME endpoint

6db5fcefc29e448372fc07a9b17e36f789391be1 authored over 7 years ago by Olaf Alders <[email protected]>
Added new /release/modules/PAUSEID/RELNAME endpoint

This endpoint will replace the query sent from WEB.

c11446547c89e6b9795a844152a9f4e3330a8a2c authored over 7 years ago by Mickey Nasriachi <[email protected]>
Merge pull request #695 from metacpan/mickey/release_recent_endpoint

Added /release/recent API endpoint, removed /release/requires

54e5bc3be6431be2bf25023761dc69c2a9f8ff88 authored over 7 years ago by Olaf Alders <[email protected]>