Commit Graph

694 Commits

Author SHA1 Message Date
Sashko Stubailo
02c0b8b0d4 Bump release version 2015-01-20 22:34:15 -08:00
Slava Kim
860bbb365b Bump release version 2015-01-20 22:34:14 -08:00
Slava Kim
3403c08de3 Rewrite the windowsy part of the script
"publish on all platforms at once" script
2015-01-20 22:34:13 -08:00
Slava Kim
f774ce8c74 Refactor parse_keys into a separate routine 2015-01-20 22:34:13 -08:00
Sashko Stubailo
b7fa778ac1 Bump tarball version for installer 2015-01-20 22:34:13 -08:00
Sashko Stubailo
4e5850cc87 Bump versions 2015-01-20 22:34:13 -08:00
Sashko Stubailo
e074fc3fe1 Revert "Add portfinder to find an available port for shell"
This reverts commit 20f0413d5d.
2015-01-20 22:34:12 -08:00
Slava Kim
8174951fdb wip windows part of the publish all script 2015-01-20 22:08:16 -08:00
Sashko Stubailo
979f05b244 Make windows dev bundle not use npm i --prod 2015-01-20 22:08:16 -08:00
Sashko Stubailo
2a958c6dcb Add portfinder to find an available port for shell 2015-01-20 22:08:16 -08:00
Slava Kim
369f2faf49 Check if current dev_bundle matches the dev_bundle required on Windows 2015-01-20 22:08:15 -08:00
Sashko Stubailo
d8b03cbfe4 Un-flatten node-gyp for npm 2015-01-20 22:08:15 -08:00
Sashko Stubailo
0ef8b245d1 Flatten bin folder in dev bundle 2015-01-20 22:08:15 -08:00
Sashko Stubailo
977e3171fd Fix Future import 2015-01-20 22:08:15 -08:00
Sashko Stubailo
15295f9033 Remove extra console.logs 2015-01-20 22:08:15 -08:00
Sashko Stubailo
a4084a9599 Bump version of release and tool 2015-01-20 22:08:14 -08:00
Sashko Stubailo
bb21c1750f Fix path lengths and some symlink issues 2015-01-20 22:08:14 -08:00
Slava Kim
6a734db97b Wip script automating release publishing 2015-01-20 22:07:35 -08:00
Sashko Stubailo
1ba0e1b267 Return a fake newest release 2015-01-20 22:07:35 -08:00
Slava Kim
3ca6ea08dd Automatically download the dev bundle if such is not present on Windows 2015-01-20 22:06:58 -08:00
Slava Kim
af50216007 Add a trap 2015-01-20 22:06:58 -08:00
Slava Kim
ef60dbaccd Dedupe and flatten node_modules 2015-01-20 22:06:58 -08:00
Slava Kim
7253c8ee9c increase the number of expected tarballs in "copy from jenkins" script 2015-01-20 22:06:58 -08:00
Slava Kim
ed5f19253f Actually make generate-devbundle.ps1 work
Extra dependency on 7zip though
2015-01-20 22:06:58 -08:00
Slava Kim
c85a0e9a5a More on deleting folders 2015-01-20 22:06:58 -08:00
Slava Kim
555a3e5dd3 Zip up the dev bundle 2015-01-20 22:06:58 -08:00
Slava Kim
f08b616d20 Parse the dev_bundle version correctly 2015-01-20 22:06:58 -08:00
Slava Kim
c7675a0da3 Corrections to Windows-specific removals 2015-01-20 22:06:58 -08:00
Slava Kim
c242524c2a Corrections 2015-01-20 22:06:58 -08:00
Slava Kim
f98c162dd1 Use short folder names and npm install --production 2015-01-20 22:06:58 -08:00
Slava Kim
3e2866c7ff Powershell piping is unicode by default
npm needs ascii
2015-01-20 22:06:58 -08:00
Slava Kim
0eea25ee56 Edits to script 2015-01-20 22:06:57 -08:00
Slava Kim
508961f55b Fix typo (missing slash) 2015-01-20 22:06:57 -08:00
Slava Kim
04135ffa41 Add a draft of a PS1 devbundle script 2015-01-20 22:06:57 -08:00
Slava Kim
83dd44bdd6 exclude some npm modules from windows version of dev bundle 2015-01-20 22:06:57 -08:00
Slava Kim
a71bff8875 Latest version of the installer 2015-01-20 22:03:23 -08:00
Sashko Stubailo
76d49f28d2 Send correct kill signal 2015-01-20 22:03:22 -08:00
Sashko Stubailo
149121f07f Add installer heavily based on Stephan Darnell's 2015-01-20 22:03:22 -08:00
ekatek
38e0e344c4 prepare for 1.0.3.1
- increment the release number in banners.json
- increment version number for meteor-tool
- increment release number in the release configuration
2015-01-20 13:50:34 -08:00
ekatek
99124d881a increment package versions 2015-01-20 10:25:22 -08:00
ekatek
87a9c59c64 fix History.md and banners.json 2015-01-20 10:13:36 -08:00
ekatek
3a3ba62736 set the banner 2015-01-20 09:53:29 -08:00
ekatek
fbfd5c4664 increment version numbers 2015-01-15 10:50:09 -08:00
ekatek
60883bc4d8 release script and bump tool version 2015-01-13 19:20:33 -08:00
ekatek
0f6c31cab7 upload README.md files to the server and view the excerpt in meteor show
This commit is based on the following design document:
https://mdg.hackpad.com/Creating-and-Updating-Docs-0ZyyDcSZDxp,
and some other stuff from here: https://mdg.hackpad.com/Meteor-Long-Description-wGZ1vIOwVlF
and was code reviewed here: https://github.com/meteor/meteor/pull/3375

It does the following:

- Allow the user to specify package documentation in Package.Describe.
  We will take the README.md file by default, to make the transition easier.
  Users can specify ‘documentation: null’ to not submit a README.md

- From that documentation, extract the section between the first and second header
  to use as the long form description for the package.

- Upload the documentation to the server at publish-time. Allow metadata changes with ‘publish —update’.

- Change the default package skeleton to include the README.md file.
  Also, changes the skeleton to have fewer useless placeholders in Package.describe values.

- Fix a minor bug where Git did not show up when running ‘meteor show’ on local packages.

A note on ‘documentation: null’ and blank documentation — we don’t let maintainers upload
blank README.md files, because we want to encourage people to fill them out. (Instead,
we allow a ‘documentation: null’ as an override) This is a UX issue! It is not a technical thing.

There is more discussion and code review in: https://github.com/meteor/meteor/pull/3375
2015-01-13 13:53:21 -08:00
ekatek
12d030dd53 completely rewrite of ‘meteor show’; some changes to ‘meteor search’.
The ‘show’ command has been completely rewritten. It has different output
and now does the following:

- Interacts with local package versions. Checks in the local package catalog, and
  returns the local versions along with the server versions. When ‘meteor show’ is
  run with a specific version request (‘meteor show foo@<version>’), default to
  showing the local package version (but show a message that a server version is
  available). Running ‘meteor show foo@local’ will always show the local version
  (useful for version-less local packages).

- Simplify the interface. Instead of various ‘show-*’ flags, we only have one: show-all.
  By default, we only show the top 5 official (non-prerelease) unmigrated versions of a
  package (+ local version, if applicable). This can be overridden with ‘show-all’, and we
  let the user know that more versions are available. For releases, ‘show-all’ will show
  non-recommended releases.

- Display publication time for non-local package versions. This makes it easier to run
  ‘meteor show <name>’ and see if <name> is actively maintained. For local packages,
  we display the root directory (useful for large apps or running with the
  LOCAL_PACKAGE_DIRS variable, for example).

- For non-local package versions, show if the version is ‘installed’ (downloaded into the
  warehouse). This involved minor changes to tropohouse.js. The idea is that this should
  give a pretty good clue whether the version can be added offline.

- Show version dependencies. This should help the user understand, track down and
  debug constraint solver failures.

- Do not show version architectures except in —ejson mode.

- Allow an ‘—ejson’ flag to get the output in EJSON format. That should make scripting
  easier. (As a bonus, for release versions, the EJSON output acts as a nice template
  for the release configuration file.)

The search command now does the following:

- Interacts with local package versions. Specifically, local versions override equivalent
  server versions. Also, ‘search’ works on local packages (so, for example,
  ‘meteor search troposphere’ inside the package server app will give you the troposphere
  package).

- Allows an ‘—ejson’ flag to get the outout in EJSON format.

Minor changes to some minor testing infrastructure:

 - A new skeleton package, package-for-show. Its versions contain different
   values for various metadata, so we can test that metadata comes from
   the right version.

 - In several places, replace the pattern of copying around
   package.js files with using the replace function on a placeholder
   string. (Mostly, as applied to package versions).

This is based on these hackpads: https://mdg.hackpad.com/Showing-Package-Metadata-HdGo3Lzx3hR
and https://mdg.hackpad.com/Meteor-Search-Output-1xxEzrAK9YU.
2015-01-13 13:53:20 -08:00
Ben Newman
8e0bbec6f7 Simplify gzip/tar dance in generate-dev-bundle.sh.
Summary:
I recently learned that `curl <url> | tar zx` works just as well as
`curl <url> | gzip -d | tar x`.

I'm also hoping to test out the new Phabricator.

Test Plan: Regenerating the dev bundle on Jenkins.

Reviewers: glasser

Reviewed By: glasser

Differential Revision: https://phabricator.meteor.io/D7
2015-01-13 14:23:08 -05:00
Ben Newman
0514be4689 Revert back to Node v0.10.33 to fix regression in meteor debug.
Inspecting local variables in node-inspector is impossible in v0.10.35 due
to a known issue in Node: https://github.com/joyent/node/issues/8948
2015-01-02 00:21:37 -05:00
Ben Newman
e6499b2304 Remove unused 'promise' NPM package.
Bumping the dev bundle version to 0.3.81 because .79 and .81 have already
been built and copied to S3, but not merged into devel.
2014-12-29 20:41:57 -05:00
Ben Newman
e93f8bbc2a Update generate-dev-bundle.sh to use prebuilt Node v0.10.35. 2014-12-29 20:41:57 -05:00