GoogleCloudPlatform / GoogleCloudPlatform/gsutil
gsutill resync comment for Synchronizing
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
Hi Team,
When i am trying to run below comment all the files are copied and the date & time also changed to current date & time when we use cloud build. But we run same comment in the cloud shell it Synchronizing only the modified/added/deleted file from the bucket remaining file is not changed(Date & Time is older for not modified files).
gsutil -m rsync -d -r cloudbuilddir bucketpath
I guess this rsync command working only we use gcloud command line since the file availble in local and it is checking using the time stamp of the file and Synchronizing the file. When it comes to cloud build each time source code will be downloaded and when we use rsync all files copied with current date time. I guess rsync is not checking the checksum of file(content of file) instead Its checking date & time of it. Can we know any way to Synchronizing local folder to bucket using cloud build? I dont
Contributor guide
Research direction
Start by reproducing the gsutil -m rsync -d -r command in Cloud Build and Cloud Shell with the same bucket and source contents. Compare how unchanged files are detected and document whether the differing timestamps are expected, along with a supported way to synchronize the local folder from Cloud Build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100