Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update links for new org and repo names
  • Loading branch information
haarg committed Jun 28, 2016
1 parent 4b43e0b commit b86cc04
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 38 deletions.
8 changes: 4 additions & 4 deletions News.md
Expand Up @@ -11,7 +11,7 @@ tight configs... and now so do we. I'd like to thank then for providing
both examples, support and an IRC channel where Donald Stufft
from the Python infrastructure team was able to help out.

All our configs and systems are in our [github repos](https://github.com/CPAN-API/)
All our configs and systems are in our [github repos](https://github.com/metacpan/)
so feel free to review / improve or 'borrow' configs from.

Title: Liquid Web is Sponsoring MetaCPAN
Expand All @@ -38,8 +38,8 @@ We have moved all sites over to [Fastly](http://www.fastly.com)
We have further plans... but this will do for now,
many thanks to our sponsors for making this possible.

[network-infrastructure](https://github.com/CPAN-API/network-infrastructure)
and [metacpan-puppet](https://github.com/CPAN-API/metacpan-puppet) have all
[network-infrastructure](https://github.com/metacpan/network-infrastructure)
and [metacpan-puppet](https://github.com/metacpan/metacpan-puppet) have all
our configs if you want to see details of anything.


Expand All @@ -65,7 +65,7 @@ If you had either http://search.cpan.org/ or http://cpansearch.perl.org/
in your desktop `hosts` file you'll need to
[update the IP](https://metacpan.org/about/faq#cani_automatically_redirectlinkspointingatsearch.cpan.orgtometacpan.org)

We will be documenting this a bit more under [Network Infrastructure](https://github.com/CPAN-API/network-infrastructure)
We will be documenting this a bit more under [Network Infrastructure](https://github.com/metacpan/network-infrastructure)
but that's a work in progress.


Expand Down
6 changes: 3 additions & 3 deletions README.md
@@ -1,9 +1,9 @@
[![Build Status](https://travis-ci.org/CPAN-API/metacpan-web.png?branch=master)](https://travis-ci.org/CPAN-API/metacpan-web)
[![Coverage Status](https://coveralls.io/repos/CPAN-API/metacpan-web/badge.png)](https://coveralls.io/r/CPAN-API/metacpan-web)
[![Build Status](https://travis-ci.org/metacpan/metacpan-web.png?branch=master)](https://travis-ci.org/metacpan/metacpan-web)
[![Coverage Status](https://coveralls.io/repos/metacpan/metacpan-web/badge.png)](https://coveralls.io/r/metacpan/metacpan-web)

## GETTING STARTED

We strongly recommend using [metacpan-developer](https://github.com/CPAN-API/metacpan-developer),
We strongly recommend using [metacpan-developer](https://github.com/metacpan/metacpan-developer),
this will give you a virtual machine already configured and ready to start developing on.

$ vagrant ssh
Expand Down
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Web/Model/API.pm
Expand Up @@ -24,7 +24,7 @@ sub _build_client {
$AnyEvent::HTTP::PERSISTENT_TIMEOUT = 0;
$AnyEvent::HTTP::USERAGENT
= 'Mozilla/5.0 (compatible; U; MetaCPAN-Web/1.0; '
. '+https://github.com/CPAN-API/metacpan-web)';
. '+https://github.com/metacpan/metacpan-web)';
}

sub cv {
Expand Down Expand Up @@ -123,7 +123,7 @@ sub _strip_source_prefix_from_fields {
# "A stored boolean field is being returned as a string, not as a boolean"
# when requested via "fields". To work around this we can specify
# "_source.blah" in "fields", then we strip the "_source." prefix here.
# https://github.com/CPAN-API/metacpan-web/issues/881
# https://github.com/metacpan/metacpan-web/issues/881
# https://github.com/elasticsearch/elasticsearch/issues/2551
# See .../API/Release.pm for examples of this.

Expand Down
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Model/API/Release.pm
Expand Up @@ -199,7 +199,7 @@ sub modules {
sort => [ 'documentation', 'path' ],

# Get indexed and authorized from _source to work around ES bug:
# https://github.com/CPAN-API/metacpan-web/issues/881
# https://github.com/metacpan/metacpan-web/issues/881
# https://github.com/elasticsearch/elasticsearch/issues/2551
fields => [
qw(
Expand Down
4 changes: 2 additions & 2 deletions root/about.html
Expand Up @@ -26,8 +26,8 @@
vs [http://api.metacpan.org/module/Moose](http://api.metacpan.org/module/Moose)

MetaCPAN is [a community effort](/about/contributors), with all the code freely
available on GitHub ([www](https://github.com/CPAN-API/metacpan-web),
[api](https://github.com/CPAN-API/cpan-api)).
available on GitHub ([www](https://github.com/metacpan/metacpan-web),
[api](https://github.com/metacpan/metacpan-api)).

## Using the API

Expand Down
4 changes: 2 additions & 2 deletions root/about/contact.html
Expand Up @@ -28,11 +28,11 @@

## Front-end

This is what you are looking at right now. The source code is on [github](https://github.com/CPAN-API/metacpan-web).
This is what you are looking at right now. The source code is on [github](https://github.com/metacpan/metacpan-web).

## Back-end

The front-end is a slim wrapper around the back-end. It provides a REST API to data around CPAN and its ecosystem. The code is also on [github](https://github.com/CPAN-API/cpan-api).
The front-end is a slim wrapper around the back-end. It provides a REST API to data around CPAN and its ecosystem. The code is also on [github](https://github.com/metacpan/metacpan-api).



Expand Down
16 changes: 8 additions & 8 deletions root/about/contributors.html
Expand Up @@ -2,14 +2,14 @@
<script type="text/javascript">
$(document).ready(function() {
var repos = [
'CPAN-API/metacpan-web',
'CPAN-API/cpan-api',
'CPAN-API/p5-metacpan-websocket',
'CPAN-API/Metacpan-Puppet',
'CPAN-API/metacpan-vagrant',
'CPAN-API/metacpan-developer',
'CPAN-API/metacpan-explorer',
'CPAN-API/metacpan-examples'
'metacpan/metacpan-web',
'metacpan/metacpan-api',
'metacpan/p5-metacpan-websocket',
'metacpan/metacpan-puppet',
'metacpan/metacpan-vagrant',
'metacpan/metacpan-developer',
'metacpan/metacpan-explorer',
'metacpan/metacpan-examples'
];
var baseUrl = 'https://api.github.com/repos';
var path = 'contributors';
Expand Down
10 changes: 5 additions & 5 deletions root/about/development.html
Expand Up @@ -19,7 +19,7 @@
contribute to and there is also room for you to suggest improvements which you
would like to make.

The [wishlist](https://github.com/CPAN-API/cpan-api/wiki/Wishlist) contains
The [wishlist](https://github.com/metacpan/metacpan-api/wiki/Wishlist) contains
(larger) items that we want to 'get around to'.
The project list is ever growing and subject to change as
volunteers take items on, but here's a sampling of what we'd love for you to
Expand Down Expand Up @@ -97,15 +97,15 @@
github, IRC or both. We'll guide you through the process and you can decide
for yourself if it's a good fit for you. We look forward to hearing from you.

A good first read is the "[How to contribute](https://github.com/CPAN-API/metacpan-web/blob/master/CONTRIBUTING.md)" document.
A good first read is the "[How to contribute](https://github.com/metacpan/metacpan-web/blob/master/CONTRIBUTING.md)" document.

Main repositories:

Front end: [https://github.com/CPAN-API/metacpan-web](https://github.com/CPAN-API/metacpan-web)
Front end: [https://github.com/metacpan/metacpan-web](https://github.com/metacpan/metacpan-web)

API: [https://github.com/CPAN-API/cpan-api](https://github.com/CPAN-API/cpan-api)
API: [https://github.com/metacpan/metacpan-api](https://github.com/metacpan/metacpan-api)

Example scripts: [https://github.com/CPAN-API/metacpan-examples](https://github.com/CPAN-API/metacpan-examples)
Example scripts: [https://github.com/metacpan/metacpan-examples](https://github.com/metacpan/metacpan-examples)

<% END %>

Expand Down
4 changes: 2 additions & 2 deletions root/about/faq.html
Expand Up @@ -64,7 +64,7 @@

## Where can I find the API docs?

The API docs can be found [in the API repository](https://github.com/CPAN-API/cpan-api/blob/master/docs/API-docs.md).
The API docs can be found [in the API repository](https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md).
API requests need to be sent to api.metacpan.org.

## How can I try the API?
Expand Down Expand Up @@ -110,7 +110,7 @@

### Favorites not displaying on author page?

Please see [this discussion](https://github.com/CPAN-API/metacpan-web/issues/852).
Please see [this discussion](https://github.com/metacpan/metacpan-web/issues/852).

## Oops! I made a mistake. Can you delete my module?

Expand Down
4 changes: 2 additions & 2 deletions root/about/missing_modules.html
Expand Up @@ -27,8 +27,8 @@

We do have bugs, so this is possible, please help by...

* Please check existing [issues](https://github.com/CPAN-API/metacpan-web/issues/)
* Create an [issue](https://github.com/CPAN-API/metacpan-web/issues/new)
* Please check existing [issues](https://github.com/metacpan/metacpan-web/issues/)
* Create an [issue](https://github.com/metacpan/metacpan-web/issues/new)
* Become a [developer](/about/development)

<% END %>
Expand Down
2 changes: 1 addition & 1 deletion root/lab.html
Expand Up @@ -7,7 +7,7 @@ <h1 class="content-head">LAB - YOU ARE IN A <span style="color:#FF0000">TESTING
<% FILTER markdown %>
## Experimental features

Try them and <a href="https://github.com/CPAN-API/metacpan-web/issues">let us know</a> how to improve them.
Try them and <a href="https://github.com/metacpan/metacpan-web/issues">let us know</a> how to improve them.

* Dashboard - a personalised dashboard (for logged in authors)
* Dependencies - list the dependencies of a module
Expand Down
2 changes: 1 addition & 1 deletion root/recent/log.html
Expand Up @@ -57,7 +57,7 @@
};
var template = function(data) {
return '<tr><td><span class="label label-' + labels[data.level] + '">' + levels[data.level] + "</span></td>" +
'<td><a href="https://github.com/CPAN-API/cpan-api/blob/master/lib/MetaCPAN/Script/' + script_name(data.script) + '.pm">' + data.script + "</a></td>" +
'<td><a href="https://github.com/metacpan/metacpan-api/blob/master/lib/MetaCPAN/Script/' + script_name(data.script) + '.pm">' + data.script + "</a></td>" +
"<td>" + data.message + "</td>" +
'<td class="date relatize">' + data.date + "</td></tr>";
};
Expand Down
2 changes: 1 addition & 1 deletion root/static/js/github.js
Expand Up @@ -78,7 +78,7 @@
:'' )

// with v3 api the number under 'watchers' is actually the number of stargazers
// in the v4 api this will be corrected. see https://github.com/CPAN-API/metacpan-web/issues/975
// in the v4 api this will be corrected. see https://github.com/metacpan/metacpan-web/issues/975
+' <tr><th>Stars:</th><td><a href="'+ data.html_url +'/stargazers">'+ data.watchers +'</a></td></tr>'
+' <tr><th>Forks:</th><td><a href="'+ data.html_url +'/network">'+ data.forks +'</a></td></tr>'

Expand Down
6 changes: 3 additions & 3 deletions root/wrapper.html
Expand Up @@ -16,7 +16,7 @@
},
{
title = "Github Issues",
path = ["https://github.com/CPAN-API/metacpan-web/issues"],
path = ["https://github.com/metacpan/metacpan-web/issues"],
class = 'hidden-xs',
icon = "github-alt",
},
Expand Down Expand Up @@ -223,7 +223,7 @@
<div class="row footer">
<div class="hidden-xs hidden-sm col-md-2">&nbsp;</div>
<div class="col-xs-2 col-sm-1 col-md-1" style="text-align: center">
<a href="https://github.com/CPAN-API/cpan-api/blob/master/docs/API-docs.md">API</a>
<a href="https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md">API</a>
</div>
<div class="col-xs-5 col-sm-3 col-md-2" style="text-align: center">
<a href="/about">About MetaCPAN</a>
Expand All @@ -232,7 +232,7 @@
<a href="/mirrors">CPAN Mirrors</a>
</div>
<div class="hidden-xs col-sm-3 col-md-2" style="text-align: center">
<a href="https://github.com/CPAN-API/metacpan-web">Fork metacpan.org</a>
<a href="https://github.com/metacpan/metacpan-web">Fork metacpan.org</a>
</div>
<div class="hidden-xs col-sm-1 col-md-1" style="text-align: center">
<a href="https://www.perl.org/">Perl.org</a>
Expand Down
2 changes: 1 addition & 1 deletion t/model/changes.t
Expand Up @@ -8,7 +8,7 @@ use aliased 'MetaCPAN::Web::Model::API::Changes';

my $rt = 'https://rt.cpan.org/Ticket/Display.html?id=';
my $rt_perl = 'https://rt.perl.org/Ticket/Display.html?id=';
my $gh = 'https://github.com/CPAN-API/metacpan-web/issues/';
my $gh = 'https://github.com/metacpan/metacpan-web/issues/';

subtest 'RT ticket linking' => sub {
my %rt_tests = (
Expand Down

0 comments on commit b86cc04

Please sign in to comment.