-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve File Modes #107
Preserve File Modes #107
Commits on Aug 19, 2023
-
Use RFC 5322 date in test script
As find -d cannot always parse the default output format of date.
Configuration menu - View commit details
-
Copy full SHA for e2444ea - Browse repository at this point
Copy the full SHA e2444eaView commit details -
[NFC] Add perm arg to create_file
This is a nop change to introduce a parameter which enables us to control the permissions of the created file. Since it defaults to the old behaviour, no functional changes are intended (NFC).
Configuration menu - View commit details
-
Copy full SHA for eed08ce - Browse repository at this point
Copy the full SHA eed08ceView commit details -
Rename FileEntry.{metadata => object_metadata}
Soon introducing file metadata as distinct from object metadata. Object metadata: That which relates to the object as it appears in the pack. File metadata: That which relates to the path, such as file modes.
Configuration menu - View commit details
-
Copy full SHA for 0608a6d - Browse repository at this point
Copy the full SHA 0608a6dView commit details -
[Format version 2] Add FileMetadata to FileHandle for modes
This adds a FileMetadata as a part of the FileHandle. This does make me question if FileHandle is now appropriately named, but logically, the file metadata is a part of the file state which should be considered changed along with the other properties of the FileHandle, so this seems like the correct place to put this information for now. Co-authored-by: Vesko Karaganev <vesko.karaganev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8c8d66a - Browse repository at this point
Copy the full SHA 8c8d66aView commit details -
Prior to this commit, modes did nothing since they were not populated. After this commit, they are populated in the index, and that information is used to specify modes on the created files. Closes #13. Co-authored-by: Vesko Karaganev <vesko.karaganev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 411260c - Browse repository at this point
Copy the full SHA 411260cView commit details -
Add test_extract_file_modes_preserved
Co-authored-by: Vesko Karaganev <vesko.karaganev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8dea1b9 - Browse repository at this point
Copy the full SHA 8dea1b9View commit details -
[NFCI] Use scope rather than drop for file lifetime
Addresses a review comment in #107.
Configuration menu - View commit details
-
Copy full SHA for c46fa95 - Browse repository at this point
Copy the full SHA c46fa95View commit details -
Include file_metadata in snapshot identity hash
Co-authored-by: Vesko Karaganev <vesko.karaganev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5d9809a - Browse repository at this point
Copy the full SHA 5d9809aView commit details -
It appears to be optional on an old Ubuntu installation, but in more recent versions of nc, -p is rejected with -l.
Configuration menu - View commit details
-
Copy full SHA for 28e2b03 - Browse repository at this point
Copy the full SHA 28e2b03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9015963 - Browse repository at this point
Copy the full SHA 9015963View commit details