Skip to content

Conversation

@aksingh737
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@jzacsh jzacsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just need to sync; eg:

# get the latest changes in your repos
git checkout master &&
  git pull upstream master &&
  git push origin master

assuming the above went well, then do:

# merge the latest changes with your branch
photosImporter=extensions/data-transfer/portability-data-transfer-google/src/main/java/org/datatransferproject/datatransfer/google/photos/GooglePhotosImporter.java
git checkout preserver-filename-photos-fix &&
  git show master:"$photosImporter" > "$photosImporter" &&
  git commit -m 'WIP: reverting fix in prep for file-move from mege' "$photosImporter" &&
  git merge master

# now you can re-write your fix into GPhotosUpload

try (InputStream s = streamWrapper.getStream()) {
String uploadToken = getOrCreatePhotosInterface(jobId, authData).uploadPhotoContent(s,
photo.getSha1());
photo.getSha1(), photo.getTitle());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note I think this now lives in GPhotosUpload class, so you'll have to revert this file, merge ,and then re-add this param in the new class.

.encodeToString(BaseEncoding.base16().decode(sha1.toUpperCase())));
}

if(!title.isEmpty())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: style here is a bit weird - I'm guessing this was just wonkiness from your new IDE setup

@CLAassistant
Copy link

CLAassistant commented Jun 26, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants