- 22 Mar, 2018 1 commit
-
-
Greg Spencer authored
-
- 20 Mar, 2018 1 commit
-
-
Greg Spencer authored
-
- 14 Mar, 2018 2 commits
-
-
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
-
Alexandre Ardhuin authored
-
- 10 Mar, 2018 1 commit
-
-
Greg Spencer authored
This fixes the error handling for the packaging script so that it will properly report a failure exit code when it can't find the executable that it's looking for. Added a test too.
-
- 27 Feb, 2018 1 commit
-
-
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.
-
- 22 Feb, 2018 1 commit
-
-
Greg Spencer authored
-
- 09 Feb, 2018 1 commit
-
-
Greg Spencer authored
When uploading, gsutil is guessing wrong about our desired MIME types. This makes it explicit.
-
- 07 Feb, 2018 2 commits
-
-
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.
-
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.
-
- 06 Feb, 2018 1 commit
-
-
Greg Spencer authored
This changes the publishing of archives so that it happens on the chrome_infra bots when they build a packaged branch instead of as part of the dev_roll process. It uses the tagged version in the branch, and leaves the git repo that it clones checked out on the branch and hash used to build the package. It updates metadata located at gs://flutter_infra/releases/releases_.json (where is one of macos, linux, or windows) once published, since it would be complex to do the proper locking to keep them all in one shared .json file safely. A separate [change to the chrome_infra bots](https://chromium-review.googlesource.com/c/chromium/tools/build/+/902823) was made to instruct them to build packaged for the dev, beta, and release branches (but not master anymore).
-
- 10 Jan, 2018 3 commits
-
-
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
-
Greg Spencer authored
* Revert "Fixed output validation. (#14005)" This reverts commit d84398db. * Revert "Update package prep script to do async process execution and emit output as it happens. (#13918)" This reverts commit b7169c1d.
-
Greg Spencer authored
- Switches to async process execution, which now shows output as it happens instead of in chunks when the process completes - Now uses ProcessManager so that it may be mocked for the test. - Adds in the download and install of mingit on Windows. - Updated package dependencies because of added dependency on process package.
-
- 21 Dec, 2017 1 commit
-
-
Greg Spencer authored
This reverts commit 765191e7. because the updated packages cause a gradle build problem.
-
- 20 Dec, 2017 1 commit
-
-
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.
-
- 18 Dec, 2017 1 commit
-
-
Greg Spencer authored
A modern version of 7Zip (7za.exe) is now installed on the bots, this makes use of that.
-
- 16 Dec, 2017 1 commit
-
-
Greg Spencer authored
XZ is about 50MB smaller, and it works on both Mac and Linux.
-
- 15 Dec, 2017 1 commit
-
-
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.
-