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

Irrelevant files from the sketch folder are synced to the cloud #1903

Open
3 tasks done
kittaakos opened this issue Feb 22, 2023 · 1 comment
Open
3 tasks done

Irrelevant files from the sketch folder are synced to the cloud #1903

kittaakos opened this issue Feb 22, 2023 · 1 comment
Labels
topic: cloud Related to Arduino Cloud and cloud sketches topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

Describe the problem

When arduino.language.log: true setting is used, IDE2 will generate the log files for the Arduino LS and clangd. All these files are pushed when the user pushes a sketch to the cloud.

To reproduce

  • Create a new cloud sketch,
  • Set arduino.language.log: true,
  • Select a board so that the language server starts,
  • Push to the cloud,
  • Go to https://create.arduino.cc/editor/ and see that the log files are there. Probably they should not.
log-files-pushed.mp4

Expected behavior

Do not sync irrelevant files in the sketch folder.

TODO:

  • figure out what should be synced. Probably what is discovered by the CLI LoadSketch function.

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 22, 2023
@kittaakos

This comment was marked as off-topic.

@kittaakos kittaakos added the topic: cloud Related to Arduino Cloud and cloud sketches label Apr 13, 2023
@per1234 per1234 changed the title IDE2 should not sync all the files to the cloud from the sketch folder Don't sync irrelevant files to the cloud from the sketch folder Sep 26, 2023
@per1234 per1234 changed the title Don't sync irrelevant files to the cloud from the sketch folder Irrelevant files from the sketch folder are synced to the cloud Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cloud Related to Arduino Cloud and cloud sketches topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant