This is an archive of the discontinued LLVM Phabricator instance.

Add sync-source.py utility to support efficient multi-platform lldb development.
ClosedPublic

Authored by tfiala on Sep 17 2015, 9:11 AM.

Details

Summary

The sync-source.py utility transfers groups of files between
computers. The primary use case is to enable developing LLVM project
software on one machine, transfer it efficiently to other machines ---
possibly of other architectures --- and test it there. sync-source.py
supports configurable, named source-to-destination mappings and has a
transfer agent plug-in architecture. The current distribution provides
an rsync-over-ssh transfer agent.

The primary benefits of using sync-source.py are:

  • Provides a simple, reliable way to get a mirror copy of primary- machine files onto several different destinations without concern of compromising the patch during testing on different machines.
  • Handles directory-mapping differences between two machines. For LLDB, this is helpful when going between OS X and any other non-OS X target system.

See README.txt for the full details.

Diff Detail

Event Timeline

tfiala updated this revision to Diff 35008.Sep 17 2015, 9:11 AM
tfiala retitled this revision from to Add sync-source.py utility to support efficient multi-platform lldb development..
tfiala updated this object.
tfiala added reviewers: clayborg, emaste, spyffe.
tfiala added a subscriber: lldb-commits.
clayborg accepted this revision.Sep 17 2015, 9:47 AM
clayborg edited edge metadata.
This revision is now accepted and ready to land.Sep 17 2015, 9:47 AM
tfiala closed this revision.Sep 17 2015, 10:16 AM

Committed here:

Adding         utils/sync-source
Adding         utils/sync-source/README.txt
Adding         utils/sync-source/lib
Adding         utils/sync-source/lib/transfer
Adding         utils/sync-source/lib/transfer/protocol.py
Adding         utils/sync-source/lib/transfer/rsync.py
Adding         utils/sync-source/lib/transfer/transfer_spec.py
Adding         utils/sync-source/pylintrc
Adding         utils/sync-source/sync-source.py
Transmitting file data ......
Committed revision 247903.

@emaste and others, feel free to give me feedback and I'll happy to consider.