-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat: Support storing UnixFS 1.5 Mode and ModTime #10478
Commits on Aug 13, 2024
-
preliminary support for unixfs Mode and ModTime
This commit introduces initial Mode and ModTime support for single filesystem files and webfiles. The ipfs add options --preserve-mode and --preserve-mtime are used to store the original mode and last modified time of the file being added, the options --mode, --mtime and --mtime-nsecs are used to store custom values. A custom value of 0 is a no-op. The preserve flags and custom options are mutually exclusive, if both are provided the custom options take precedence. Majority of of the code was from #7754 written by kstuart Replaces #7753 Closes #6920
Configuration menu - View commit details
-
Copy full SHA for 095c18e - Browse repository at this point
Copy the full SHA 095c18eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f3470 - Browse repository at this point
Copy the full SHA 60f3470View commit details -
Configuration menu - View commit details
-
Copy full SHA for beae0b3 - Browse repository at this point
Copy the full SHA beae0b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 633f28f - Browse repository at this point
Copy the full SHA 633f28fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b8024 - Browse repository at this point
Copy the full SHA 31b8024View commit details -
Configuration menu - View commit details
-
Copy full SHA for b170c90 - Browse repository at this point
Copy the full SHA b170c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0308b - Browse repository at this point
Copy the full SHA 8e0308bView commit details -
fix(rpc): cli error instead of daemon println
probably safer to error here, than printing line - if command was executed over http it might be printed on the server, or break cli tools that expect specific stdout rather than this line
Configuration menu - View commit details
-
Copy full SHA for 4817ac7 - Browse repository at this point
Copy the full SHA 4817ac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0fea76 - Browse repository at this point
Copy the full SHA f0fea76View commit details -
test(ci): enable running t0047-add-mode-mtime.sh
was missing executable flag, so was skipped on ci this should re-enable it
Configuration menu - View commit details
-
Copy full SHA for 0c55944 - Browse repository at this point
Copy the full SHA 0c55944View commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 988597a - Browse repository at this point
Copy the full SHA 988597aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d75eb2 - Browse repository at this point
Copy the full SHA 8d75eb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e10db - Browse repository at this point
Copy the full SHA 97e10dbView commit details -
chore(ci): verbose log of mod tests
this will show us what values are read by 'stat' and compared by 'test' when run on CI (tests fail there, but pass locally, so we need more verbose log to debug this)
Configuration menu - View commit details
-
Copy full SHA for b47e56a - Browse repository at this point
Copy the full SHA b47e56aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60fd454 - Browse repository at this point
Copy the full SHA 60fd454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e8afc0 - Browse repository at this point
Copy the full SHA 2e8afc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0312a99 - Browse repository at this point
Copy the full SHA 0312a99View commit details -
refactor(test): isolate outputs from fixtures
mountdir was used for both in and out, this isolates things to ensure we dont mix inputs with outputs
Configuration menu - View commit details
-
Copy full SHA for 0987496 - Browse repository at this point
Copy the full SHA 0987496View commit details -
turns out some github workers run with umask 002 which changes the default mode of files created with 'touch' https://github.com/orgs/community/discussions/40876 #10478
Configuration menu - View commit details
-
Copy full SHA for 5d23bcb - Browse repository at this point
Copy the full SHA 5d23bcbView commit details
Commits on Aug 16, 2024
-
Made mode and mod time work for items within a directory
Previously it only worked for a single object or top-level directory. This was only for rpc, as used by ipget, as it was already working for normal ipfs get.
Configuration menu - View commit details
-
Copy full SHA for d6c6999 - Browse repository at this point
Copy the full SHA d6c6999View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ac1c81 - Browse repository at this point
Copy the full SHA 7ac1c81View commit details -
Configuration menu - View commit details
-
Copy full SHA for b549434 - Browse repository at this point
Copy the full SHA b549434View commit details -
docs: note raw-leaves impact, mark experimental
just setting expectations
Configuration menu - View commit details
-
Copy full SHA for 577677c - Browse repository at this point
Copy the full SHA 577677cView commit details -
refactor: error in user provided raw-leaves=true
this follows 'no surprises' rule. if user provided --raw-leaves=true explicitly, means they care, and we error to let them correct parameter manually if user added file without raw-leaves flag, but we have cidv1 which implies raw-leaves, we assume user does not mind changing implicit raw-leaves behavior
Configuration menu - View commit details
-
Copy full SHA for 01e6823 - Browse repository at this point
Copy the full SHA 01e6823View commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1c3cc4c - Browse repository at this point
Copy the full SHA 1c3cc4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c6a1c - Browse repository at this point
Copy the full SHA 32c6a1cView commit details -
test: files chmod|touch with cidv1
switching to version with fix from ipfs/boxo#653 (comment) and adding tests
Configuration menu - View commit details
-
Copy full SHA for 55dad60 - Browse repository at this point
Copy the full SHA 55dad60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 826aae1 - Browse repository at this point
Copy the full SHA 826aae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2235051 - Browse repository at this point
Copy the full SHA 2235051View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9043c55 - Browse repository at this point
Copy the full SHA 9043c55View commit details