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

Don't forbid unknown files in a library #1692

Merged
merged 1 commit into from
Nov 20, 2013

Conversation

matthijskooijman
Copy link
Collaborator

The current code forbids any files it does not know about, but this is
bad because:

  • It breaks forward compatibility if we later add more files or
    directories to the library format.
  • It breaks for people who want to have some extra stuff in their
    library (say, .gitignore or a README file). We can't keep a list of
    "allowed" stuff, since there will always be stuff missing.

This commit removes that code and just allows all files again.

The current code forbids any files it does not know about, but this is
bad because:
 - It breaks forward compatibility if we later add more files or
   directories to the library format.
 - It breaks for people who want to have some extra stuff in their
   library (say, .gitignore or a README file). We can't keep a list of
   "allowed" stuff, since there will always be stuff missing.

This commit removes that code and just allows all files again.
@jantje
Copy link

jantje commented Nov 19, 2013

+1

@cmaglie cmaglie merged commit a4a6601 into arduino:ide-1.5.x Nov 20, 2013
@matthijskooijman matthijskooijman deleted the ide-1.5.x-no-forbid branch November 20, 2013 16:05
mfalkvidd added a commit to mfalkvidd/arduino-builder that referenced this pull request Dec 18, 2016
Warning about unknown folders was considered bad in
arduino/Arduino#1692
but the problem is still present in arduino-builder.

This has caused issues like
arduino#70 (comment)
which resulted in
arduino#162

The original arguments in Arduino/pull/1692 still apply:
* It breaks forward compatibility if we later add more files or
  directories to the library format.
* It breaks for people who want to have some extra stuff in their
  library (say, .gitignore or a README file). We can't keep a list of
  "allowed" stuff, since there will always be stuff missing.
mfalkvidd added a commit to mfalkvidd/arduino-builder that referenced this pull request Dec 18, 2016
Warning about unknown folders was considered bad in
arduino/Arduino#1692
but the problem is still present in arduino-builder.

This has caused issues like
arduino#70 (comment)
which resulted in
arduino#162

The original arguments in Arduino/pull/1692 still apply:
* It breaks forward compatibility if we later add more files or
  directories to the library format.
* It breaks for people who want to have some extra stuff in their
  library (say, .gitignore or a README file). We can't keep a list of
  "allowed" stuff, since there will always be stuff missing.

Signed-off-by: Mikael Falkvidd git@mjo.se <git@mjo.se>
mfalkvidd added a commit to mfalkvidd/arduino-builder that referenced this pull request Dec 18, 2016
Warning about unknown folders was considered bad in
arduino/Arduino#1692
but the problem is still present in arduino-builder.

This has caused issues like
arduino#70 (comment)
which resulted in
arduino#162

The original arguments in Arduino/pull/1692 still apply:
* It breaks forward compatibility if we later add more files or
  directories to the library format.
* It breaks for people who want to have some extra stuff in their
  library (say, .gitignore or a README file). We can't keep a list of
  "allowed" stuff, since there will always be stuff missing.

Signed-off-by: Mikael Falkvidd git@mjo.se <git@mjo.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants