Skip to content

RFC: implement rsync on mpremote? #8272

@peterhinch

Description

@peterhinch

Given the recent improvements to mpremote I thought I'd throw in some user feedback.

I have a project comprising ~112 Python files. These are organised in Python packages with nested subdirectories. Formerly I developed using a modified version of rshell, using rsync and per-project text macros to ensure that the target was always running current code.

With mpremote I mount the project root directory on the PC so there is no issue of synchronisation. Now that paste mode works I can use mpremote for almost everything. As a development tool it is superb :)

Alas rshell remains the quickest way to develop on platforms where the USB link is slow. Synchronising files on the target and running the application can be substantially quicker than running a large application from a mounted PC directory. This is because the amount of USB transfer is typically much reduced.

An rsync command, combined with simple per-project Bash scripts, would provide all the functionality of rshell with macros.

Note that rshell uses timestamps to do synchronisation: it ensures that this works by synchronising the target's clock to the PC's when rshell connects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationstoolsRelates to tools/ directory in source, or other tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy