GoogleCloudPlatform/repository-gardener

Name: repository-gardener

Owner: Google Cloud Platform

Description: null

Created: 2016-07-08 20:14:05.0

Updated: 2018-05-14 16:39:36.0

Pushed: 2018-04-24 18:02:19.0

Homepage: null

Size: 74

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Repository Gardener

Build Status

The repository gardener maintains code samples by running some automatable tasks. For example, it can automatically update dependencies and then after running tests to ensure they still work, send a Pull Request for the update.

Example

The following commands will clone the java-docs-samples repository and update its dependencies to the latest versions.

For Java, we need to also clone the java-repo-tools repository to get the latest version updater configuration.

ce set-env.sh \
 git clone https://github.com/GoogleCloudPlatform/java-repo-tools.git
 ./clone-and-checkout.sh -b dpebot-updatedeps GoogleCloudPlatform/java-docs-samples \
 ( \
cd repo-to-update \
&& ../use-latest-deps-java.sh -d GoogleCloudPlatform/java-docs-samples

The -d option in use-latest-deps-java.sh is to do a dry run (don't commit or push). Remove -d to actually push and send PR.

Contributing changes
Licensing
Disclaimer

This is not an official Google product or sample.

Adding the bot to your repository (Googlers only)

A hosted version of the bot is available for Googlers.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.