Commit Graph

660 Commits

Author SHA1 Message Date
Sashko Stubailo
d047be739e Remove unneeded rule 2015-01-29 09:09:48 -08:00
Sashko Stubailo
e2ad1fdbbf Turn off new parens rule 2015-01-28 22:18:10 -08:00
Sashko Stubailo
b6e804f5ef Add eslintignore with everything but tools js files 2015-01-28 22:13:11 -08:00
Sashko Stubailo
5e029ba736 Add ESLint and fix most linter errors in watch.js 2015-01-28 21:47: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
Ben Newman
c16a8e86f6 Bump NODE_VERSION to 0.10.35. 2014-12-29 20:41:57 -05:00
David Glasser
995a57d0c2 Merge branch 'master' into devel
Conflicts:
	tools/safe-pathwatcher.js
2014-12-22 17:48:12 -08:00
David Glasser
8566ff30cd Whoops, forgot to make it a patch 2014-12-22 17:34:30 -08:00
David Glasser
27342dcbe4 fix banners.json 2014-12-22 17:31:03 -08:00
David Glasser
4ece886c36 1.0.2.1 2014-12-22 16:52:44 -08:00
David Glasser
94b58c17bc proposed banners for 1.0.2.1 2014-12-22 15:23:34 -08:00
David Glasser
2c50456cef 1.0.2.1-rc.2 2014-12-22 14:15:04 -08:00
David Glasser
837c5faddf 1.0.2.1-rc.1 2014-12-22 12:33:14 -08:00
David Glasser
5df873a4e0 Don't crash on pathwatcher failures
Instead, increase polling interval for that file/dir to 500ms from 5s.

Fixes #3336.

The most common case where this was occuring is when you're on Linux and
your inotify max_user_watches is too low.  A wiki page will explain how
to increase this.  In debug mode, a message will tell you to go to the
wiki page if you hit the limit (we may later expose this message by
default, but it is part of the new user experience).

Conflicts:
	meteor
	tools/safe-pathwatcher.js
2014-12-22 12:27:55 -08:00
David Glasser
f5f136adc9 Don't crash on pathwatcher failures
Instead, increase polling interval for that file/dir to 500ms from 5s.

Fixes #3336.

The most common case where this was occuring is when you're on Linux and
your inotify max_user_watches is too low.  A wiki page will explain how
to increase this.  In debug mode, a message will tell you to go to the
wiki page if you hit the limit (we may later expose this message by
default, but it is part of the new user experience).
2014-12-22 12:19:59 -08:00
David Glasser
6320acabc4 Merge branch 'master' into devel
Conflicts:
	History.md
	tools/safe-pathwatcher.js
	tools/tests/old.js
	tools/watch.js
2014-12-19 11:42:50 -08:00
David Glasser
8722ac6063 Bump release file for 1.0.2 2014-12-19 10:32:31 -08:00
David Glasser
b76801bf5e less excited 2014-12-19 00:20:02 -08:00
David Glasser
3556010f51 banner update 2014-12-18 17:40:34 -08:00
David Glasser
6256122784 Update mailmap/contributors 2014-12-18 10:44:24 -08:00
David Glasser
4723a310ab 1.0.2-rc.7 2014-12-17 14:41:12 -08:00
David Glasser
7239b4051c 1.0.2-rc.6 2014-12-17 00:22:47 -08:00
Ben Newman
f5dc40765c Package version bumps. 2014-12-15 21:51:25 -05:00
David Glasser
c120069ff6 1.0.2-rc.3 2014-12-12 17:38:27 -08:00
Ben Newman
43037f7c37 Add the promise NPM package to the dev bundle. 2014-12-12 17:40:11 -05:00
David Glasser
e4b32c9dc5 1.0.2-rc.2 2014-12-12 07:53:45 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
0ed8a9b32d bump package versions for a test release 2014-12-10 14:50:11 -08:00
David Glasser
c9345ed4ea Delete straggling submodule objects 2014-12-09 14:04:42 -08:00
Emily Stark
71652f9b9f Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	docs/client/full-api/concepts.html
	docs/client/full-api/tableOfContents.js
	examples/localmarket/.meteor/packages
	packages/ddp/package.js
	packages/meteor-tool/package.js
	packages/mongo/package.js
	scripts/admin/manifest.json
2014-12-09 13:15:29 -08:00
Emily Stark
a9b013d22e Merge branch 'release-1.0.1' 2014-12-09 13:01:53 -08:00
Emily Stark
6211e17150 update manifest 2014-12-09 12:43:54 -08:00
Emily Stark
38cde607f5 tweak banner 2014-12-09 12:41:51 -08:00
ekatek
a79e69130f Merge pull request #3232 from meteor/word-wrap-final
Automatically line-wrap output
2014-12-09 12:23:30 -08:00
Emily Stark
cbae209f78 add link to www in banner 2014-12-08 10:23:23 -08:00
Emily Stark
9fd826f436 update release file for 1.0.1 2014-12-08 09:13:35 -08:00
Emily Stark
9bacc49a46 Update History and banners 2014-12-08 08:51:31 -08:00
Sashko Stubailo
6493d6ae15 Search-as-you-type for docs.meteor.com
Conflicts:
	docs/client/data.js
2014-12-05 13:16:57 -08:00
Sashko Stubailo
ecd0bdbe6d Search-as-you-type for docs.meteor.com
Conflicts:
	docs/client/data.js
2014-12-05 12:22:09 -08:00