objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

dart pub publish gitignore parsing is broken in Flutter 2.5.0

Open greenrobot-team opened this issue 4 years ago • 3 comments

Publish with last stable Flutter+Dart (2.2.3 and 2.13.4) to correctly exclude all ignored files.

Wait with upgrading until

  • https://github.com/dart-lang/pub/pull/3126
  • https://github.com/dart-lang/pub/pull/3169

are included in https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel

greenrobot-team avatar Nov 08 '21 13:11 greenrobot-team

Flutter 2.8.1 appears to look good using dart pub publish --dry-run.

greenrobot-team avatar Jan 10 '22 15:01 greenrobot-team

Still broken in Flutter 2.10.2 with Dart 2.16.1. Rules that only apply to the current directory are ignored.

E.g. for the Flutter example in objectbox/example/flutter/objectbox_demo/android/.gitignore:

/local.properties

For now changed rules to not use / at the beginning.

greenrobot-team avatar Feb 21 '22 12:02 greenrobot-team

Above issue still exists with Flutter 2.10.5.

greenrobot-team avatar May 11 '22 08:05 greenrobot-team

Gave up on checking this, as said modified .gitignore files to work with it.

greenrobot-team avatar May 09 '23 06:05 greenrobot-team