1. 13 Aug, 2020 1 commit
    • Greg Spencer's avatar
      Revert: Update prepare_package.dart to use the process_runner package instead... · 21f40962
      Greg Spencer authored
      Revert: Update prepare_package.dart to use the process_runner package instead having duplicate code. #62710 (#63608)
      
      This reverts #62710, since it has a noSuchMethodError in some circumstances.
      
      This isn't just a straight git revert, because I had to resolve the conflicts in the reverted pubspec.yaml files and re-run flutter update-packages --force-upgrade to make the checksums match.
      21f40962
  2. 11 Aug, 2020 1 commit
  3. 28 May, 2020 1 commit
  4. 20 Feb, 2020 1 commit
  5. 27 Jan, 2020 1 commit
  6. 17 Jan, 2020 1 commit
  7. 16 Jan, 2020 1 commit
  8. 07 Jan, 2020 1 commit
  9. 05 Dec, 2019 1 commit
  10. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  11. 28 Aug, 2019 1 commit
  12. 02 Jul, 2019 1 commit
  13. 01 Mar, 2019 1 commit
    • Greg Spencer's avatar
      Be more strict about finding version number attached to a revision. (#28527) · 7ab3bc71
      Greg Spencer authored
      When we package Flutter, we used to find the "current" tag (which is the version number) by starting at the revision we are building on and looking backwards in time to find the most recent tag. This causes problems on release builds when we failed to tag properly.
      
      This PR makes the packaging script be more strict by requiring the given revision to itself have a tag, but only when we're publishing the result. When we're not publishing the result, it's more lenient, since otherwise we couldn't test packaging on non-release commits.
      
      I also renamed ProcessRunnerException to PreparePackageException, since we were using that exception more generally than just for processes.
      7ab3bc71
  14. 26 Feb, 2019 1 commit
  15. 26 Jan, 2019 1 commit
  16. 11 Jan, 2019 1 commit
  17. 30 Oct, 2018 1 commit
  18. 12 Sep, 2018 1 commit
  19. 17 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Clean up usage of temporary directories (#20682) · 3dec6a69
      Ian Hickson authored
      All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
      
      I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
      
      While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
      
      Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
      3dec6a69
  20. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a
  21. 02 Aug, 2018 1 commit
  22. 27 Jul, 2018 1 commit
  23. 23 Jul, 2018 1 commit
  24. 16 Jul, 2018 2 commits
  25. 21 Jun, 2018 1 commit
  26. 20 Jun, 2018 1 commit
  27. 19 Jun, 2018 1 commit
  28. 22 Mar, 2018 1 commit
  29. 20 Mar, 2018 1 commit
  30. 14 Mar, 2018 2 commits
    • Greg Spencer's avatar
      Fix the remote setup to only change the URL. (#15528) · c345c1bb
      Greg Spencer authored
      This changes the packaging tool to only set the remote URL instead of recreating the remote.
      
      Recreating it was removing some metadata that identified the repo as having been cloned from the "real" repo, so flutter --version would report an unknown channel and source. This just sets the URL so that it looks like it came from GitHub.
      
      I also fixed some incorrect comments, and made unzip work on platforms other than Windows (even though we don't really need it there yet).
      
      Fixes #15518
      c345c1bb
    • Alexandre Ardhuin's avatar
      7667db63
  31. 10 Mar, 2018 1 commit
  32. 27 Feb, 2018 1 commit
    • Greg Spencer's avatar
      Switch Mac packaging to use .zip files. (#14894) · 29d59e3c
      Greg Spencer authored
      We can't use .tar.xz on Mac because although it can unpack them on the command line (with tar), the "Archive Utility" that runs when you double-click on them just does some crazy behavior (it
      converts it to a compressed cpio archive, and when you double-click on that, it converts it back to .tar.xz, without ever unpacking it!)
      
      So, this changes the script to use .zip for Mac, and the files are about 220MB larger than they need to be. 
      29d59e3c
  33. 22 Feb, 2018 1 commit
  34. 09 Feb, 2018 1 commit
  35. 07 Feb, 2018 2 commits
    • Greg Spencer's avatar
      Fix the build by removing offending test. (#14530) · 88e0d33c
      Greg Spencer authored
      I wanted to run a "real command" as part of the test, but in the interest of fixing the build, I'm just removing the test.
      88e0d33c
    • Greg Spencer's avatar
      Fix process running during package creation (#14508) · df791279
      Greg Spencer authored
      There were some problems I introduced with the last PR for this. It passed the test, but failed in practice.
      
      This adds tests for those failure cases, adds a "--help" and fixes the test so that it doesn't try and actually download MinGit as part of the Windows test.
      
      I added package:platform as a dependency, so I did a force upgrade on the packages.
      
      Also, re-enabling 'create package' in the cache warming code, now that #14448 is fixed.
      df791279
  36. 06 Feb, 2018 1 commit
  37. 10 Jan, 2018 1 commit
    • Michael Goderbauer's avatar
      Reland #13918 (#14023) · 9e51a602
      Michael Goderbauer authored
      * Revert "Reverting package changes until I can figure out how to fix Windows. (#14007)"
      
      This reverts commit 6fda8ee8.
      
      * Make prepare_package run on Windows
      9e51a602