Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Refactor, simplify and modernize GCS sample#1

Closed
Capstan wants to merge 11 commits intogoogle:masterfrom
Capstan:master
Closed

Refactor, simplify and modernize GCS sample#1
Capstan wants to merge 11 commits intogoogle:masterfrom
Capstan:master

Conversation

@Capstan
Copy link
Contributor

@Capstan Capstan commented Apr 29, 2015

  • Pull up api client dependencies to associated 1.20.0 version and update Guava to latest, 18.0.
  • Move use of API to v1
  • Pull out specific uses into *Example.java files.
  • Exercise several such uses by the main StorageSample class.
  • Demonstrate md5 and crc32c validation.
  • Upload/download progress and ACL editing from the original sample have been removed.
  • Update instructions to reference github instead of the old code.google.com.

https://codereview.appspot.com/236910043/
googleapis/google-api-java-client#938

Capstan added 8 commits April 29, 2015 16:46
Pull up api client dependencies to associated 1.20.0 version and update
Guava to latest, 18.0.
* Break up the monolithic file into individual standalone examples that
can be executed separately.
* Move some helper classes into separate files for brevity.
* Remove some of the complexity to avoid barriers to entry.
Since API client includes Guava, its version obscures the explicit
dependency.
Don’t track Eclipse-generated directories.
@Capstan Capstan changed the title Upgrade GCS sample to v1 Refactor, simplify and modernize GCS sample May 5, 2015
Capstan added 3 commits May 5, 2015 11:55
Conform to 100 character line lengths and add JavaDoc to top-level
classes.

While here, also fixed the Application names of two of the examples to
match the class name.
Change references from mercurial to git, and update the developer
console URL to the modern use.
@Capstan
Copy link
Contributor Author

Capstan commented May 7, 2015

Everyone has LGTMed the code review, so this pull request is ready for inclusion.

@Capstan Capstan closed this May 11, 2015
@Capstan
Copy link
Contributor Author

Capstan commented May 11, 2015

Committed in af27369683.

@Capstan Capstan reopened this May 21, 2015
@Capstan
Copy link
Contributor Author

Capstan commented May 21, 2015

@wonderfly I think that, despite you having already committed these changes in some kind of commit, this pull request isn't resolved, since I'm perennially showing these diffs between my master (which has no further changes) and google/master. I think merging this would be a no-op for code differences, but maybe fix the git accounting in some fashion I do not yet fully comprehend.

@ejona86
Copy link

ejona86 commented May 21, 2015

The change was cherry-picked. That keeps the git history clean and removes all the review noise.

@ejona86 ejona86 closed this May 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants