1. 05 Dec, 2019 1 commit
  2. 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
  3. 28 Aug, 2019 1 commit
  4. 02 Jul, 2019 1 commit
  5. 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
  6. 26 Feb, 2019 1 commit
  7. 26 Jan, 2019 1 commit
  8. 11 Jan, 2019 1 commit
  9. 30 Oct, 2018 1 commit
  10. 12 Sep, 2018 1 commit
  11. 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
  12. 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
  13. 02 Aug, 2018 1 commit
  14. 27 Jul, 2018 1 commit
  15. 23 Jul, 2018 1 commit
  16. 16 Jul, 2018 2 commits
  17. 21 Jun, 2018 1 commit
  18. 20 Jun, 2018 1 commit
  19. 19 Jun, 2018 1 commit
  20. 22 Mar, 2018 1 commit
  21. 20 Mar, 2018 1 commit
  22. 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
  23. 10 Mar, 2018 1 commit
  24. 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
  25. 22 Feb, 2018 1 commit
  26. 09 Feb, 2018 1 commit
  27. 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
  28. 06 Feb, 2018 1 commit
  29. 10 Jan, 2018 3 commits
  30. 21 Dec, 2017 1 commit
  31. 20 Dec, 2017 1 commit
    • Greg Spencer's avatar
      Adding minzip to packaging steps for Windows (#13679) · 765191e7
      Greg Spencer authored
      This adds our self-compiled copy of the MinGit executable (built from the flutter/git repo) to the archive when building an archive for Windows.
      
      I also tweaked the internal API for prepare_package.dart so that there's a single entry point to build an archive.
      765191e7
  32. 18 Dec, 2017 1 commit
  33. 16 Dec, 2017 1 commit
  34. 15 Dec, 2017 1 commit
    • Greg Spencer's avatar
      Add a Dart script to prepare the flutter repo for packaging. (#13548) · f00c9023
      Greg Spencer authored
      This is the first step in a two-step process of moving the package preparation step from a recipe in chrome_infra to a dart script in the flutter repo. This will make it easier to make changes to the process. The second step is to change the infra recipe to call this script.
      
      In addition, I added a step to the packaging process to run flutter create for each type of template so that any pub dependencies of the templates get added to the cache that gets packaged (and thus users can run flutter create --offline and have it work).
      
      Note that the actual packaging into a "tar" or "zip" file now happens here, so a developer could actually run this script on their machine to create a package.
      f00c9023