Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Send file will send all project files #11

Open
iBobik opened this issue Nov 16, 2018 · 4 comments
Open

Send file will send all project files #11

iBobik opened this issue Nov 16, 2018 · 4 comments

Comments

@iBobik
Copy link

iBobik commented Nov 16, 2018

Run task should "Send current script to device…" but in Output I see it first deletes all files and then uploads them all. No matter if they changed or shoudl be ignored (by .micropythonrc file).

Checking current script...
Preparing file /Users/Bobik/Applications/esp-rfid.py/main.py...
Checking `ampy` tool...
Checking `rshell` tool...
Reading settings from config file (.micropythonrc)...
Checking config file...
Checking `ampy` path config...
Checking `rshell` path config...
Checking upload port config...
Connect device from port /dev/tty.usbserial...
Reading baud rate config...
Using baud rate: 115200
Using port: /dev/tty.usbserial
Stopping running script if available...
Removing .DS_Store...
Removing boot.py...
Removing lib...
Removing main.py...
Removing micropython-pn532...
Removing networks.json...
Searching for ignored files and directories...
Checking directory /Users/Bobik/Applications/esp-rfid.py/.vscode
Checking directory /Users/Bobik/Applications/esp-rfid.py/lib
Checking directory /Users/Bobik/Applications/esp-rfid.py/micropython-pn532
Sending /.DS_Store...
Sending /.vscode/settings.json...
Sending /boot.py...
Creating directory /lib...
Sending /lib/wiegand.py...
Sending /lib/wifi_manager.py...
Sending /main.py...
Creating directory /micropython-pn532...
Sending /micropython-pn532/constants.py...
Sending /micropython-pn532/i2c.py...
Sending /networks.json...
Reseting state...
Task done with 81797 milliseconds.

It is useful to have feature for sending only one file and feature to sync all of them. But it will be nice if it can sync only files changed from last sync.

@aleeraser
Copy link

aleeraser commented Jan 9, 2019

I have the same issue. The extension always send the entire .git folder despite it being ignore in .micropythonrc. It also delete any other file. It's kind of unusable.

@iBobik
Copy link
Author

iBobik commented Jan 9, 2019

It could be fixed by #5, but @dphans have to make a release to a VSCode store.

@jobe451
Copy link

jobe451 commented Apr 27, 2020

I still have the same issue. .git is sent

@iBobik
Copy link
Author

iBobik commented Apr 27, 2020 via email

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

No branches or pull requests

3 participants