Update repository links

Update sources to reflect that the source of truth for most of the
repositories in pagespeed/ have moved to
github.com/apache/incubator-pagespeed-*
This commit is contained in:
Otto van der Schaaf
2018-01-12 20:02:03 +00:00
parent 4f1565bb2a
commit daf1d9446c
12 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[submodule "testing-dependencies/mod_pagespeed"] [submodule "testing-dependencies/mod_pagespeed"]
path = testing-dependencies/mod_pagespeed path = testing-dependencies/mod_pagespeed
url = https://github.com/pagespeed/mod_pagespeed.git url = https://github.com/apache/incubator-pagespeed-mod.git
[submodule "testing-dependencies/ngx_cache_purge"] [submodule "testing-dependencies/ngx_cache_purge"]
path = testing-dependencies/ngx_cache_purge path = testing-dependencies/ngx_cache_purge
url = https://github.com/FRiCKLE/ngx_cache_purge.git url = https://github.com/FRiCKLE/ngx_cache_purge.git
+1 -1
View File
@@ -1,4 +1,4 @@
In a release this file would contain the URL to download the pre-compiled PSOL In a release this file would contain the URL to download the pre-compiled PSOL
binary, but on development branches (like this one) you have to build PSOL from binary, but on development branches (like this one) you have to build PSOL from
source yourself. See: source yourself. See:
https://github.com/pagespeed/ngx_pagespeed/wiki/Building-PSOL-From-Source https://github.com/apache/incubator-pagespeed-ngx/wiki/Building-PSOL-From-Source
+1 -1
View File
@@ -35,7 +35,7 @@ if [ "$mod_pagespeed_dir" = "unset" ] ; then
This is a development branch of ngx_pagespeed, which means there is no This is a development branch of ngx_pagespeed, which means there is no
precompiled PSOL library available to link against. Either build from a precompiled PSOL library available to link against. Either build from a
release tag, like latest-beta, or build PSOL from source: release tag, like latest-beta, or build PSOL from source:
https://github.com/pagespeed/ngx_pagespeed/wiki/Building-PSOL-From-Source" https://github.com/apache/incubator-pagespeed-ngx/wiki/Building-PSOL-From-Source"
exit 1 exit 1
fi fi
+1 -1
View File
@@ -608,7 +608,7 @@ Not deleting $directory; name is suspiciously short. Something is wrong."
fi fi
fi fi
else else
nps_baseurl="https://github.com/pagespeed/ngx_pagespeed/archive" nps_baseurl="https://github.com/apache/incubator-pagespeed-ngx/archive"
nps_downloaded="$TEMPDIR/$nps_downloaded_fname.zip" nps_downloaded="$TEMPDIR/$nps_downloaded_fname.zip"
status "Downloading ngx_pagespeed..." status "Downloading ngx_pagespeed..."
run wget "$nps_baseurl/$tag_name.zip" -O "$nps_downloaded" run wget "$nps_baseurl/$tag_name.zip" -O "$nps_downloaded"
+2 -2
View File
@@ -16,7 +16,7 @@
# #
# Converts pagespeed_libraries.conf from Apache-format to Nginx-format, # Converts pagespeed_libraries.conf from Apache-format to Nginx-format,
# supporting the canonicalize_javascript_libraries filter. # supporting the canonicalize_javascript_libraries filter.
# Inspired by https://github.com/pagespeed/ngx_pagespeed/issues/532 # Inspired by https://github.com/apache/incubator-pagespeed-ngx/issues/532
# #
# Usage: # Usage:
# scripts/pagespeed_libraries_generator.sh > pagespeed_libraries.conf # scripts/pagespeed_libraries_generator.sh > pagespeed_libraries.conf
@@ -27,7 +27,7 @@
# Author: vid@zippykid.com (Vid Luther) # Author: vid@zippykid.com (Vid Luther)
# jefftk@google.com (Jeff Kaufman) # jefftk@google.com (Jeff Kaufman)
URL="https://github.com/pagespeed/mod_pagespeed/raw/master/" URL="https://github.com/apache/incubator-pagespeed-mod/raw/master/"
URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf" URL+="net/instaweb/genfiles/conf/pagespeed_libraries.conf"
curl -L -s -S "$URL" \ curl -L -s -S "$URL" \
| grep ModPagespeedLibrary \ | grep ModPagespeedLibrary \
+1 -1
View File
@@ -152,7 +152,7 @@ void NgxBaseFetch::ReadCallback(const ps_event_data& data) {
ps_request_ctx_t* ctx = ps_get_request_context(r); ps_request_ctx_t* ctx = ps_get_request_context(r);
// If our request context was zeroed, skip this event. // If our request context was zeroed, skip this event.
// See https://github.com/pagespeed/ngx_pagespeed/issues/1081 // See https://github.com/apache/incubator-pagespeed-ngx/issues/1081
if (ctx == NULL) { if (ctx == NULL) {
// Should not happen normally, when it does this message will cause our // Should not happen normally, when it does this message will cause our
// system tests to fail. // system tests to fail.
+1 -1
View File
@@ -54,7 +54,7 @@ bool NgxEventConnection::Init(ngx_cycle_t* cycle) {
pipe_write_fd_ = file_descriptors[1]; pipe_write_fd_ = file_descriptors[1];
// Attempt to bump the pipe capacity, because running out of buffer space // Attempt to bump the pipe capacity, because running out of buffer space
// can potentially lead up to writes spinning on EAGAIN. // can potentially lead up to writes spinning on EAGAIN.
// See https://github.com/pagespeed/ngx_pagespeed/issues/1380 // See https://github.com/apache/incubator-pagespeed-ngx/issues/1380
// TODO(oschaaf): Consider implementing a queueing mechanism for retrying // TODO(oschaaf): Consider implementing a queueing mechanism for retrying
// failed writes. // failed writes.
#ifdef F_SETPIPE_SZ #ifdef F_SETPIPE_SZ
+1 -1
View File
@@ -30,7 +30,7 @@
// TODO(oschaaf): style: reindent namespace according to google C++ style guide // TODO(oschaaf): style: reindent namespace according to google C++ style guide
// TODO(oschaaf): Retry mechanism for failures on a re-used k-a connection. // TODO(oschaaf): Retry mechanism for failures on a re-used k-a connection.
// Currently we don't think it's going to be an issue, see the comments at // Currently we don't think it's going to be an issue, see the comments at
// https://github.com/pagespeed/ngx_pagespeed/pull/781. // https://github.com/apache/incubator-pagespeed-ngx/pull/781.
extern "C" { extern "C" {
#include <nginx.h> #include <nginx.h>
+3 -3
View File
@@ -718,7 +718,7 @@ char* ps_srv_configure(ngx_conf_t* cf, ngx_command_t* cmd, void* conf);
char* ps_loc_configure(ngx_conf_t* cf, ngx_command_t* cmd, void* conf); char* ps_loc_configure(ngx_conf_t* cf, ngx_command_t* cmd, void* conf);
// We want NGX_CONF_MULTI for some very old versions: // We want NGX_CONF_MULTI for some very old versions:
// https://github.com/pagespeed/ngx_pagespeed/commit/66f1b9aa // https://github.com/apache/incubator-pagespeed-ngx/commit/66f1b9aa
// but it's gone in recent revisions, so provide a compat #define if needed // but it's gone in recent revisions, so provide a compat #define if needed
#ifndef NGX_CONF_MULTI #ifndef NGX_CONF_MULTI
#define NGX_CONF_MULTI 0 #define NGX_CONF_MULTI 0
@@ -2363,7 +2363,7 @@ ngx_int_t ps_html_rewrite_header_filter(ngx_http_request_t* r) {
} }
ps_strip_html_headers(r); ps_strip_html_headers(r);
// See https://github.com/pagespeed/ngx_pagespeed/issues/819 // See https://github.com/apache/incubator-pagespeed-ngx/issues/819
ctx->location_field_set = r->headers_out.location != NULL; ctx->location_field_set = r->headers_out.location != NULL;
// TODO(jefftk): is this thread safe? // TODO(jefftk): is this thread safe?
@@ -3135,7 +3135,7 @@ ngx_int_t ps_init_module(ngx_cycle_t* cycle) {
ps_main_conf_t* cfg_m = static_cast<ps_main_conf_t*>( ps_main_conf_t* cfg_m = static_cast<ps_main_conf_t*>(
ngx_http_cycle_get_module_main_conf(cycle, ngx_pagespeed)); ngx_http_cycle_get_module_main_conf(cycle, ngx_pagespeed));
// See https://github.com/pagespeed/ngx_pagespeed/issues/1220 // See https://github.com/apache/incubator-pagespeed-ngx/issues/1220
if (cfg_m == NULL) { if (cfg_m == NULL) {
return NGX_OK; return NGX_OK;
} }
+1 -1
View File
@@ -151,7 +151,7 @@ RewriteOptions* NgxRewriteDriverFactory::NewRewriteOptions() {
// mod_pagespeed does in mod_instaweb.cc:create_dir_config() isn't enough here // mod_pagespeed does in mod_instaweb.cc:create_dir_config() isn't enough here
// -- if you use that instead then ngx_pagespeed doesn't actually end up // -- if you use that instead then ngx_pagespeed doesn't actually end up
// defaulting CoreFilters. // defaulting CoreFilters.
// See: https://github.com/pagespeed/ngx_pagespeed/issues/1190 // See: https://github.com/apache/incubator-pagespeed-ngx/issues/1190
options->SetRewriteLevel(RewriteOptions::kCoreFilters); options->SetRewriteLevel(RewriteOptions::kCoreFilters);
return options; return options;
} }
+1 -1
View File
@@ -2067,7 +2067,7 @@ http {
# or made equivalent to ModPagespeedInPlaceRewriteDeadlineMs -1, which waits # or made equivalent to ModPagespeedInPlaceRewriteDeadlineMs -1, which waits
# forever. Otherwise ModPagespeedInPlaceRewriteDeadlineMs should just have # forever. Otherwise ModPagespeedInPlaceRewriteDeadlineMs should just have
# the specified deadline. # the specified deadline.
# # See https://github.com/pagespeed/mod_pagespeed/issues/1171 for more # # See https://github.com/apache/incubator-pagespeed-mod/issues/1171 for more
# detailed discussion. # detailed discussion.
pagespeed InPlaceWaitForOptimized on; pagespeed InPlaceWaitForOptimized on;
} }
+1 -1
View File
@@ -101,7 +101,7 @@
fun:ngx_process_events_and_timers fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle fun:ngx_worker_process_cycle
} }
# Mentioned in https://github.com/pagespeed/ngx_pagespeed/issues/103 # Mentioned in https://github.com/apache/incubator-pagespeed-ngx/issues/103
# Assuming a false postives as the issue is closed. # Assuming a false postives as the issue is closed.
{ {
<nginx false positive> <nginx false positive>