Update URLs for Google Cloud Storage

Per [1] the correct URL is <bucket>.storage.googleapis.com/<object>.
Update existing references to project resources to use this domain
name instead of the old name.

[1] https://developers.google.com/storage/docs/reference-uris

Change-Id: I3788cfb4504b3908d2b5eccbdf52beffc3d18387
This commit is contained in:
Shawn Pearce
2013-06-21 11:01:45 -07:00
parent d4f54cc03e
commit d500500b5e
9 changed files with 20 additions and 20 deletions

View File

@@ -64,7 +64,7 @@ When starting from this example one should take care to adapt the
the plugin is developed. If the plugin is developed for a released the plugin is developed. If the plugin is developed for a released
Gerrit version (no `SNAPSHOT` version) then the URL for the Gerrit version (no `SNAPSHOT` version) then the URL for the
`gerrit-api-repository` in the `pom.xml` needs to be changed to `gerrit-api-repository` in the `pom.xml` needs to be changed to
`https://gerrit-api.commondatastorage.googleapis.com/release/`. `https://gerrit-api.storage.googleapis.com/release/`.
[[API]] [[API]]
API API

View File

@@ -73,7 +73,7 @@ deployable to the `gerrit-maven` storage bucket:
<repository> <repository>
<id>gerrit-maven-repository</id> <id>gerrit-maven-repository</id>
<name>Gerrit Maven Repository</name> <name>Gerrit Maven Repository</name>
<url>s3://gerrit-maven@commondatastorage.googleapis.com</url> <url>gs://gerrit-maven</url>
<uniqueVersion>true</uniqueVersion> <uniqueVersion>true</uniqueVersion>
</repository> </repository>
</distributionManagement> </distributionManagement>
@@ -86,9 +86,9 @@ deployable to the `gerrit-maven` storage bucket:
<build> <build>
<extensions> <extensions>
<extension> <extension>
<groupId>net.anzix.aws</groupId> <groupId>com.googlesource.gerrit</groupId>
<artifactId>s3-maven-wagon</artifactId> <artifactId>gs-maven-wagon</artifactId>
<version>3.2</version> <version>3.3</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>
@@ -107,7 +107,7 @@ deployable to the `gerrit-plugins` storage bucket:
<repository> <repository>
<id>gerrit-plugins-repository</id> <id>gerrit-plugins-repository</id>
<name>Gerrit Plugins Repository</name> <name>Gerrit Plugins Repository</name>
<url>s3://gerrit-plugins@commondatastorage.googleapis.com</url> <url>gs://gerrit-plugins</url>
<uniqueVersion>true</uniqueVersion> <uniqueVersion>true</uniqueVersion>
</repository> </repository>
</distributionManagement> </distributionManagement>
@@ -120,9 +120,9 @@ deployable to the `gerrit-plugins` storage bucket:
<build> <build>
<extensions> <extensions>
<extension> <extension>
<groupId>net.anzix.aws</groupId> <groupId>com.googlesource.gerrit</groupId>
<artifactId>s3-maven-wagon</artifactId> <artifactId>gs-maven-wagon</artifactId>
<version>3.2</version> <version>3.3</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>

View File

@@ -13,9 +13,9 @@ release.
`gerrit-api-repository` in the `pom.xml` is correct. `gerrit-api-repository` in the `pom.xml` is correct.
+ +
If `Gerrit-ApiVersion` references a released Gerrit version it must be If `Gerrit-ApiVersion` references a released Gerrit version it must be
`https://gerrit-api.commondatastorage.googleapis.com/release/`, if `https://gerrit-api.stoarge.googleapis.com/release/`, if
`Gerrit-ApiVersion` references a snapshot Gerrit version it must be `Gerrit-ApiVersion` references a snapshot Gerrit version it must be
`https://gerrit-api.commondatastorage.googleapis.com/snapshot/`. `https://gerrit-api.storage.googleapis.com/snapshot/`.
* Build the latest snapshot and install it into the local Maven * Build the latest snapshot and install it into the local Maven
repository: repository:

View File

@@ -157,7 +157,7 @@ Publish the Extension and Plugin API Jars
link:dev-release-deploy-config.html#deploy-configuration-settings-xml[ link:dev-release-deploy-config.html#deploy-configuration-settings-xml[
configuration needed for deployment] configuration needed for deployment]
* Push the Jars to `commondatastorage.googleapis.com`: * Push the Jars to `storage.googleapis.com`:
+ +
---- ----
./tools/deploy_api.sh ./tools/deploy_api.sh

View File

@@ -3,7 +3,7 @@ Release notes for Gerrit 2.6
Gerrit 2.6 is now available: Gerrit 2.6 is now available:
link:https://gerrit-releases.commondatastorage.googleapis.com/gerrit-2.6.war[https://gerrit-releases.commondatastorage.googleapis.com/gerrit-2.6.war] link:https://gerrit-releases.storage.googleapis.com/gerrit-2.6.war[https://gerrit-releases.storage.googleapis.com/gerrit-2.6.war]
Gerrit 2.6 includes the bug fixes done with Gerrit 2.6 includes the bug fixes done with
link:ReleaseNotes-2.5.1.html[Gerrit 2.5.1], link:ReleaseNotes-2.5.1.html[Gerrit 2.5.1],

View File

@@ -94,9 +94,9 @@ limitations under the License.
<repository> <repository>
<id>gerrit-api-repository</id> <id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT")) #if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url> <url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else #else
<url>https://gerrit-api.commondatastorage.googleapis.com/release/</url> <url>https://gerrit-api.storage.googleapis.com/release/</url>
#end #end
</repository> </repository>
</repositories> </repositories>

View File

@@ -120,9 +120,9 @@ limitations under the License.
<repository> <repository>
<id>gerrit-api-repository</id> <id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT")) #if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url> <url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else #else
<url>https://gerrit-api.commondatastorage.googleapis.com/release/</url> <url>https://gerrit-api.storage.googleapis.com/release/</url>
#end #end
</repository> </repository>
</repositories> </repositories>

View File

@@ -112,9 +112,9 @@ limitations under the License.
<repository> <repository>
<id>gerrit-api-repository</id> <id>gerrit-api-repository</id>
#if ($gerritApiVersion.endsWith("SNAPSHOT")) #if ($gerritApiVersion.endsWith("SNAPSHOT"))
<url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url> <url>https://gerrit-api.storage.googleapis.com/snapshot/</url>
#else #else
<url>https://gerrit-api.commondatastorage.googleapis.com/release/</url> <url>https://gerrit-api.storage.googleapis.com/release/</url>
#end #end
</repository> </repository>
</repositories> </repositories>

View File

@@ -24,7 +24,7 @@ from sys import stderr
from zipfile import ZipFile, BadZipfile, LargeZipFile from zipfile import ZipFile, BadZipfile, LargeZipFile
REPO_ROOTS = { REPO_ROOTS = {
'GERRIT': 'http://gerrit-maven.commondatastorage.googleapis.com', 'GERRIT': 'http://gerrit-maven.storage.googleapis.com',
'MAVEN_CENTRAL': 'http://repo1.maven.org/maven2', 'MAVEN_CENTRAL': 'http://repo1.maven.org/maven2',
} }