Skip to content
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

Fewer Unnecessary Uploads with Creatable Transcripts #313

Open
pdarragh opened this issue Oct 19, 2009 · 0 comments
Open

Fewer Unnecessary Uploads with Creatable Transcripts #313

pdarragh opened this issue Oct 19, 2009 · 0 comments

Comments

@pdarragh
Copy link
Contributor

When using fsdiff -C, files are always uploaded, regardless of the change. I'd like to see an option for fsdiff that would make it work more like fsdiff -A; files that need to be uploaded would be prefaced with a + and files that have merely changed attributes (say, modtime) would not. For instance, if we have this transcript:

d ./foo 0755 183575 20
f ./foo/bar 0644 183575 20 1255976903 0 -
f ./foo/baz 0644 183575 20 1255976906 0 -

If I change bar while only touching baz, this is the current output (1.13):

aristotle:~ slauncha$ echo "test" >> ./foo/bar; touch ./foo/baz; fsdiff -C -I ./foo
f ./foo/bar 0644 183575 20 1255977020 5 -
f ./foo/baz 0644 183575 20 1255977020 0 -

Ideally, the output would look like this:

aristotle:~ slauncha$ echo "test" >> ./foo/bar; touch ./foo/baz; fsdiff -C -I ./foo

  • f ./foo/bar 0644 183575 20 1255977020 5 -
    f ./foo/baz 0644 183575 20 1255977020 0 -

Then, lcreate would only upload ./foo/bar, not ./foo/baz.

On the server side, lmerge would simply link the old version of the file with the new transcript. This would save a ton of hard disk space in the case where a version update for a program touches every file in its directory, not just the ones that have changed.

Original comment by: slaunchaman

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

No branches or pull requests

1 participant